-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (55 loc) · 1.59 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<meta>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="http://cdn.ractivejs.org/latest/ractive.min.js"></script>
<script src="js/demo.js"></script>
<link href="css/ractive.css" rel="stylesheet" type="text/css">
<title>Ractive with PureScript - Tut. I</title>
<style></style>
</head>
<body>
<script id="ractive-nav-template" type="text/ractive">
<ul>
{{#tutorials}}
<li>
<div on-click='loadtutorial'>
<p>{{name}}</p>
</div>
</li>
{{/tutorials}}
</ul>
</script>
<script id="ractive-template" type="text/ractive">
<div class="row">
<div class="well with-label output hidden" id="output">
<span class="glyphicon glyphicon-remove-sign" id="output-btn-close"></span>
{{#showOutput}}
{{>outputP}}
{{/showOutput}}
</div>
<div class="with-label execute col-md-offset-2 col-md-10">
<div class="well">
{{>contentP}}
</div>
</div>
</div>
</script>
<div class="container">
<div class="page-header">
<h1 class="title">purescript-ractive<small>a gentle and small tutorial</small></h1>
</div>
<nav id="ractive-nav">
</nav>
</div>
<div class="ractive-example" id="ractive-element">
<h2>This should be removed!</h2>
</div>
<script>
$(function() { PS.Tutorial_Ractive_Demo.main(); });
</script>
</body>
</html>