From a6e6f8be88a93699765f25aee0e6109a3eb0b307 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 3 May 2022 18:22:43 +0200 Subject: reworked templates based on purecss --- templates/webmail/login.html.ep | 69 ++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 45 deletions(-) (limited to 'templates/webmail/login.html.ep') diff --git a/templates/webmail/login.html.ep b/templates/webmail/login.html.ep index 4b2da5d..3e224a8 100644 --- a/templates/webmail/login.html.ep +++ b/templates/webmail/login.html.ep @@ -1,55 +1,34 @@ % layout 'mainlayout'; - - - - - - +
+ +

+ JWebmail – <%= ucfirst l 'login' %> +

-
% if (my $msg = flash('message') || stash('warning')) { - - +

+ %= $msg +

% } - - - + %= form_for login => (name => 'login1') => (method => 'post') => (class => 'pure-form pure-form-aligned jwm-round') => begin +
+
+ %= label_for userid => ucfirst l 'userid' + %= text_field 'userid' => '' => (required => '') +
+
+ %= label_for password => ucfirst l 'passwd' + %= password_field 'password' => (required => '') +
+
+ %= submit_button l('login') => (class => 'pure-button pure-button-primary') +
+
+ % end - -
JWebmail – <%= ucfirst l 'login' %>
- %= $msg - -
+ %= javascript begin if (!document.login1.userid.value) { -- cgit v1.2.3