-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuperList.html
62 lines (62 loc) · 2.82 KB
/
superList.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
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<title>superList</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/normalize.css/normalize.css">
<link rel="stylesheet" href="node_modules/jquery-datetimepicker/jquery.datetimepicker.css">
<link href="css/base.css" rel="stylesheet">
</head>
<body>
<div class="msg">
<div class="msg-content"></div>
<button type="button">知道了</button>
</div>
<div class="container"><!-- the whole container -->
<h1>SuperList</h1>
<form class="add-task">
<input name="content" type="text" placeholder="eg.下午两点开会" autofocus>
<button type="submit">submit</button>
</form>
<div class="tasks-list"><!-- tasks list start -->
</div><!-- tasks list end -->
<div class="task-detail"><!-- task detail start -->
</div>
</div><!-- the whole container end -->
<div class="task-detail-mask"></div>
<script type="text/html" id="taskItem">
<div class="task-item" data-index="<%= index %>">
<span><input class="complete" <%= complete?'checked':'' %> type="checkbox"></span>
<span class="task-content"><%= content %></span>
<span class="task-action-wrapper">
<span class="task-action delete"> delete</span>
<span class="task-action detail"> detail</span>
</span>
</div>
</script>
<script type="text/html" id="taskDetail">
<form>
<div class="content"><%= content %></div>
<input type="text" style="display:none;" name="content" value="<%= content %>">
<div class="desc">
<textarea name="desc"><%= detail %></textarea>
</div>
<div class="remind"><!-- remind the time -->
<label>提醒时间</label>
<input type="text" class="datetime" name="remind_date" value="<%= time %>">
</div><!-- remind the time end -->
<div>
<button class="reset">clear</button>
<button type="submit">update</button>
</div>
</form>
</script>
<video class="alerter" src="alert.mp3"></video>
<script src="node_modules/ejs/ejs.min.js"></script>
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script>
<script src="node_modules/store/store.js"></script>
<script src="js/base.js"></script>
</body>
</html>