-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (165 loc) · 6.97 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Reminder App">
<!--Viewport tag which makes our website responsive-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Reminder App</title>
<!--for safari-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Reminder">
<link rel="apple-touch-startup-image" href="assets/images/icon-512x512.png">
<link rel="apple-touch-icon" sizes="57x57" href="assets/images/icons/icon-57x57.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/images/icons/icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/icons/icon-114x114.png">
<link rel="apple-touch-icon" sizes="167x167" href="assets/images/icons/apple-icon-167x167.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/icons/icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/images/icons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/icons/apple-icon-180x180.png">
<link rel="apple-touch-icon" sizes="192x192" href="assets/images/icons/icon-192x192.png">
<!--end for safari-->
<!--IE-->
<meta name="msapplication-TileImage" content="assets/images/icons/icon-144x144.png">
<meta name="msapplication-TileColor" content="#3372DF">
<meta name="msapplication-starturl" content="/">
<!--end IE-->
<!-- Theme color for mobile users -->
<meta name="theme-color" content="#3f51b5">
<link rel="manifest" href="/manifest.json">
<link rel="shortcut icon" href="favicon.ico">
<link rel="manifest" href="/manifest.json">
<link rel="shortcut icon" href="favicon.ico">
<!--
Material design script
Sources:
1- getmdl.io
-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="assets/css/libs/material.min.css">
<!--
Our Custom css if needed which has been done throught the course
-->
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Reminder NOTE</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="/index.html">Notes</a>
<a class="mdl-navigation__link" href="/add.html">Add Note</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Reminder NOTE</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="/index.html">Notes</a>
<a class="mdl-navigation__link" href="/add.html">Add Note</a>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">
Enable Notification
</button>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<!-- Your content goes here -->
<div class="mdl-grid" id="grid">
<!--
In order to have app-shell
-->
<!-- MDL Progress Bar with Indeterminate Progress -->
<div class="mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet" id="column">
<div class="mdl-card mdl-shadow--2dp" style="width:95%; margin:1rem">
<div id="p2" class="mdl-progress mdl-js-progress mdl-progress__indeterminate"></div>
</div>
</div>
<noscript>
<div class="mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet" id="column">
<div class="mdl-card mdl-shadow--2dp" style="width:95%; margin:1rem">
<h3>Javascript is not enabled</h3>
</div>
</div>
</noscript>
<!--
Column START
Basically, NOTE_TEMPLE in main.js is similar to this snippet
<div class="mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet" id="column">
<div class="mdl-card mdl-shadow--2dp" style="width:95%; margin:1rem">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Auckland Sky Tower, Auckland, New Zealand</h2>
</div>
<div class="mdl-card__media mdl-color--cyan" style="padding:2px">
</div>
<div class="mdl-card__supporting-text">
The Sky Tower is an observation and telecommunications tower located in Auckland, New Zealand. It is
328 metres (1,076 ft) tall, making it the tallest man-made structure in the Southern
Hemisphere.
</div>
<div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-js-button mdl-button--colored mdl-color-text--cyan mdl-js-ripple-effect">
Edit
</a>
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
Delete
</a>
</div>
</div>
</div>
Column END -->
</div>
</div>
</main>
</div>
<!--
Show simple notification on the bottom of the page
-->
<div id="notification" class="mdl-js-snackbar mdl-snackbar mdl-color--amber">
<div class="mdl-snackbar__text mdl-color-text--black"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<!--
FAB button on the right bottom side of the page
-->
<a href="/add.html" id="fab"
class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored mdl-color--cyan">
<i class="material-icons">add</i>
</a>
<!--
Open Modal to make sure you want to delete a post!
-->
<dialog class="mdl-dialog">
<h4 class="mdl-dialog__title">Are you sure?</h4>
<div class="mdl-dialog__content">
<p>
If you delete this item, there is no way to restor it back,so, be careful!
</p>
</div>
<div class="mdl-dialog__actions">
<button type="button" class="mdl-button confirmDelete">Delete</button>
<button type="button" class="mdl-button close">Cancel</button>
</div>
</dialog>
<!--
Material design script
Sources:
1- getmdl.io
-->
<script src="assets/js/libs/material.min.js"></script>
<script src="assets/js/helpers.js"></script>
<script src="assets/js/main.js"></script>
<script>
// Methods needed for index.html page
app.indexPage();
</script>
</body>
</html>