Blame view
app/partials/accountSetting/accountSetting.html
13.8 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 25 26 27 28 29 30 31 |
</div> <div class="col-xs-12"> <div class="col-xs-12"> <div class="form-group"> <div class="row"> <div class="col-md-5"> <label class="new-input-label"><b>Fuel Types Offered </b></label> </div> |
bb639860c
|
32 33 34 35 36 |
<div class="col-md-7" > <label ng-repeat="product in productList" style="width: 100%; font-weight: normal;"> <!-- <input type="checkbox" ng-model="product.status" ng-click="checkProduct(product)"> {{product.name}}<br> --> <input type="checkbox" id="Weekdays" ng-model="product.status" ng-click="checkProduct(productList, product, $index)">{{product.name}} </label> |
3a9f4472b
|
37 38 39 40 41 |
</div> </div> </div> </div> </div> |
bb639860c
|
42 43 44 45 46 |
<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
|
47 48 49 50 51 52 53 54 55 56 57 58 |
</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
|
59 |
<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
|
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
</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
|
78 79 80 81 82 83 84 |
<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
|
85 |
<!-- <td>{{additionalAccount.password}}</td> --> |
9b112a598
|
86 87 |
<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
|
88 89 |
<toggle ng-model="additionalAccount.status" ng-change="changeStatus(additionalAccount.id, $index)" size="customToogle"></toggle> </td> |
3a9f4472b
|
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
</tr> </tbody> </table> </div> </div> <!-- /widget-content --> </div> <!-- /widget --> </div> <!-- /span6 --> </div> <!-- /widget --> </div> <!-- /container --> <div class="clearfix"></div> |
ae523d5ef
|
105 106 107 108 109 110 111 112 113 114 115 116 117 |
<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
|
118 |
<toggle ng-model="accountdata.status" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> |
ae523d5ef
|
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 |
</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
|
155 |
<input type="text" ng-model="accountdata.firstName" placeholder="First Name" class="form-control" > |
ae523d5ef
|
156 157 158 159 160 161 |
</div> <div class="clearfix"></div> </div> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
162 |
<input type="text" ng-model="accountdata.lastName" placeholder="Last Name" class="form-control" > |
ae523d5ef
|
163 164 165 166 167 168 169 170 171 172 173 174 |
</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
|
175 |
<label class="new-input-label"><b>Email Username</b></label> |
ae523d5ef
|
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
</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
|
195 |
<input type="email" ng-model="accountdata.userName" ng-blur="checkEmail(accountdata.userName, 'additional')" placeholder="XYZfbo@gmail.com" class="form-control" required > |
ae523d5ef
|
196 197 198 199 200 201 |
</div> <div class="clearfix"></div> </div> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
202 |
<input type="text" ng-model="accountdata.password" placeholder="Password" class="form-control" > |
ae523d5ef
|
203 204 205 206 207 208 209 210 211 212 |
</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
|
213 |
<input type="checkbox" id="Weekdays" ng-model="accountdata.allowFma" >  Allow Fuel Manager Access |
ae523d5ef
|
214 |
<br> |
f746aee1b
|
215 |
<input type="checkbox" id="Weekdays" ng-model="accountdata.allowEpd" >  Allow Emailed Price Distribution |
ae523d5ef
|
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 |
</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
|
234 |
<button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="createAddAccount()" >Save</button> |
ae523d5ef
|
235 236 237 238 239 240 |
<button type="button" class="btn btn-default" ng-click="cancelAddAccount()" data-dismiss="modal">Cancel</button> </div> </div> </div> </div> </form> |
f746aee1b
|
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
<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
|
261 262 |
|