Files
grafana/public/app/features/profile/partials/password.html
2016-02-20 14:48:10 +01:00

33 lines
1.0 KiB
HTML

<navbar icon="icon-gf icon-gf-users" title="Profile" title-url="profile">
</navbar>
<div class="page-container">
<div class="page-header">
<h1>Change password</h1>
</div>
<form name="userForm" class="gf-form-group">
<div class="gf-form">
<span class="gf-form-label width-10">Old Password</span>
<input class="gf-form-input max-width-21" type="text" required ng-model="command.oldPassword">
</div>
<div class="gf-form">
<span class="gf-form-label width-10">New Password</span>
<input class="gf-form-input max-width-21" type="text" required ng-minlength="4" ng-model="command.newPassword">
</div>
<div class="gf-form">
<span class="gf-form-label width-10">Confirm Password</span>
<input class="gf-form-input max-width-21" type="text" required ng-minlength="4" ng-model="command.confirmNew">
</div>
<div class="gf-form-button-row">
<button type="submit" class="btn btn-success" ng-click="changePassword()">Change Password</button>
<a class="btn-text" href="profile">Cancel</a>
</div>
</form>
</div>