-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
173 lines (155 loc) · 5.84 KB
/
home.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
<ion-view>
<ion-nav-bar class="navbar" align-title="center">
<ion-nav-buttons side="left">
<button class="button-clear" ng-click="toggleLeft()">
<i class="ion-navicon-round icon-header"> FATBURGER </i>
</button>
</ion-nav-buttons>
<ion-nav-buttons side="right">
<button class="button-clear" ng-click="toCart()">
<i class="icon ion-ios-cart-outline" style="font-size:20px;color:black"></i>
</button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-content style="background-color:#eee;background:url(img/bg2.png);background-size:cover">
<div style="width:100%;float:left;text-align:center;margin:20px 0 0 0;float:left">
<img src="img/fatlogo.png" style="width:200px;"/>
</div>
<div class="find_loc" ng-show="isResume>0">
<div style="width:200px;height:200px;border-radius:200px;overflow:hidden;" id="resume_banner_btn">
<div style="height:100px;width:200px;" ng-click="startNew()"></div>
<div style="height:100px;width:200px;" ng-click="toCart()"></div>
</div>
</div>
<div ng-click="showSheet()" class="find_loc" ng-show="isResume==0">
<div style="width:200px;">
<img alt="FatBurger" src="img/homego.png" id="FatBurger" style="width:100%;height:200px"/>
</div>
</div>
<div class="find_loc" ng-hide="logged_in" style="margin-top:30px">
<a class="button button_dark_on_yellow" ui-sref="login" style="border-radius:5px;width:200px">Login</a>
</div>
<div class="find_loc" ng-hide="logged_in" style="margin-top:5px">
<span class="font-white font_oswald_normal_300 line_legend"> or </span>
</div>
<div class="find_loc" ng-hide="logged_in" style="margin-top:5px">
<a class="button button_yellow_on_dark" ui-sref="login" style="border-radius:5px;width:200px">Sign Up</a>
</div>
<div ng-show="logged_in">
<div align="center" style="margin:10px;">
<fieldset>
<legend align="center" class="font_oswald_normal_300" style="font-size:18px;"> WELCOME BACK </legend>
<font style="color:#ffd909; font-weight:bold; font-size:24px;" class="font_oswald_normal_300"> {{customer.customer_name}} </font><br/><br/>
</fieldset>
</div>
</div>
</ion-content>
</ion-view>
<script id="chooseAddress-modal.html" type="text/ng-template">
<ion-modal-view>
<ion-header-bar>
<h1 class="title">Choose Your Address</h1>
</ion-header-bar>
<ion-content>
<div class="list">
<ion-radio ng-repeat="item in addresses"
ng-value="item.address_id"
ng-model="data.selected"
name="server-side"
ng-switch on="item.address_type">
<addrType ng-switch-when="1">
<h2>Kantor</h2>
<p> {{item.address_name}} <br/>
{{item.tower_division}} {{item.floor}} <br/>
{{item.address_content}}
{{item.room_unit}}
</p>
</addrType>
<addrType ng-switch-when="2">
<h2>Rumah</h2>
<p> {{item.address_name}}
{{item.address_content}}
</p>
</addrType>
<addrType ng-switch-when="3">
<h2>Apartment</h2>
<p> {{item.address_name}} <br/>
{{item.tower_division}} {{item.floor}} {{item.room_unit}} <br/>
{{item.address_content}}
</p>
</addrType>
<addrType ng-switch-when="4">
<h2>Hotel</h2>
<p> {{item.address_name}}
{{item.floor}} {{item.room_unit}} <br/>
{{item.address_content}}
</p>
</addrType>
<addrType ng-switch-when="5">
<h2>Ruko/Rukan</h2>
<p> {{item.address_name}}
{{item.floor}} {{item.room_unit}} <br/>
{{item.address_content}}
</p>
</addrType>
<addrType ng-switch-when="6">
<h2>Kost</h2>
<p> {{item.address_name}}
{{item.floor}} {{item.room_unit}} <br/>
{{item.address_content}}
</p>
</addrType>
</ion-radio>
<ion-radio ng-model="data.selected" ng-value="0">
Create New Address
</ion-radio>
</div>
<div class="list padding" ng-show="data.selected==0">
<label class="item item-radio">
<input type="radio" name="new_type" ng-model="data.new_type" ng-value="0">
<div class="item item-text-wrap">
Use Your Current Location
<p>Please enable 'Location' in your phone. We will search nearest FATBURGER outlet to your current location.</p>
</div>
<i class="radio-icon ion-checkmark"></i>
</label>
<label class="item item-radio">
<input type="radio" name="new_type" ng-model="data.new_type" ng-value="1">
<div class="item item-text-wrap">
Input Your Address Manually
<p>Select the nearest FATBURGER outlet that will deliver to your location.</p>
</div>
<i class="radio-icon ion-checkmark"></i>
</label>
</div>
</ion-radio>
</div>
</ion-content>
<ion-footer-bar>
<div class="button-bar">
<button class="button button-calm button_dark_on_yellow" style="border: 1px solid #3d3d3d !important;" ng-click="closeModal()">Cancel</button>
<button class="button button-balanced button_dark_on_yellow" style="border: 1px solid #3d3d3d !important;" ng-click="applyDelivery()">OK</button>
</div>
</ion-footer-bar>
</ion-modal-view>
</script>
<script id="pickup-modal.html" type="text/ng-template">
<ion-modal-view>
<ion-header-bar>
<h1 class="title">Store Location:</h1>
</ion-header-bar>
<ion-content>
<div class="list">
<ion-radio name="loc" ng-repeat="area in areaJson.outlet" ng-model="data.selected" ng-value="{{area.id}}">
{{area.name}}
</ion-radio>
</div>
</ion-content>
<ion-footer-bar>
<div class="button-bar">
<button class="button button-calm button_dark_on_yellow" style="border: 1px solid #3d3d3d !important;" ng-click="closeModal()">Cancel</button>
<button class="button button-balanced button_dark_on_yellow" style="border: 1px solid #3d3d3d !important;" ng-click="applyPickup()">OK</button>
</div>
</ion-footer-bar>
</ion-modal-view>
</script>