-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathremake.html
More file actions
34 lines (32 loc) · 1.3 KB
/
Copy pathremake.html
File metadata and controls
34 lines (32 loc) · 1.3 KB
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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>ScratchPad - Serverless Remake Backend</title>
<link rel='stylesheet' href='https://remake-web-assets.s3.amazonaws.com/remake-client-side-demo.v1.css?v=4'>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<div object>
<h1>Todos</h1>
<ul array key="todos" sortable>
{{#for todo in todos}}
<li object key:text="@innerText" edit:text>
{{default todo.text "New todo"}}
</li>
{{/for}}
</ul>
<button new:todo>Add todo</button>
</div>
<!-- partial -->
<script src='https://cdn.jsdelivr.net/npm/handlebars@4.7.6/dist/handlebars.min.js'></script>
<script src='https://cdn.jsdelivr.net/gh/remake/remake-framework@2.6.0/_remake/dist/remake/js/remake.min.js?v=1'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/crostini@1.1.0/dist/crostini.umd.js'></script>
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js" integrity="sha256-qXBd/EfAdjOA2FGrGAG+b3YBn2tn5A6bhz+LSgYD96k=" crossorigin="anonymous"></script>
<script src='./remake-client-side-demo.v1.js'></script>
<script src="./scratchpad.js"></script>
<script src="./script.js"></script>
</body>
</html>