reset-password-request.tpl.html
2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!--
Copyright © 2016-2017 The Thingsboard Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<md-content layout="row" layout-align="center center" style="width: 100%;">
<md-card flex="initial" class="tb-login-card" md-theme="tb-dark">
<md-card-title>
<md-card-title-text>
<span translate class="md-headline">login.request-password-reset</span>
</md-card-title-text>
</md-card-title>
<md-progress-linear class="md-warn" style="z-index: 1; max-height: 5px; width: inherit; position: absolute"
md-mode="indeterminate" ng-disabled="!loading" ng-show="loading"></md-progress-linear>
<md-card-content>
<form class="request-password-reset-form" ng-submit="vm.sendResetPasswordLink()">
<div layout="column" layout-padding="" id="toast-parent">
<span style="height: 50px;"></span>
<md-input-container class="md-block">
<label translate>login.email</label>
<md-icon aria-label="{{ 'login.email' | translate }}" class="material-icons">
email
</md-icon>
<input id="email-input" type="email" autofocus ng-model="vm.email"/>
</md-input-container>
<div layout="column" layout-gt-sm="row" layout-padding=""
layout-align="start center"
layout-align-gt-sm="center start">
<md-button class="md-raised md-accent" type="submit">{{ 'login.request-password-reset' |
translate }}
</md-button>
<md-button class="md-raised" ui-sref="login">{{ 'action.cancel' | translate }}</md-button>
</div>
</div>
</form>
</md-card-content>
</md-card>
</md-content>