Blame view
app/partials/accountSetting/accountSetting.html
13.6 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 85 86 87 88 |
<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> <td>{{additionalAccount.password}}</td> <td> <toggle ng-model="additionalAccount.status" ng-change="changeStatus(additionalAccount.id, $index)" size="customToogle"></toggle> </td> |
3a9f4472b
|
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
</tr> </tbody> </table> </div> </div> <!-- /widget-content --> </div> <!-- /widget --> </div> <!-- /span6 --> </div> <!-- /widget --> </div> <!-- /container --> <div class="clearfix"></div> |
ae523d5ef
|
104 105 106 107 108 109 110 111 112 113 114 115 116 |
<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
|
117 |
<toggle ng-model="accountdata.status" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> |
ae523d5ef
|
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 |
</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
|
154 |
<input type="text" ng-model="accountdata.firstName" placeholder="First Name" class="form-control" > |
ae523d5ef
|
155 156 157 158 159 160 |
</div> <div class="clearfix"></div> </div> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
161 |
<input type="text" ng-model="accountdata.lastName" placeholder="Last Name" class="form-control" > |
ae523d5ef
|
162 163 164 165 166 167 168 169 170 171 172 173 |
</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
|
174 |
<label class="new-input-label"><b>Email Username</b></label> |
ae523d5ef
|
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
</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
|
194 |
<input type="email" ng-model="accountdata.userName" ng-blur="checkEmail(accountdata.userName, 'additional')" placeholder="XYZfbo@gmail.com" class="form-control" required > |
ae523d5ef
|
195 196 197 198 199 200 |
</div> <div class="clearfix"></div> </div> <div class="col-md-6"> <div class="pull-left" style="width: calc(140% - 170px);"> |
f746aee1b
|
201 |
<input type="text" ng-model="accountdata.password" placeholder="Password" class="form-control" > |
ae523d5ef
|
202 203 204 205 206 207 208 209 210 211 |
</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
|
212 |
<input type="checkbox" id="Weekdays" ng-model="accountdata.allowFma" >  Allow Fuel Manager Access |
ae523d5ef
|
213 |
<br> |
f746aee1b
|
214 |
<input type="checkbox" id="Weekdays" ng-model="accountdata.allowEpd" >  Allow Emailed Price Distribution |
ae523d5ef
|
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
</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
|
233 |
<button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="createAddAccount()" >Save</button> |
ae523d5ef
|
234 235 236 237 238 239 |
<button type="button" class="btn btn-default" ng-click="cancelAddAccount()" data-dismiss="modal">Cancel</button> </div> </div> </div> </div> </form> |
f746aee1b
|
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
<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
|
260 261 |
|