-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmath-games.html
47 lines (41 loc) · 1.09 KB
/
math-games.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
<head>
<title>Number list</title>
</head>
<body>
<div class="container">
<header>
<h1>Ciao da LAU! Questa app è fichissima ({{incompleteCount}})</h1>
<label class="hide-completed">
<input type="checkbox" checked="{{hideCompleted}}" />
Hide Completed Numbers
</label>
{{> loginButtons}}
{{#if currentUser}}
<form class="new-number">
<input type="number" name="number" placeholder="Type to add new number" />
</form>
{{/if}}
</header>
<ul>
{{#each numbers}}
{{> number}}
{{/each}}
</ul>
</div>
</body>
<template name="number">
<li class="{{#if checked}}checked{{/if}} {{#if private}}private{{/if}}">
<button class="delete">×</button>
<input type="checkbox" checked="{{checked}}" class="toggle-checked" />
{{#if isOwner}}
<button class="toggle-private">
{{#if private}}
Private
{{else}}
Public
{{/if}}
</button>
{{/if}}
<span class="number"><strong>{{username}}</strong> - {{number}}</span>
</li>
</template>