From e1c74b126019f5838c7d61396d50fc5fe8551892 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Sat, 13 Aug 2016 12:17:08 +0200 Subject: [PATCH] add: HTML5-defined 'required' attributes on mandatory input fields This is done for client-side form validation as defined in: https://www.w3.org/TR/html5/forms.html#the-required-attribute Change-Id: I2f3390d4abdbed3ec68b2a6fef9d48151c7de7ab --- src/org/cacert/gigi/pages/LoginPage.templ | 4 ++-- src/org/cacert/gigi/pages/PasswordResetForm.templ | 6 +++--- .../gigi/pages/account/ChangePasswordForm.templ | 6 +++--- .../gigi/pages/account/domain/DomainAddForm.templ | 2 +- .../gigi/pages/account/mail/MailAddForm.templ | 2 +- .../pages/admin/support/FindUserByDomainForm.templ | 2 +- .../pages/admin/support/FindUserByEmailForm.templ | 2 +- .../admin/support/SupportEnterTicketForm.templ | 2 +- .../cacert/gigi/pages/orga/AffiliationForm.templ | 2 +- src/org/cacert/gigi/pages/orga/CreateOrgForm.templ | 6 +++--- src/org/cacert/gigi/pages/wot/AssuranceForm.templ | 14 +++++++------- src/org/cacert/gigi/pages/wot/AssureeSearch.templ | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/org/cacert/gigi/pages/LoginPage.templ b/src/org/cacert/gigi/pages/LoginPage.templ index d9c21d38..b4d04be8 100644 --- a/src/org/cacert/gigi/pages/LoginPage.templ +++ b/src/org/cacert/gigi/pages/LoginPage.templ @@ -1,8 +1,8 @@

-
-
+
+


'wiki page!'' for more information?>

diff --git a/src/org/cacert/gigi/pages/PasswordResetForm.templ b/src/org/cacert/gigi/pages/PasswordResetForm.templ index 1d12004d..b43e9152 100644 --- a/src/org/cacert/gigi/pages/PasswordResetForm.templ +++ b/src/org/cacert/gigi/pages/PasswordResetForm.templ @@ -7,15 +7,15 @@ : - + *: - + *: - + *'FAQ!''.?> diff --git a/src/org/cacert/gigi/pages/account/ChangePasswordForm.templ b/src/org/cacert/gigi/pages/account/ChangePasswordForm.templ index 33f349f7..a0fc4529 100644 --- a/src/org/cacert/gigi/pages/account/ChangePasswordForm.templ +++ b/src/org/cacert/gigi/pages/account/ChangePasswordForm.templ @@ -7,15 +7,15 @@ : - + *: - + *: - + *'FAQ!''.?> diff --git a/src/org/cacert/gigi/pages/account/domain/DomainAddForm.templ b/src/org/cacert/gigi/pages/account/domain/DomainAddForm.templ index d16aa3ef..94e04edc 100644 --- a/src/org/cacert/gigi/pages/account/domain/DomainAddForm.templ +++ b/src/org/cacert/gigi/pages/account/domain/DomainAddForm.templ @@ -7,7 +7,7 @@ - ( example.org) + ( example.org) diff --git a/src/org/cacert/gigi/pages/account/mail/MailAddForm.templ b/src/org/cacert/gigi/pages/account/mail/MailAddForm.templ index 23d98c42..31325860 100644 --- a/src/org/cacert/gigi/pages/account/mail/MailAddForm.templ +++ b/src/org/cacert/gigi/pages/account/mail/MailAddForm.templ @@ -1,7 +1,7 @@ - + diff --git a/src/org/cacert/gigi/pages/admin/support/FindUserByDomainForm.templ b/src/org/cacert/gigi/pages/admin/support/FindUserByDomainForm.templ index 0eb660d4..2a5a8523 100644 --- a/src/org/cacert/gigi/pages/admin/support/FindUserByDomainForm.templ +++ b/src/org/cacert/gigi/pages/admin/support/FindUserByDomainForm.templ @@ -4,7 +4,7 @@ - + diff --git a/src/org/cacert/gigi/pages/admin/support/FindUserByEmailForm.templ b/src/org/cacert/gigi/pages/admin/support/FindUserByEmailForm.templ index a6b4549c..8563721e 100644 --- a/src/org/cacert/gigi/pages/admin/support/FindUserByEmailForm.templ +++ b/src/org/cacert/gigi/pages/admin/support/FindUserByEmailForm.templ @@ -15,7 +15,7 @@ - + diff --git a/src/org/cacert/gigi/pages/admin/support/SupportEnterTicketForm.templ b/src/org/cacert/gigi/pages/admin/support/SupportEnterTicketForm.templ index 292e8b2d..27b901b4 100644 --- a/src/org/cacert/gigi/pages/admin/support/SupportEnterTicketForm.templ +++ b/src/org/cacert/gigi/pages/admin/support/SupportEnterTicketForm.templ @@ -4,7 +4,7 @@ - + diff --git a/src/org/cacert/gigi/pages/orga/AffiliationForm.templ b/src/org/cacert/gigi/pages/orga/AffiliationForm.templ index a67730f8..84be5cc4 100644 --- a/src/org/cacert/gigi/pages/orga/AffiliationForm.templ +++ b/src/org/cacert/gigi/pages/orga/AffiliationForm.templ @@ -15,7 +15,7 @@ - + diff --git a/src/org/cacert/gigi/pages/orga/CreateOrgForm.templ b/src/org/cacert/gigi/pages/orga/CreateOrgForm.templ index 7f34782b..7fdd98de 100644 --- a/src/org/cacert/gigi/pages/orga/CreateOrgForm.templ +++ b/src/org/cacert/gigi/pages/orga/CreateOrgForm.templ @@ -12,17 +12,17 @@ - - + - + diff --git a/src/org/cacert/gigi/pages/wot/AssuranceForm.templ b/src/org/cacert/gigi/pages/wot/AssuranceForm.templ index 004710aa..297397c6 100644 --- a/src/org/cacert/gigi/pages/wot/AssuranceForm.templ +++ b/src/org/cacert/gigi/pages/wot/AssuranceForm.templ @@ -1,4 +1,4 @@ -
:
:
:value="" name="ticketno">value="" name="ticketno" required>
: +
:
:
:
+
@@ -16,23 +16,23 @@ - + - + - + - + - + @@ -45,7 +45,7 @@ - + diff --git a/src/org/cacert/gigi/pages/wot/AssureeSearch.templ b/src/org/cacert/gigi/pages/wot/AssureeSearch.templ index de9282e5..7fc80b17 100644 --- a/src/org/cacert/gigi/pages/wot/AssureeSearch.templ +++ b/src/org/cacert/gigi/pages/wot/AssureeSearch.templ @@ -8,7 +8,7 @@ - +
()


'ToS!''), Verification Policy and the Verification Handbook. I am making this verification subject to and in compliance with the ToS, Verification Policy and Handbook.?>

(Max. )

(Max. )
:

-- 2.39.2