silvrgit/views/pages/pug.ejs
2017-09-05 11:36:24 +01:00

33 lines
901 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" href="pug.css">
</head>
<body>
<h2>Pug Tester</h2>
<div style="float:left;margin-right:20px">
<h3>Template String</h3>
<textarea id="input"></textarea>
<div id="pugError" class="error"></div>
</div>
<div style="float:left">
<h3>JSON Data for Template</h3>
<textarea id="data"></textarea>
<div id="jsonError" class="error"></div>
</div>
<div id="result"></div>
<script src="https://pugjs.org/js/pug.js"></script>
<script src="pug-app.js"></script>
</body>
</html>