From ebe37a68d39dbc1cc4f6af1c05301d5a5fc29c13 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 1 May 2022 22:35:48 +0200 Subject: mostly renamed 'noaction' to 'login' be carefult with GET vs POST --- templates/not_found_.html.ep | 4 +-- templates/webmail/about.html.ep | 2 +- templates/webmail/login.html.ep | 60 ++++++++++++++++++++++++++++++++++++++ templates/webmail/noaction.html.ep | 60 -------------------------------------- 4 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 templates/webmail/login.html.ep delete mode 100644 templates/webmail/noaction.html.ep (limited to 'templates') diff --git a/templates/not_found_.html.ep b/templates/not_found_.html.ep index d1b353f..b96e46e 100644 --- a/templates/not_found_.html.ep +++ b/templates/not_found_.html.ep @@ -9,8 +9,8 @@ Not the page you are looking for.

- Go back or go to the start page. + Go back or go to the <%= link_to 'start page' => 'login' %>.

- \ No newline at end of file + diff --git a/templates/webmail/about.html.ep b/templates/webmail/about.html.ep index 60fe549..5cee603 100644 --- a/templates/webmail/about.html.ep +++ b/templates/webmail/about.html.ep @@ -64,7 +64,7 @@ diff --git a/templates/webmail/login.html.ep b/templates/webmail/login.html.ep new file mode 100644 index 0000000..4b2da5d --- /dev/null +++ b/templates/webmail/login.html.ep @@ -0,0 +1,60 @@ +% layout 'mainlayout'; + + + + + + + + + +% if (my $msg = flash('message') || stash('warning')) { + + +% } + + + + + + +
JWebmail – <%= ucfirst l 'login' %>
+ %= $msg + +
+ +%= javascript begin + if (!document.login1.userid.value) { + document.login1.userid.focus(); + } else { + document.login1.password.focus(); + } +% end diff --git a/templates/webmail/noaction.html.ep b/templates/webmail/noaction.html.ep deleted file mode 100644 index 2608bda..0000000 --- a/templates/webmail/noaction.html.ep +++ /dev/null @@ -1,60 +0,0 @@ -% layout 'mainlayout'; - - - - - - - - - -% if (my $msg = flash('message') || stash('warning')) { - - -% } - - - - - - -
JWebmail – <%= ucfirst l 'login' %>
- %= $msg - -
- -%= javascript begin - if (!document.login1.userid.value) { - document.login1.userid.focus(); - } else { - document.login1.password.focus(); - } -% end -- cgit v1.2.3