-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (90 loc) · 4.16 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<title>Good Todo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" >
<link rel="stylesheet" type="text/css" href="css/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="css/datetimepicker.css">
<link rel="stylesheet" type="text/css" href="css/calendar.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- plugin -->
<script type="text/javascript" src="js/plugin/jquery.js"></script>
<script type="text/javascript" src="js/plugin/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="js/plugin/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/plugin/moment.min.js"></script>
<script type="text/javascript" src="js/plugin/datetimepicker.js"></script>
<script type="text/javascript" src="js/plugin/basiccalendar.js"></script>
<!-- /plugin -->
<script type="text/javascript" src="js/account.js"></script>
<script type="text/javascript" src="js/events.js"></script>
<script type="text/javascript" src="js/time.js"></script>
<script type="text/javascript" src="js/base.js"></script>
</head>
<body onload = "loadPage()">
<!-- =============== header ======================== -->
<header id="header">
<button type="button" id="menu-btn" class="btn"> memu </button>
<button type="button" id="add-event-btn" class="btn"> add event </button>
<span class="title"> Good Todo List </span>
<button type="button" id="login-btn" class="btn" data-toggle="modal" data-target="#login-modal">
sign in
</button>
<button type="button" id="account-btn" class="btn dropdown-toggle" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
username
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" onclick="clickLogout()">Logout</a>
</div>
</header>
<!-- =============== /header ======================= -->
<!-- =============== #login modal ================== -->
<div id="login-modal" class="modal fade" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Log in</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<p>Account:</p>
<input id="modal-account">
<p>Password:</p>
<input id="modal-password" type="password">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" onclick="clickLogin()"
data-dismiss="modal">Submit</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- =============== /#login modal ================= -->
<!-- =============== #events-list ================== -->
<div id="events-list">
</div>
<!-- =============== /#events-list ================= -->
<!-- =============== #calendar ===================== -->
<div id="calendar">
</div>
<!-- =============== /#calendar ==================== -->
<!-- =============== #add form ===================== -->
<div id="add-event-form">
</div>
<!-- =============== /#add form ==================== -->
<!-- =============== #change form ================== -->
<div id="change-event-form">
</div>
<!-- =============== /#change form ================= -->
<!-- =============== #menu ========================= -->
<div id="menu">
</div>
<!-- =============== /#menu ======================== -->
<!-- =============== footer ======================== -->
<footer>
</footer>
<!-- =============== /footer ======================= -->
</body>
</html>