-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
1876 lines (1627 loc) · 82.5 KB
/
dashboard.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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Expires" content="0" />
<meta name="google-signin-scope" content="profile email" />
<meta name="google-signin-client_id" content="1042635026617-9bh3uki5ifiohpj1ajkkgvv89cs8ol70.apps.googleusercontent.com" />
<meta http-equiv="Content-Security-Policy" content="img-src * data:; default-src * 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; " />
<!-- Good default declaration:
* gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
* Disables use of eval() and inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
* Enable inline JS: add 'unsafe-inline' to default-src
* Enable eval(): add 'unsafe-eval' to default-src
* Create your own at http://cspisawesome.com
-->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: 'unsafe-inline' https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *" /> -->
<title>Tastes-Good.com</title>
<meta name="description" content="ORDER ONLINE: Pickup and delivery from your favorite restaurants!">
<meta name="keywords" content="Food, Restaurant, Ordering, Pickup, Delivery, Eat, Quick, Cheep">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="cordova.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/braintree-2.30.0.min.js"></script>
<script src="js/wickedpicker.js"></script>
<script src="js/boilerplate.js" ></script>
<script src="js/dashboard.js" ></script>
<link rel="stylesheet" href="css/wickedpicker.css" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="css/fonts.css"/>
<link rel="stylesheet" href="css/tastegood.css"/>
<link rel="stylesheet" href="css/jquery-ui.css"/>
</head>
<body style = "height:100%;">
<!-- Top NavBar -->
<div class = "top-navbar">
<div class="navbar-inner">
<div class="nav navbar-header">
<a href="index.html"> <img class="image" src ="img/tg.png"> </image></a>
</div>
<div id = "dropdown_btn" class= "btn btn-info" style="position:absolute;top:0px;height:70px;right:5px;width:125px;max-width:20% !important">
<div class="row no-padding">
<div class="col-xs-8 no-padding">
<h2 id = "top_user_name">Peter Davis</h2>
<button id = "top_credit" title = "credit:" class = "btn btn-default btn-block" >$0.00</button>
</div>
<div class="col-xs-4 no-padding">
<button class ="btn" style="background-color:rgba(0,0,0,0);color:lightgrey;"><span class="glyphicon glyphicon-user" style="font-size:30px;" aria-hidden="true"></span></button>
</div>
</div>
</div>
<div id="dropdown_login" class= "btn btn-info" style="position:absolute;top:0px;height:70px;right:5px;width:125px;max-width:20% !important">
<div class = "row no-padding">
<div class = "col-xs-8 no-padding">
<h3 style = "font-size:20px;">Login</h3>
</div>
<div class = "col-xs-4 no-padding">
<button class ="btn" style="background-color:rgba(0,0,0,0);color:lightgrey;"><span class="glyphicon glyphicon-user" style="font-size:25px;" aria-hidden="true"></span></button>
</div>
</div>
</div>
</div>
</div>
<div id="navbar_dropdown" class="container main" hidden style="background-color: rgba(240,240,240,.9);background-clip:padding-box; border-color: rgba(0, 0, 0, 0.2);box-shaddow:0 3px 8px rgba(0, 0, 0, .3); border-style:solid; border-width:0.8px; border-radius:6px; width:20%;right:0;min-width:180px;position:fixed;top:73px; z-index:5000;padding:12px;">
<div id="dropdown_rest">
</div>
<button id="dropdown_admin" class="btn btn-default btn-block">Admin Tools</button>
<button id="dropdown_sales" style = "margin-bottom:12px;" class="btn btn-default btn-block">Sales Tools</button>
<button id="dropdown_my_account" class="btn btn-default btn-block">Settings</button>
<button id="dropdown_logout" class="btn btn-default btn-block">Sign Out</button>
</div>
<!-- Sub NavBar -->
<div id="sub_navbar" >
<div id = "cat_navbar" style = "display:none; z-index:1000;width:100%;position:fixed;top:70px;border-style:solid;border-width:0.8px 0 0 0; border-color:darkgrey;background-color:rgb(172, 232, 213);">
<div class ="row">
<div class ="col-xs-12 no-padding">
<h3 style="font-family:courier;font-weight:900;padding:10px;padding-top:20px;margin:0;width:100%; text-align:center; background-color:rgba(210,245,225,0.8);font-size:30px;"> Categories:</h3>
</div>
<div class ="col-xs-4 no-padding">
<button class="btn btn-primary btn-block" style="margin:0px;" onclick="history.back();">Back</button>
</div>
<div class ="col-xs-4 no-padding">
<button class = "btn btn-primary btn-block" id = "new_cat" style="margin:0px;">++ New Category</button>
</div>
<div class ="col-xs-4 no-padding">
<button class = "btn btn-primary btn-block" name="manage_extras" style="margin:0px;">Manage Extras</button>
</div>
</div>
</div>
<div id = "item_navbar" style = "display:none; z-index:1000;width:100%;position:fixed;top:70px;border-style:solid;border-width:0.8px 0 0 0; border-color:darkgrey;background-color:rgb(172, 232, 213);">
<div class ="row">
<div class ="col-xs-12 no-padding">
<h3 style="font-family:courier;font-weight:900;padding:10px;margin:0;padding-top:20px;width:100%; text-align:center; background-color:rgba(210,245,225,0.8);font-size:30px;">Category: <span name = "items_category"></span> </h3>
</div>
<div class ="col-xs-4 no-padding">
<button class="btn btn-primary btn-block" style="margin:0px;" onclick="history.back();">Back</button>
</div>
<div class ="col-xs-4 no-padding">
<button class = "btn btn-primary btn-block" id = "new_item" style="margin:0px;">++ New Item</button>
</div>
<div class ="col-xs-4 no-padding">
<button class = "btn btn-primary btn-block" name="manage_extras" style="margin:0px;">Manage Extras</button>
</div>
</div>
</div>
<div id = "extras_navbar" style = "display:none;z-index:1000;width:100%;position:fixed;top:70px;border-style:solid;border-width:0.8px 0 0 0; border-color:darkgrey;background-color:rgb(172, 232, 213);">
<div class ="row">
<div class ="col-xs-12 no-padding">
<h3 style="font-family:courier;font-weight:900;padding:10px;margin:0;padding-top:20px;width:100%; text-align:center; background-color:rgba(210,245,225,0.8);font-size:30px;"> Menu Extras: </h3>
</div>
<div class ="col-xs-6 no-padding">
<button class="btn btn-primary btn-block" style="margin:0px;" onclick="history.back();">Back</button>
</div>
<div class ="col-xs-6 no-padding">
<button class = "btn btn-primary btn-block" id="new_xtr" style="margin:0px;">Create New Extra</button>
</div>
</div>
</div>
<div id = "detail_navbar" style = "display:none;z-index:1000;width:100%;position:fixed;top:70px;border-style:solid;border-width:0.8px 0 0 0; border-color:darkgrey;background-color:rgb(172, 232, 213);">
<h3 style="font-family:courier;font-weight:900;padding:10px;margin:0;width:100%; text-align:center; background-color:rgba(210,245,225,0.8);font-size:30px;">Restaurant Details:</h3>
<div class ="row">
<div class ="col-xs-12 no-padding">
<button class="btn btn-default btn-block" style="color:#633E26;margin:0px;" onclick="history.back();">Back</button>
</div>
<div class ="col-xs-12 no-padding">
<button class = "btn btn-default btn-block" id="save_details" style="margin:0px;">Save Changes</button>
</div>
</div>
</div>
<div id = "history_navbar" style = "display:none; z-index:1000;width:100%;position:fixed;top:70px;border-style:solid;border-width:0.8px 0 0 0; border-color:darkgrey;background-color:rgb(172, 232, 213);">
<div class ="row">
<div class ="col-xs-12 no-padding">
<button class="btn btn-default btn-block" style="color:#633E26;margin:0px;" onclick="history.back();">Back</button>
</div>
<div class ="col-xs-12 no-padding">
<h3 style="padding-top:20px !important;font-family:courier;font-weight:900;padding:10px;margin:0;width:100%; text-align:center; background-color:rgba(210,245,225,0.8);font-size:30px;">Account History:</h3>
</div>
<div class = "col-xs-6">
<div class="row">
<label for ="history_begin" class="col-xs-4" style="padding:10px;padding-left:30px;font-size:20px;font-family:monospace;">From: </label>
<div class="col-xs-8"><input id="history_begin" type="text" class="form-control"/></div>
</div>
</div>
<div class= "col-xs-6">
<div class="row">
<label for ="history_end" class="col-xs-4" style="padding:10px;padding-left:30px;font-size:20px;font-family:monospace;" >Until: </label>
<div class="col-xs-8"><input id="history_end" type="text" class="form-control"/></div>
</div>
</div>
<div class ="col-xs-12 no-padding">
<button class = "btn btn-default btn-block" id="get_history" style="margin:0px;">Generate Report</button>
</div>
</div>
</div>
<div id = "coupon_navbar" style = "display:none;z-index:1000;width:100%;position:fixed;top:70px;border-style:solid;border-width:0.8px 0 0 0; border-color:darkgrey;background-color:rgb(172, 232, 213);">
<div class ="row">
<div class ="col-xs-12 no-padding">
<button class="btn btn-default btn-block" style="color:#633E26;margin:0px;" onclick="history.back();">Back</button>
</div>
<div class ="col-xs-12 no-padding">
<h3 style="padding-top:20px !important;font-family:courier;font-weight:900;padding:10px;margin:0;width:100%; text-align:center; background-color:rgba(210,245,225,0.8);font-size:30px;">Restaurant Deals and Coupons:</h3>
</div>
<div class ="col-xs-12 no-padding">
<button class = "btn btn-primary btn-block" id="make_coupon" style="margin:0px;">Create Coupon</button>
</div>
</div>
</div>
</div>
<!--PDF iframe -->
<div id = "pdf_preview_container">
<iframe id="pdf_preview" name="pdf_preview" src="" style="display:none;z-index:1001; position:absolute;width:100%;top:0px;height:100%"></iframe>
</div>
<div class="row" id ="pdf_preview_btns" style="display:none;z-index:1002;position:absolute;top:0;width:100%;">
<div class="col-xs-6 no-padding">
<button id="hide_pdf_preview" class="btn-lg btn-block btn btn-default" style="font-family:courier;font-weight:900;font-size:25px;padding:10px;" >Back</button>
</div>
<div class="col-xs-6 no-padding">
<button id="print_pdf_preview" class="btn-lg btn-block btn btn-info" style="font-family:courier;font-weight:900;font-size:25px;padding:10px;" ><span class="glyphicon glyphicon-print"></span> Print</button>
</div>
</div>
<!-- Login -->
<div class="modal fade" id="userLogin" class = "modal-dialog" style = "display:none;width:95%;max-width:900px;margin:auto; margin-top:10px; ">
<div class="modal-content">
<div class="modal-header">
<h3 class= "modal-title">Restaurant Login: </h3>
</div>
<div class="modal-body">
<div id = "main_login">
<form name="login" method="post" autocomplete="on">
<div class = "row">
<div class = "col-xs-12 col-sm-6">
<label for="userId" style = "display:none">Email Address:</label>
<input id="userId" class="form-control" type="text" placeholder="Email Address"> </input>
</div>
<div class = "col-xs-12 col-sm-6">
<label for="userPwd" style = "display:none">Password:</label>
<input id="userPwd" class="form-control" required="required" type="password" placeholder="password" ></input>
</div>
<div class = "col-xs-12">
<button id = "forget_pwd" type = "button" class="btn-block btn btn-link" style = "color: #633E26;">Forgot Password?</button>
</div>
</div>
</form>
<h2 class = "bg-danger" style="padding-top:5px;padding-bottom:5px;padding-left:10px;border-radius:6px;" id="wrong_pwd">Account password/user_name incorrect.</h2>
<h2 class = "bg-danger" style="padding-top:5px;padding-bottom:5px;padding-left:10px;border-radius:6px;" id="not_rest">This account is not yet associated with any Restaurants. Click <a href"main.html">here</a> to return to the main site.</h2>
</div>
<div id="forgotPwd" role = "document">
<div class="modal-content">
<div class="modal-body">
<div class = "row">
<div class = "col-xs-12">
<form method="post" autocomplete="on">
<h3>Password Recovery: </h3>
<div class="row">
<div class = "col-xs-4"><label for="email_recovery">Email Address:</label></div>
<div class = "col-xs-8">
<input id="email_recovery" class="form-control" type="text" ></input>
</div>
</div>
<h2 class = "bg-danger" style="padding-top:5px;padding-bottom:5px;padding-left:10px;border-radius:6px;" id="email_noexist">Account does not exist. Check email address.</h2>
<h2 class = "bg-success" style="padding-top:5px;padding-bottom:5px;padding-left:10px;border-radius:6px;" id="email_sent">Check your inbox for password recovery email.</h2>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<div class = "row" >
<div class = "col-xs-6">
<button id = "forgot_pwd_Cancel" class = "btn-block btn btn-primary">Cancel</button>
</div>
<div class = "col-xs-6">
<button id="submit_forgot_pwd" class = "btn-block btn btn-primary">Recover Password</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<div class = "row" id = "existing_user_btn">
<div class = "col-xs-6">
<button onclick = "window.location = 'main.html'" class = "btn-block btn btn-primary">Back</button>
</div>
<div class = "col-xs-6">
<button id="submit_login" class = "btn-block btn btn-primary">Login</button>
</div>
</div>
</div>
</div>
</div>
<!-- Main Applets -->
<div id = "dashboard_main" style="display:none;">
<div id = "dashboard_status" class = "modal-dialog" style = "background-color:rgb(172, 232, 213); border-style: solid; border-color: darkgrey; border-width:0.8px; border-radius:6px; width:95%;max-width:900px;margin:auto; margin-top:10px; ">
<div style = "background-color:white;">
<div class="row no-padding" onclick="$('#drilldown_credit').toggle();" >
<div class="col-xs-6 no-padding">
<button class ="btn btn-block btn-lg btn-info">Total Credit:</button>
</div>
<div class="col-xs-6 no-padding">
<button id="dash_total_credit" class ="btn btn-lg btn-block btn-info">$0.00</button>
</div>
</div>
</div>
<button class="btn btn-lg btn-block btn-default">Request Payment </button>
<button style = "margin:0:" id="dashboard_sales" class="btn btn-lg btn-block btn-default">Earn Commissions -- Invite Restaurants</button>
</div>
<div id = "restaurants_list">
</div>
<div id = "dashboard_prototype_restaurant" class = "modal-dialog" style = "display:none; background-color:rgb(172, 232, 213); border-style: solid; border-color: darkgrey; border-width:0.8px; border-radius:6px; width:95%;max-width:900px;margin:auto; margin-top:10px;">
<div class = "row no-padding">
<div class = "col-xs-10">
<div>
<h3 name = "rest_title" style = "padding:20px;padding-bottom:0px;margin:0;">Restaurant_Title:</h3>
<h2 name = "switch_status" style="padding-left:20px;padding-top:10px;padding-bottom:10px;margin:0;"></h2>
</div>
</div>
<div class = "col-xs-2">
<div style="font-size:15px;float:right;padding-right:20px;margin:0;">
<label class="switch" style ="top:15px;">
<input name="close_switch" type="checkbox">
<div class="slider"></div>
</label>
<h2 name= "close_switch_label" style="float:right;margin-top:15px;"></h2>
</div>
</div>
</div>
<div class = "modal-content" style="clear:left; min-height:150px;padding:15px">
<div>
<div class = "modal-content" style = "min-height:100px;padding-bottom:5px;">
<div class = "row no-padding" style="padding-top:10px;padding-bottom:5px;text-align:center;">
<div class = "col-xs-1 no-padding">
ID:
</div>
<div class = "col-xs-2 no-padding">
Name:
</div>
<div class = "col-xs-2 no-padding">
Payment:
</div>
<div class = "col-xs-2 no-padding">
Delivery:
</div>
<div class = "col-xs-3 no-padding">
Date:
</div>
<div class = "col-xs-2 no-padding">
Time:
</div>
</div>
<div name ="recent_order">
</div>
</div>
</div>
<div class = "row no-padding" style="margin:15px;">
<div class="col-xs-12 no-padding">
<button class = "btn btn-lg btn-default btn-block" name="btn_orderhistory">Past Orders</button>
</div>
<div class="col-xs-12 no-padding">
<button class = "btn btn-lg btn-default btn-block" name="btn_restdetails">Restaurant Details</button>
</div>
<div class="col-xs-12 no-padding">
<button class = "btn btn-lg btn-default btn-block" name="btn_menu">Edit Menu</button>
</div>
<div class="col-xs-12 no-padding">
<button class = "btn btn-lg btn-default btn-block" name="btn_coupons">Coupons</button>
</div>
</div>
</div>
</div>
</div>
<div id="order_history" class="modal-dialog" style="display:none">
<div style="height:180px;"></div>
<div id = "history_report" style = "display:none;">
<div style="background-color:#f0ffff; border-style: solid; border-color: darkgrey; border-width:0.8px; border-radius:6px; width:100%;">
<h3 style="margin-top:25px; margin-bottom:-10px;font-family:courier;font-size:25px; font-weight:800;text-align:center;width:100%;">Account Activity: <span name="period_start"></span> - <span name="period_stop"></span> </h3>
<hr>
<div class = "row no-padding">
<div class = "col-xs-8 no-padding">
<button class="btn btn-default btn-block">Action:</button>
</div>
<div class ="col-xs-4 no-padding">
<button class="btn btn-default btn-block">Balance:</button>
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-8 no-padding">
<button class="btn btn-info btn-block">Start of Period <span name="period_start"></span></button>
</div>
<div class ="col-xs-4 no-padding">
<button name="initial_balance" class="btn btn-info btn-block">$0.00</button>
</div>
</div>
<div id = "history_list">
</div>
<div class = "row no-padding">
<div class = "col-xs-8 no-padding">
<button class="btn btn-info btn-block">End of Period <span name="period_stop"></span></button>
</div>
<div class ="col-xs-4 no-padding">
<button name="final_balance" class="btn btn-info btn-block">$0.00</button>
</div>
</div>
</div>
<hr>
<li class="list-group-item"><h3 style="margin-top:0;font-size:20px;width:100%;"> Account Balance: <span class="badge" name="final_balance" style="float:right;font-size:20px">$52.47</span></h3></li>
</div>
</div>
<div id="restaurant_details" class = "modal-dialog" style = "display:none;">
<div style="height:150px;"></div>
<div style="background-color:#f0ffff; border-style: solid; border-color: darkgrey; border-width:0.8px; border-radius:6px; width:100%;margin:0;">
<h3 style = "margin:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Business Details: </h3>
<h2 style = "background-color:#f0ffff; margin:0; padding-top:10px; text-align:center;font-size:20px; font-family:monospace">
<div class = "row">
<div class = "col-xs-12 col-md-3" ><h2 style = "text-align:center;font-size:20px;font-family:monospace"> Preview: </h2>
<img id = "image_preview" style="max-width:200px;width:100%; padding-top:100%; margin-top:-100%; background-color:rgba(0,0,0,0);" /><br>
<label style="text-align:center;" class="btn btn-default btn-file"><h2>Business Logo: </h2><input name = "rest_details" id="rest_logo" type = "file"/></label><br>
</div>
<div class = "col-xs-12 col-md-9" style="padding-top:15px;">
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="rest_title" style = "line-height:30px;">Name: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "rest_details" type="text" id="rest_title" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="rest_type" style = "line-height:30px;"> Style: </label>
</div>
<div class = "col-xs-9 no-padding">
<select id="rest_type" name="rest_details" class = "form-control">
</select>
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="rest_address" style = "line-height:30px;"> Address: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "rest_details" type="text" id="rest_address" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="rest_phone" style = "line-height:30px;"> Phone: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "rest_details" type="text" id="rest_phone" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="rest_email" style = "line-height:30px;">Email: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "rest_details" type="text" id="rest_email" class = "form-control" placeholder="" />
</div>
</div>
<br>
<div id = "file_size_error" class="alert alert-danger no-padding" style="display:none;">
<strong>Whoops!</strong> filesize exceeds 50kb maximum.
</div>
</div>
</h2>
<h3 style = "margin:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Owner Information: </h3>
<h2 style = "background-color:#f0ffff; margin:0; padding-top:10px; text-align:center;font-size:20px; font-family:monospace">
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="user_fname" style = "line-height:30px;"> First Name: </label>
</div>
<div class = "col-xs-3 no-padding">
<input name="rest_details" type="text" id="user_fname" class = "form-control" placeholder="" />
</div>
<div class = "col-xs-3 no-padding">
<label for="user_lname" style = "line-height:30px;"> Last Name: </label>
</div>
<div class = "col-xs-3 no-padding">
<input name="rest_details" type="text" id="user_lname" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="user_phone" style = "line-height:30px;"> Phone: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "rest_details" type="text" id="user_phone" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="user_email" style = "line-height:30px;">Email: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "rest_details" type="text" id="user_email" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding" style="margin-top:10px;">
<div class = "col-xs-12 no-padding">
<button class="btn btn-default btn-block" data-toggle="modal" data-target="#password_modal"><h2>Change Password </h2></button>
</div>
</div>
</h2>
<h3 style = "margin-left:0; margin-right:0; margin-top:10px; margin-bottom:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Delivery Settings: </h3>
<h2 style = "line-height:40px; background-color:#f0ffff; margin-top:0; padding-top:10px;text-align:center;font-size:20px;font-family:monospace">
<div class = "row">
<div class = "col-xs-9">
<label for="offers_delivery" style = "line-height:30px;"> Does your restaurant offer delivery? </label>
</div>
<div class = "col-xs-3">
<input name = "delivery_details" type="checkbox" id="offers_delivery" class = "form-control" checked = "" />
</div>
<div class = "col-xs-9">
<label for="delivery_base" style = "line-height:30px;"> How much do you charge the customer for delivery? </label>
</div>
<div class = "col-xs-3">
<input name = "delivery_details" type="text" id="delivery_base" class = "form-control" value=""></input>
</div>
<!--
<div class = "col-xs-9">
<label for="delivery_email" style = "line-height:30px;"> Notify delivery driver by email when restaurant confirms a delivery order? </label>
</div>
<div class = "col-xs-3">
<input name = "delivery_details" type="text" id="delivery_email" class = "form-control" placeholder='Delivery Driver Email' />
</div> -->
</div>
</h2>
<h3 style = "margin-left:0; margin-right:0; margin-top:10px; margin-bottom:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Schedule:</h3>
<h2 style = "line-height:40px; background-color:#f0ffff; margin-top:0; padding-top:10px;text-align:center;font-size:20px;font-family:monospace">
<div class = "row">
<div class = "col-xs-4 col-xs-offset-4" >
Open:
</div>
<div class = "col-xs-4" >
Close:
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Monday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "monday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "monday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Tuesday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "tuesday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "tuesday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Wednesday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "wednesday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "wednesday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Thursday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "thursday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "thursday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Friday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "friday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "friday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Saturday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "saturday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "saturday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Sunday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "sunday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "sunday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<br><br>**We suggest closing your online store 15 to 30 minutes earlier than actual closing time**
<br><br>**You can also close your online store for holidays and unscheduled closures through the dashboard**
</h2>
</div>
</h2>
</div>
</div>
<div id="new_restaurant" class = "modal-dialog" style="display:none;" >
<div style="background-color:#f0ffff; border-style: solid; border-color: darkgrey; border-width:0.8px; border-radius:6px; width:100%;margin:0;">
<h3 style = "margin:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">New Restaurant Details: </h3>
<h2 style = "background-color:#f0ffff; margin:0; padding-top:10px; text-align:center;font-size:20px; font-family:monospace">
<div class = "row">
<div class = "col-xs-12 col-md-3" ><h2 style = "text-align:center;font-size:20px;font-family:monospace"> Preview: </h2>
<img id = "new_image_preview" style="max-width:200px;width:100%; padding-top:100%; margin-top:-100%; background-color:rgba(0,0,0,0);" /><br>
<label style="text-align:center;" class="btn btn-default btn-file"><h2>Business Logo: </h2><input name = "new_rest_details" id="new_rest_logo" type = "file"/></label><br>
</div>
<div class = "col-xs-12 col-md-9" style="padding-top:15px;">
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_rest_title" style = "line-height:30px;">Name: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="text" id="new_rest_title" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_rest_type" style = "line-height:30px;"> Style: </label>
</div>
<div class = "col-xs-9 no-padding">
<select id="new_rest_type" name="new_rest_details" class = "form-control">
<option>American</option>
<option>Canadian</option>
<option>Chinese</option>
<option>Japanese</option>
<option>Thai</option>
<option>Vietnamese</option>
<option>Greek</option>
<option>Italian</option>
<option>Carribean</option>
<option>Middle Eastern</option>
<option>European</option>
<option>African</option>
<option>Korean</option>
<option>Mexican</option>
<option>Indigenous</option>
<option>Thai</option>
<option>Indian</option>
</select>
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_rest_address" style = "line-height:30px;"> Address: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="text" id="new_rest_address" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_rest_phone" style = "line-height:30px;"> Phone: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="text" id="new_rest_phone" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_rest_email" style = "line-height:30px;">Email: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="text" id="new_rest_email" class = "form-control" placeholder="" />
</div>
</div>
<br>
<div id = "file_size_error" class="alert alert-danger no-padding" style="display:none;">
<strong>Whoops!</strong> filesize exceeds 50kb maximum.
</div>
</div>
</h2>
<h3 style = "margin:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Owner Information: </h3>
<div class="row no-padding">
<div class="col-xs-2">
<input type="radio" id ="new_rest_new_user" name = "new_rest_user" value = "new_user" checked></input>
</div>
<div class="col-xs-4">
<label for="new_rest_new_user">New User </label>
</div>
<div class="col-xs-2">
<input type="radio" id ="new_rest_old_user" name = "new_rest_user" value = "old_user"></input>
</div>
<div class="col-xs-4">
<label for="new_rest_old_user">Existing User</label>
</div>
</div>
<div id = "new_rest_create_user">
<h2 style = "background-color:#f0ffff; margin:0; padding-top:10px; text-align:center;font-size:20px; font-family:monospace">
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_user_fname" style = "line-height:30px;"> First Name: </label>
</div>
<div class = "col-xs-3 no-padding">
<input name="new_rest_details" type="text" id="new_user_fname" class = "form-control" placeholder="" />
</div>
<div class = "col-xs-3 no-padding">
<label for="new_user_lname" style = "line-height:30px;"> Last Name: </label>
</div>
<div class = "col-xs-3 no-padding">
<input name="new_rest_details" type="text" id="new_user_lname" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_user_phone" style = "line-height:30px;"> Phone: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="text" id="new_user_phone" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_user_email" style = "line-height:30px;">Email: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="text" id="new_user_email" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding" style="margin-top:15px;">
<div class = "col-xs-3 no-padding">
<label for="new_password" style = "line-height:30px;">Password: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="password" id="new_password" class = "form-control" placeholder="" />
</div>
</div>
<div class = "row no-padding">
<div class = "col-xs-3 no-padding">
<label for="new_password_confirm" style = "line-height:30px;">Confirm: </label>
</div>
<div class = "col-xs-9 no-padding">
<input name = "new_rest_details" type="password" id="new_password_confirm" class = "form-control" placeholder="" />
</div>
</div>
</h2>
</div>
<div id="new_rest_user_login" style = "display:none; margin-bottom:10px;">
<div class = "row no-padding">
<div class = "col-xs-12 col-sm-6">
<label for="userId" style = "display:none">Email Address:</label>
<input id="new_login_email" class="form-control" type="text" placeholder="Email Address"> </input>
</div>
<div class = "col-xs-12 col-sm-6">
<label for="userPwd" style = "display:none">Password:</label>
<input id="new_login_password" class="form-control" required="required" type="password" placeholder="Password" ></input>
</div>
</div>
</div>
</div>
<h3 style = "margin-left:0; margin-right:0; margin-top:10px; margin-bottom:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Delivery Settings: </h3>
<h2 style = "line-height:40px; background-color:#f0ffff; margin-top:0; padding-top:10px;text-align:center;font-size:20px;font-family:monospace">
<div class = "row">
<div class = "col-xs-9">
<label for="new_offers_delivery" style = "line-height:30px;"> Does your restaurant offer delivery? </label>
</div>
<div class = "col-xs-3">
<input name = "new_delivery_details" type="checkbox" id="new_offers_delivery" class = "form-control" checked = "" />
</div>
<div class = "col-xs-9">
<label for="new_delivery_base" style = "line-height:30px;"> How much do you charge the customer for delivery? </label>
</div>
<div class = "col-xs-3">
<input name = "new_delivery_details" type="text" id="new_delivery_base" class = "form-control" value=""></input>
</div>
<!--
<div class = "col-xs-9">
<label for="delivery_email" style = "line-height:30px;"> Notify delivery driver by email when restaurant confirms a delivery order? </label>
</div>
<div class = "col-xs-3">
<input name = "delivery_details" type="text" id="delivery_email" class = "form-control" placeholder='Delivery Driver Email' />
</div> -->
</div>
</h2>
<h3 style = "margin-left:0; margin-right:0; margin-top:10px; margin-bottom:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">Schedule:</h3>
<h2 style = "line-height:40px; background-color:#f0ffff; margin-top:0; padding-top:10px;text-align:center;font-size:20px;font-family:monospace">
<div class = "row">
<div class = "col-xs-4 col-xs-offset-4" >
Open:
</div>
<div class = "col-xs-4" >
Close:
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Monday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_monday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_monday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Tuesday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_tuesday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_tuesday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Wednesday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_wednesday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_wednesday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Thursday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_thursday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_thursday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Friday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_friday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_friday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Saturday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_saturday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_saturday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<div class = "row">
<div class = "col-xs-4" >
Sunday:
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_sunday_open" style="width:100% !important;" type = "text"></input>
</div>
<div class = "col-xs-4" >
<input class="timepicker" name="timepicker" id= "new_sunday_close" style="width:100% !important;" type = "text"></input>
</div>
</div>
<br><br>**We suggest closing your online store 15 to 30 minutes earlier than actual closing time**
<br><br>**You can also close your online store for holidays and unscheduled closures from the dashboard**
</h2>
<h3 style = "margin-left:0; margin-right:0; margin-top:10px; margin-bottom:0; padding-top:10px; padding-bottom:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;"> Terms & Conditions and Privacy: </h3>
<h2 style = "line-height:40px; background-color:#f0ffff; margin-top:0; padding-top:10px;text-align:center;font-size:20px;font-family:monospace">
<div class = "row" style="border:solid; border-color:darkgrey; border-width:0.8px; margin:10px; border-radius:4px;">
<div class = "col-xs-2"><input type="checkbox" name="legal" class="form-control" id="read_terms" style="min-width:20px; min-height: 20px;"/></div>
<div class = "col-xs-10">
<label for "read_terms" title="check to indicate that you have read and accept the website terms and conditions"><a onclick="showPDF('./termsconditions.html');">Terms & Conditions </a></label>
</div>
<div class = "col-xs-2"><input type="checkbox" name="legal" class = "form-control" id="read_privacy" style="min-width:20px; min-height: 20px;"/></div>
<div class = "col-xs-10">
<label for "read_privacy" title="check to indicate that you have read and accept the website's privacy policy"><a onclick="showPDF('./privacy.html');">Privacy Policy</a></label>
</div>
</div>
</h2>
<h3 style = "margin-left:0; margin-right:0; margin-top:10px; margin-bottom:0; padding:10px; background-color:rgba(210,245,225,0.8);width:100%;text-align:center;font-size:20px;">
<button class = "btn btn-block btn-primary" id="submit_new_restaurant" style = "font-family:courier-new; font-size:30px;">Go To Dashboard</button>
</h3>
</div>
</h2>
</div>
</div>
<div id="menu_categories" style="display:none;">
<div style="height:100px;"></div>
<div id ="categories_list">
</div>
</div>