summaryrefslogtreecommitdiffstats
path: root/py-bin/templates/set_pw_form.em
blob: 7e7a3b7b4e051f8bf24869d24e01107ae9a867e6 (plain)
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
@{em_inherit = "jman_base.em"}
@{title = "Passwort setzen"}

@{if not "command" in locals(): command = "set_pw_process"}

<div class="carbonbar">
    <div id="userbar">
      <i>@user_id</i>
      @[if command == "set_pw_process"]
        &nbsp;&nbsp;|&nbsp;
        <a href="main.py?cmd=logout">Ausloggen</a>
      @[end if]
    </div>
  <h2>@title</h2>
</div>

<div id="content">
  @[if "error" in locals() and error != ""] <p>Fehler: <b>@error</b></p> @[end if]  
  <form method="post" action="main.py?cmd=@command">
    <p>Passwort: <input type="password" name="password"/></p>
    <p>Passwort bestätigen: <input type="password" name="password2"/></p>
    <p><input type="reset" value="Zurücksetzen"/>
    <input type="submit" name="submitted" value="Passwort setzen"/></p>
  </form>
  
  @[if command == "set_pw_process"]
    <p><a href="main.py?cmd=setup_main">Zurück</a></p>
  @[end if]
</div>