From 59303dc73774630fb179a11db9dff42642a40e6b Mon Sep 17 00:00:00 2001 From: leosw Date: Fri, 28 May 2021 21:11:07 +0200 Subject: [PATCH] Changes input fields to correct HTML5 types --- views/css/d.poi.css | 10 +++++++++- views/d.contact.html | 2 +- views/d.poi.edit.html | 6 +++--- views/d.user.password_lost.html | 2 +- views/d.user.profile.edit.html | 2 +- views/d.user.signin.html | 2 +- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/views/css/d.poi.css b/views/css/d.poi.css index cbb1634..eb70d5a 100755 --- a/views/css/d.poi.css +++ b/views/css/d.poi.css @@ -74,10 +74,18 @@ form.form h1 { margin-right: 0 !important; } -.flex_line input[type=text] { +.flex_line input[type=number], .flex_line input[type=text] { flex: 1; margin: 10px 5px 0 5px; } +.noarrow::-webkit-inner-spin-button, +.noarrow::-webkit-outer-spin-button, +.noarrow { + -webkit-appearance: none; + -moz-appearance: textfield; + appearance: textfield; + margin: 0; +} form.form input[type=submit] { width: auto; diff --git a/views/d.contact.html b/views/d.contact.html index a2b31cc..f359af2 100755 --- a/views/d.contact.html +++ b/views/d.contact.html @@ -33,7 +33,7 @@

Message bien envoyé.

- + rankIsHigher("registered")) { ?> diff --git a/views/d.poi.edit.html b/views/d.poi.edit.html index c572742..3fe07dd 100755 --- a/views/d.poi.edit.html +++ b/views/d.poi.edit.html @@ -27,9 +27,9 @@
- - - + + +
diff --git a/views/d.user.password_lost.html b/views/d.user.password_lost.html index 2d0d6a1..a27e1d9 100755 --- a/views/d.user.password_lost.html +++ b/views/d.user.password_lost.html @@ -13,7 +13,7 @@

Cette adresse mail n'existe pas.

- + diff --git a/views/d.user.profile.edit.html b/views/d.user.profile.edit.html index 4efa182..3c4c7a9 100755 --- a/views/d.user.profile.edit.html +++ b/views/d.user.profile.edit.html @@ -39,7 +39,7 @@