diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2020-10-29 12:13:04 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2020-10-29 12:13:04 +0100 |
commit | ee43823179ee627ac16ea9da8168e5f1bf9619c0 (patch) | |
tree | 5e6c36d5629d2ce79f3cb1310998dc715a6f19c7 /templates/webmail/noaction.html.ep |
Initial commit; Stable version
Diffstat (limited to 'templates/webmail/noaction.html.ep')
-rw-r--r-- | templates/webmail/noaction.html.ep | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/templates/webmail/noaction.html.ep b/templates/webmail/noaction.html.ep new file mode 100644 index 0000000..54a8106 --- /dev/null +++ b/templates/webmail/noaction.html.ep @@ -0,0 +1,60 @@ +% layout 'mainlayout'; + +<table id=noaction> + <thead> + <tr> + <th id=top-section> JWebmail – <%= ucfirst l 'login' %> </th> + </tr> + </thead> + + <tbody> +% if (my $msg = flash('message') || stash('warning')) { + <tr> + <td class="warning flash-fade"> + %= $msg + <td> + </tr> +% } + + <tr> + <td class=login-form> + <form method=post name=login1 action="<%= url_for('login') %>"> + + <table> + <tr> + <td class=label-cell> + <label for=userid><%= ucfirst l 'userid' %></label>: + </td> + <td> + %= text_field 'userid' + </td> + </tr> + <tr> + <td class=label-cell> + <label for=password><%= ucfirst l 'passwd' %></label>: + </td> + <td> + %= password_field 'password' + </td> + </tr> + <tr class=submit-row> + <td colspan=2> + <input type=submit value="<%= l 'login' %>"> + </td> + </tr> + </table> + + </form> + </td> + </tr> + + </tbody> +</table> + +%= javascript begin + if (!document.login1.userid.value) { + document.login1.userid.focus(); + } else { + document.login1.password.focus(); + } +% end |