-
Notifications
You must be signed in to change notification settings - Fork 0
/
group_invite.html
296 lines (267 loc) · 13.4 KB
/
group_invite.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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!doctype html>
<!--
Material Design Lite
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Inbox - Group Meal Planner</title>
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="img/android-desktop.png">
<!-- Add to homescreen for Safari on iOS -->
<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="Material Design Lite">
<link rel="apple-touch-icon-precomposed" href="img/ios-desktop.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="img/touch/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#3372DF">
<link rel="shortcut icon" href="img/favicon.ico">
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
<!--
<link rel="canonical" href="http://www.example.com/">
-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.light_green-orange.min.css" />
<link rel="stylesheet" href="css/styles.css">
<style>
#view-source {
position: fixed;
display: block;
right: 0;
bottom: 0;
margin-right: 40px;
margin-bottom: 40px;
z-index: 900;
}
</style>
</head>
<body>
<div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<header class="demo-header mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">Inbox</span>
<div class="mdl-layout-spacer"></div>
</div>
</header>
<div class="demo-drawer mdl-layout__drawer">
<header class="demo-drawer-header">
<img src="img/user.jpg" class="demo-avatar">
<div class="demo-avatar-dropdown">
<span>hello@example.com</span>
<div class="mdl-layout-spacer"></div>
<button id="accbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">arrow_drop_down</i>
<span class="visuallyhidden">Accounts</span>
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="accbtn">
<li class="mdl-menu__item">hello@example.com</li>
<li class="mdl-menu__item">info@example.com</li>
<li class="mdl-menu__item"><i class="material-icons">add</i>Add another account...</li>
</ul>
</div>
</header>
<nav class="demo-navigation mdl-navigation">
<a class="mdl-navigation__link" href="user_profile.html"><i class="material-icons">account_circle</i>User Profile</a>
<a class="mdl-navigation__link" href="recipes.html"><i class="material-icons">restaurant_menu</i>Recipes</a>
<a class="mdl-navigation__link" href="saved_recipes.html"><i class="material-icons">book</i>Saved Recipes</a>
<a class="mdl-navigation__link" href="weekly_meal_planner.html"><i class="material-icons">assignment</i>7 Day Planner</a>
<a class="mdl-navigation__link" href="healthtracker.html"><i class="material-icons">assessment</i>Health Tracker</a>
<a class="mdl-navigation__link" href="group.html"><i class="material-icons">group</i>Group Meal Planner</a>
<a class="mdl-navigation__link" href="HelpAndSupport.html"><i class="material-icons">help_outline</i>Help & Support</a>
<div class="mdl-layout-spacer"></div>
<a id="show-dialog" class="mdl-navigation__link"><i class="material-icons" role="presentation">cancel</i>Log Out</a>
<dialog class="mdl-dialog">
<h4 class="mdl-dialog__content">Are you sure you want to log out?</h4>
<div class="mdl-dialog__actions">
<button type="button" class="mdl-button mdl-button--accent" onclick="dialog.close()">No</button>
<button type="button" class="mdl-button close">Yes</button>
</div>
</dialog>
<script>
var dialog = document.querySelector('dialog');
var showDialogButton = document.querySelector('#show-dialog');
if (! dialog.showModal) {
dialogPolyfill.registerDialog(dialog);
}
showDialogButton.addEventListener('click', function() {
dialog.showModal();
});
dialog.querySelector('.close').addEventListener('click', function() {
window.open('index.html', '_self');
});
</script>
</nav>
</div>
<style type="text/css">
.mdl-card{
margin-left: auto;
margin-right: auto;
height: 600px;
}
#submit-button{
position: absolute;
bottom: 0;
right: 0;
margin: 0px 20px 20px 0px;
}
#hr-bottom{
max-height: 30px;
margin-left: auto;
margin-right: auto;
border-width: 2px;
}
#hr-top{
border-width: 2px;
margin-left: auto;
margin-right: auto;
}
#top-list > .mdl-list__item{
margin-left: 5%;
}
#top-list{
margin-top: -15px;
}
#bottom-list > .mdl-list__item{
margin-left: 5%;
}
#bottom-list{
text-align: center;
display: inline-block;
}
.mdl-card__title-text{
}
</style>
<main class="mdl-layout__content mdl-color--grey-50">
<div class="mdl-grid">
<div class="mdl-cell--12-col" style="margin: 0 auto; max-height: 800px;">
<div class="mdl-card mdl-shadow--2dp mdl-cell--12-col mdl-cell--8-col-desktop" height: 600px; margin: 0 auto;" align="center">
<div class="mdl-card__supporting-text" style="text-align: left;">
<span>From Alan Cooper</span>
</div>
<ul class="mdl-list" id="top-list">
<li class="mdl-list__item">
<div class="mdl-card__title-text">
<h3 class="mdl-card__title-text">Subject: what would you like for dinner?</h3>
</div>
</li>
<li class="mdl-list__item">
<span><i class="material-icons">access_time</i></span>
<div id="p1" class="mdl-progress mdl-js-progress" style="margin-left: 2%"></div>
</li>
</ul>
<hr id="hr-top" width="90%">
<ul class="mdl-list" id="bottom-list">
<li class="mdl-list__item">
<label for="radio1" class="mdl-radio mdl-js-radio">
<input type="radio" id="radio1" name="vote" value="on" class="mdl-radio__button">
<span>Mac & Cheese</span>
</label>
</li>
<li class="mdl-list__item">
<label for="radio2" class="mdl-radio mdl-js-radio">
<input type="radio" id="radio2" name="vote" class="mdl-radio__button">
<span>Sweet & Sour Chicken Noodle</span>
</label>
</li>
</ul>
<hr id="hr-bottom" align="center" width="90%">
<button id="submit-button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">
Submit
</button>
<div id="load-animation">
</div>
<div id="submit-demo" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
</div>
</div>
</div>
</main>
<script type="text/javascript">
document.querySelector('#p1').addEventListener('mdl-componentupgraded', function() {
this.MaterialProgress.setProgress(44);
});
(function() {
'use strict';
window['counter'] = 0;
var snackbarContainer = document.querySelector('#submit-demo');
var showToastButton = document.querySelector('#submit-button');
showToastButton.addEventListener('click', function() {
'use strict';
var data = {message: 'Your vote has been submitted'};
snackbarContainer.MaterialSnackbar.showSnackbar(data);
setTimeout(groupRedirect, 3000);
});
}());
function groupRedirect(){
window.location.href = "group.html" ;
}
</script>
</div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" style="position: fixed; left: -1000px; height: -1000px;">
<defs>
<mask id="piemask" maskContentUnits="objectBoundingBox">
<circle cx=0.5 cy=0.5 r=0.49 fill="white" />
<circle cx=0.5 cy=0.5 r=0.40 fill="black" />
</mask>
<g id="piechart">
<circle cx=0.5 cy=0.5 r=0.5 />
<path d="M 0.5 0.5 0.5 0 A 0.5 0.5 0 0 1 0.95 0.28 z" stroke="none" fill="rgba(255, 255, 255, 0.75)" />
</g>
</defs>
</svg>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 250" style="position: fixed; left: -1000px; height: -1000px;">
<defs>
<g id="chart">
<g id="Gridlines">
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="27.3" x2="468.3" y2="27.3" />
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="66.7" x2="468.3" y2="66.7" />
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="105.3" x2="468.3" y2="105.3" />
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="144.7" x2="468.3" y2="144.7" />
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="184.3" x2="468.3" y2="184.3" />
</g>
<g id="Numbers">
<text transform="matrix(1 0 0 1 485 29.3333)" fill="#888888" font-family="'Roboto'" font-size="9">500</text>
<text transform="matrix(1 0 0 1 485 69)" fill="#888888" font-family="'Roboto'" font-size="9">400</text>
<text transform="matrix(1 0 0 1 485 109.3333)" fill="#888888" font-family="'Roboto'" font-size="9">300</text>
<text transform="matrix(1 0 0 1 485 149)" fill="#888888" font-family="'Roboto'" font-size="9">200</text>
<text transform="matrix(1 0 0 1 485 188.3333)" fill="#888888" font-family="'Roboto'" font-size="9">100</text>
<text transform="matrix(1 0 0 1 0 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">1</text>
<text transform="matrix(1 0 0 1 78 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">2</text>
<text transform="matrix(1 0 0 1 154.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">3</text>
<text transform="matrix(1 0 0 1 232.1667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">4</text>
<text transform="matrix(1 0 0 1 309 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">5</text>
<text transform="matrix(1 0 0 1 386.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">6</text>
<text transform="matrix(1 0 0 1 464.3333 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">7</text>
</g>
<g id="Layer_5">
<polygon opacity="0.36" stroke-miterlimit="10" points="0,223.3 48,138.5 154.7,169 211,88.5
294.5,80.5 380,165.2 437,75.5 469.5,223.3 "/>
</g>
<g id="Layer_4">
<polygon stroke-miterlimit="10" points="469.3,222.7 1,222.7 48.7,166.7 155.7,188.3 212,132.7
296.7,128 380.7,184.3 436.7,125 "/>
</g>
</g>
</defs>
</svg>
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
</body>
</html>