Blame view
app/partials/accountSetting/accountSetting.html
14.5 KB
3a9f4472b
|
1 2 3 4 5 6 |
<div class="col-xs-12 col-md-11"> <div class="row" style="margin-left:0px"> <div class="col-md-5"> <div class="widget"> <div class="widget-header"> <i class="fa fa-user" aria-hidden="true"></i> |
ae523d5ef
|
7 |
<h3>Account Setting</h3> |
3a9f4472b
|
8 9 10 |
</div> <!-- /widget-header --> <div class="widget-content"> |
8041a48e1
|
11 |
<h3 style="color: #666;margin-left: 10px; text-transform: capitalize;"><b>{{userData.companyName}}</b> </h3></br> |
3a9f4472b
|
12 13 |
<form role="form"> <div class="col-sm-6"> |
3e6e9e0f4
|
14 |
<div class="form-group"><label>Email Username</label> <input type="email" placeholder="Username" ng-model="userData.email" ng-blur="checkEmail(userData.email, 'user')" class="form-control"></div> |
bb639860c
|
15 16 |
<div class="form-group"><label>First Name</label> <input type="text" placeholder="First Name" ng-model="userData.firstName" class="form-control"></div> <div class="form-group"><label>Last Name</label> <input type="text" placeholder="Last Name" ng-model="userData.lastName" class="form-control"></div> |
3a9f4472b
|
17 18 19 |
</div> <div class="col-sm-6"> |
bb639860c
|
20 21 22 |
<!-- <div class="form-group"><label>Password</label> <input type="password" ng-model="userData.password" placeholder="Password" class="form-control"></div> --> <div class="form-group"><label>Phone</label> <input type="tel" ng-model="userData.phone" placeholder="Phone" class="form-control"></div> <div class="form-group"><label>Mobile</label> <input type="tel" ng-model="userData.mobile" placeholder="Mobile" class="form-control"></div> |
8041a48e1
|
23 |
<div class="form-group"><label>Company Name</label> <input type="tel" ng-model="userData.companyName" placeholder="Company Name" class="form-control"></div> |
3a9f4472b
|
24 |
</div> |
7f6e3b1df
|
25 |
<div class="col-sm-6"> |
9aea92263
|
26 |
<label class="new-input-label"><b>FBO Time Zone </b></label> |
7f6e3b1df
|
27 |
<select class="form-control" ng-model="userData.userTimeZone" > |
9aea92263
|
28 29 30 31 |
<option value="" selected disabled>Select Timezone</option> <option ng-repeat="tz in timeZoneList" value="{{tz.value}}">{{tz.name}} </option> </select> |
3a9f4472b
|
32 |
</div> |
9aea92263
|
33 |
<div class="col-sm-6"> |
7f6e3b1df
|
34 35 36 37 38 39 40 41 42 43 |
<div class="form-group"><label>ICAO</label> <input type="text" ng-model="userData.icao" placeholder="ICAO" class="form-control"></div> </div> <div class="col-xs-12"> <div class="col-xs-12"> <div class="form-group"> <div class="row"> <div class="col-sm-6"> |
9aea92263
|
44 |
<label class="new-input-label"><b>Fuel Types Offered </b></label> |
9aea92263
|
45 |
<label ng-repeat="product in productList" style="width: 100%; font-weight: normal;"> |
bb639860c
|
46 47 |
<input type="checkbox" id="Weekdays" ng-model="product.status" ng-click="checkProduct(productList, product, $index)">{{product.name}} </label> |
9aea92263
|
48 |
|
3a9f4472b
|
49 |
</div> |
9aea92263
|
50 |
</div> |
3a9f4472b
|
51 52 53 |
</div> </div> </div> |
bb639860c
|
54 55 56 57 58 |
<div class="clearfix"></div> <div class="row" style="text-align: center;"> <button type="button" class="btn btn-primary" ng-click="updateUser()">Save</button> <button type="button" class="btn btn-default">Cancel</button> </div> |
3a9f4472b
|
59 60 61 62 63 64 65 66 67 68 69 70 |
</form> </div> <!-- /widget-content --> </div> <!-- /widget --> </div> <div class="col-md-7"> <div class="widget"> <div class="widget-header"> <i class="fa fa-tasks" aria-hidden="true"></i> <h3>Additional User Accounts</h3> <div class="pull-right"> |
ae523d5ef
|
71 |
<button type="submit" style="margin-top: 4px;margin-right: 9px;" ng-click="addAccount()" data-toggle="modal" data-target="#vendor-modal-3" class="btn btn-success btn-sm"><i class="fa fa-plus" aria-hidden="true"></i> Add Contact</button> |
3a9f4472b
|
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
</div> <div class="clearfix"></div> </div> <!-- /widget-header --> <div class="widget-content"> <div class="table-responsive"> <table class="table table-bordered table-hover table-striped"> <thead> <tr> <th></th> <th>First Name</th> <th>Last Name</th> <th>Email Username</th> <th>Password</th> <th>Control</th> </tr> </thead> <tbody> |
f746aee1b
|
90 91 92 93 94 95 96 |
<tr ng-repeat="additionalAccount in additionalAccounts"> <td> <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteAdditionalAccount(additionalAccount.id)" aria-hidden="true"></i> </td> <td>{{additionalAccount.firstName}}</td> <td>{{additionalAccount.lastName}}</td> <td>{{additionalAccount.userName}}</td> |
b17e02c05
|
97 |
<!-- <td>{{additionalAccount.password}}</td> --> |
9b112a598
|
98 99 |
<td> <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="resetPassword(additionalAccount.userName)" >Reset Password</button></td> <td> |
f746aee1b
|
100 101 |
<toggle ng-model="additionalAccount.status" ng-change="changeStatus(additionalAccount.id, $index)" size="customToogle"></toggle> </td> |
3a9f4472b
|
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
</tr> </tbody> </table> </div> </div> <!-- /widget-content --> </div> <!-- /widget --> </div> <!-- /span6 --> </div> <!-- /widget --> </div> <!-- /container --> <div class="clearfix"></div> |
ae523d5ef
|
117 118 119 120 121 122 123 124 125 126 127 128 129 |
<form class="modal multi-step" id="demo-modal" name="fuelOrderUpdateForm"> <div class="modal-dialog modal-m"> <div class="modal-content"> <div class="modal-body step-1" data-step="1" style="padding: 0;"> <div> <div class="row" style="margin: 0;"> <div> <div class="widget" style="margin-bottom: 0;"> <div class="widget-header"> <i class="icon-pencil"></i> <i class="fa fa-user" aria-hidden="true"></i> <h3>Account Settings</h3> <div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> |
f746aee1b
|
130 |
<toggle ng-model="accountdata.status" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> |
ae523d5ef
|
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 |
</div> <div class="clearfix"></div> </div> <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> <div class="col-xs-12"> <div class="col-xs-12"> <h2 style="color:#666;">Additional User Control</h2> </div> <div class="clearfix"></div><br> <div class="col-xs-12"> <div class="col-md-6"> <div class="pull-left" style="width: 110px;"> <label class="new-input-label"><b>First Name</b></label> </div> </div> <div class="col-md-6"> <div class="pull-left" style="width: 110px;"> <label class="new-input-label"><b>Last Name</b></label> </div> </div> </div> <br/> <div class="col-xs-12"> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
167 |
<input type="text" ng-model="accountdata.firstName" placeholder="First Name" class="form-control" > |
ae523d5ef
|
168 169 170 171 172 173 |
</div> <div class="clearfix"></div> </div> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
174 |
<input type="text" ng-model="accountdata.lastName" placeholder="Last Name" class="form-control" > |
ae523d5ef
|
175 176 177 178 179 180 181 182 183 184 185 186 |
</div> <div class="clearfix"></div> </div> </div> <div class="clearfix"></div> <br/> <div class="col-xs-12"> <div class="col-md-6"> <div class="pull-left" style="width: 110px;"> |
671643c9f
|
187 |
<label class="new-input-label"><b>Email Username</b></label> |
ae523d5ef
|
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
</div> </div> <div class="col-md-6"> <div class="pull-left" style="width: 110px;"> <label class="new-input-label"><b>Password</b></label> </div> </div> </div> <br/> <div class="col-xs-12"> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
3e6e9e0f4
|
207 |
<input type="email" ng-model="accountdata.userName" ng-blur="checkEmail(accountdata.userName, 'additional')" placeholder="XYZfbo@gmail.com" class="form-control" required > |
ae523d5ef
|
208 209 210 211 212 213 |
</div> <div class="clearfix"></div> </div> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
214 |
<input type="text" ng-model="accountdata.password" placeholder="Password" class="form-control" > |
ae523d5ef
|
215 216 217 218 219 220 221 222 223 224 |
</div> <div class="clearfix"></div> </div> </div> <div class="clearfix"></div> <div class="clearfix"></div> <br/> <div class="col-xs-12"> <div class="col-md-6"> |
f746aee1b
|
225 |
<input type="checkbox" id="Weekdays" ng-model="accountdata.allowFma" >  Allow Fuel Manager Access |
ae523d5ef
|
226 |
<br> |
f746aee1b
|
227 |
<input type="checkbox" id="Weekdays" ng-model="accountdata.allowEpd" >  Allow Emailed Price Distribution |
ae523d5ef
|
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
</div> </div> <div class="clearfix"></div> <br/> <div class="col-xs-12"> </div> </div> </div> </div> </div> </div> </div> <div class="modal-footer" style="border-top: 0;"> |
4c25c98b5
|
246 |
<button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="createAddAccount()" >Save</button> |
ae523d5ef
|
247 248 249 250 251 252 |
<button type="button" class="btn btn-default" ng-click="cancelAddAccount()" data-dismiss="modal">Cancel</button> </div> </div> </div> </div> </form> |
f746aee1b
|
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
<div class="customConfirmPopBackdrop" id="delete1"> <div class="customModalInner" style="max-width: 400px;"> <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> <table> <tr> <td> <img src="img/info.png" style="width: 50px;"> </td> <td> <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Account?</p> </td> </tr> </table> </div> <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="accnDelete()">Accept</button> <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button> </div> </div> </div> |
ae523d5ef
|
273 |
|
9aea92263
|
274 275 |
|