Make it a button

This commit is contained in:
Girish Ramakrishnan
2018-04-26 09:56:10 -07:00
parent 63df9df913
commit 049c2fca8a

View File

@@ -231,15 +231,10 @@
{{ user.fallbackEmail }} <a href="" ng-click="fallbackEmailChange.show()"><i class="fa fa-pencil text-small"></i></a>
</td>
</tr>
<tr>
<td class="text-muted" style="vertical-align: top;">Two-Factor Authentication</td>
<td class="text-right" style="vertical-align: top; white-space: nowrap;">
<span ng-hide="user.twoFactorAuthenticationEnabled">not</span> enabled <a href="" ng-click="twoFactorAuthentication.show()"><i class="fa fa-pencil text-small"></i></a>
</td>
</tr>
<tr>
<td class="text-right" colspan="2" style="vertical-align: top;">
<br/>
<button class="btn btn-outline btn-xs btn-danger" ng-click="twoFactorAuthentication.show()">{{ user.twoFactorAuthenticationEnabled ? 'Disable' : 'Enable' }} 2FA</button>
<button class="btn btn-outline btn-xs btn-danger" ng-click="passwordchange.show()">Change Password</button>
</td>
</tr>