Various minor UI fixes

This commit is contained in:
Girish Ramakrishnan
2019-11-07 09:24:22 -08:00
parent 81aa94c8df
commit 9a0cc4a717
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -37,7 +37,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-danger" ng-click="passwordchange.submit()" ng-disabled="passwordChangeForm.$invalid || passwordchange.busy"><i class="fa fa-circle-notch fa-spin" ng-show="passwordchange.busy"></i> Change</button>
<button type="button" class="btn btn-success" ng-click="passwordchange.submit()" ng-disabled="passwordChangeForm.$invalid || passwordchange.busy"><i class="fa fa-circle-notch fa-spin" ng-show="passwordchange.busy"></i> Change</button>
</div>
</div>
</div>
@@ -277,8 +277,8 @@
<tr>
<td class="text-right" colspan="2" style="vertical-align: top;">
<br/>
<button class="btn btn-primary" ng-click="twoFactorAuthentication.show()">{{ user.twoFactorAuthenticationEnabled ? 'Disable' : 'Enable' }} 2FA</button>
<button class="btn btn-danger" ng-click="passwordchange.show()" ng-hide="user.source">Change Password</button>
<button class="btn btn-primary" ng-click="twoFactorAuthentication.show()">{{ user.twoFactorAuthenticationEnabled ? 'Disable 2FA' : 'Enable 2FA' }}</button>
<button class="btn btn-primary" ng-click="passwordchange.show()" ng-hide="user.source">Change Password</button>
</td>
</tr>
</table>
@@ -295,7 +295,7 @@
<div class="grid-item-top">
<div class="row">
<div class="col-xs-12">
<p>You are logged into {{ activeClients.length + 1 }} app(s), including this session.</p>
<p>You have {{ activeClients.length + 1 }} active session(s), including this one.</p>
<span ng-show="activeTokenCount > 1">
<br/>
<h4>Active Sessions:</h4>