blob: 683762130b3b383f2f9b14890a053236c3fbaf2c (
plain) (
blame)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-2000px" tabindex="-1">
<input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-2000px" tabindex="-1">
<h2>{{lang_editUser}}</h2>
<div class="row">
<div class="col-md-4"><label for="login">{{lang_login}}</label></div>
<div class="col-md-4"><input id="login" type="text" name="login" value="{{login}}" class="form-control event-box"
placeholder="{{lang_username}}" autofocus></div>
</div>
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-8">
<p>
{{lang_changeLoginHint}}
</p>
</div>
</div>
<div class="row">
<div class="col-md-4"><label for="pass1">{{lang_changePassword}}</label></div>
<div class="col-md-4"><input id="pass1" {{password_disabled}} type="password" name="pass1" class="form-control event-box" placeholder="{{lang_password}}">
</div>
<div class="col-md-4"><input id="pass2" {{password_disabled}} type="password" name="pass2" class="form-control event-box"
placeholder="{{lang_confirmation}}"></div>
</div>
{{#password_disabled}}
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-8">
<p>
{{lang_changeOwnPasswordHint}}
</p>
</div>
</div>
{{/password_disabled}}
<br>
<div class="row">
<div class="col-md-4"><label for="fullname">{{lang_fullName}}</label></div>
<div class="col-md-4"><input id="fullname" type="text" name="fullname" value="{{fullname}}" class="form-control event-box"
placeholder="{{lang_fullName}}"></div>
</div>
<br>
<div class="row">
<div class="col-md-4"><label for="phone">{{lang_phone}}</label></div>
<div class="col-md-4"><input id=phone" type="text" name="phone" value="{{phone}}" class="form-control"
placeholder="{{lang_phone}}"></div>
</div>
<br>
<div class="row">
<div class="col-md-4"><label for="email">{{lang_email}}</label></div>
<div class="col-md-4"><input id="email" type="text" name="email" value="{{email}}" class="form-control" placeholder="{{lang_email}}">
</div>
</div>
<br>
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-8">
<button class="btn btn-lg btn-primary btn-block save-btn" type="submit">
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
<div id="add-msg" class="text-danger slx-bold"></div>
</div>
</div>
<input type="hidden" name="action" value="edituser">
<input type="hidden" name="userid" value="{{userid}}">
<input type="hidden" name="token" value="{{token}}">
<script>
const SLX_EDITUSER = true;
</script>
|