From f9a3c4d7ed9f0ab138b7a474328570b55c2b52dc Mon Sep 17 00:00:00 2001 From: "barraux.a" Date: Wed, 20 Oct 2021 22:19:52 +0200 Subject: [PATCH] on appproche dangereusement de la perfection --- champ.php | 39 ++++++------------------------- img/int_hov.png | Bin 0 -> 11449 bytes index.php | 60 +++++++++++++++++++++++++++--------------------- script.js | 1 - stylepage.css | 30 ++++++++++++++++++++---- 5 files changed, 66 insertions(+), 64 deletions(-) create mode 100644 img/int_hov.png diff --git a/champ.php b/champ.php index 42c9dc4..3b58f97 100644 --- a/champ.php +++ b/champ.php @@ -1,38 +1,13 @@ ',$titre,' : '; - if ($help) { - echo 'point_int'; - } - echo '

-
-
- check - exclamation -
- Error: ',$error,''; +echo '

',$titre,' : '; +if ($help) { + echo 'point_int'; } -elseif ($balise == 'select') { - echo '

',$titre,' :

+echo '

- +
check exclamation -
'; -} -elseif ($balise == 'textarea') { - echo '

',$titre,' :

-
-
- check - exclamation -
- Error: ',$error,''; -} + + Error: ',$error,''; ?> diff --git a/img/int_hov.png b/img/int_hov.png new file mode 100644 index 0000000000000000000000000000000000000000..1227bb503701714f312eadb3775ce76a985f9f24 GIT binary patch literal 11449 zcmeHtXIN9))^32%dk1MDfYd+;0Ya$KdzYpN0Rn_h=qM116anc7f`F(-5=+9&Ub&EK~HGajS>0P|d^xs|^uDhT9*^>)U1ph5m2K4=g+7~>281W!G=Zym_- zJW%6Y@(vZj8F6fMVATgu=YW!i?$)AHa;Y`4O>3kwgz6I&w?TS{~BoVp56Ckm@t2F?-ON)kJvmzqW9Y)jwN zFfFHe@1M4WpRB2Fa|k30?K-qdjLxy@em~F*wzF?8S#tOOamKV9qPU%sTQ?E$G|p+D zURh#yZ|+n4XK_w_$pWVI70HqxmsEz&=Z6P56tFl(HQ0?6^N{^DM_u4z1tRR1zox(R z=;@M>D3`PX4%zUo-lG3{psxf?2SX^`d zb1Se=PAV}?^kMb3PMH2uNOwrawbk*Dl6C9J=ePAH_ok0L&Fi=7g_rua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`@TM?xMB&_dg(89m)C`SDypN_10V%$w5zH^+w6b zSkQRl`=siVnhYA~X2+HdvJpzCL6QOl0zNOi|8x#CmP>s>&mA{Fiv%R8WCMUW13`l3 zPh8dxDV;yc&R2Lof1}|`)qSeV&}JjXaW9Z@K2`VEWYs*Xy`zi+xvhY{_E( zMfM3%;s!v3DoF)EFgU8zc4~yPB9AEqJZB&~PaxhgFqX%ktO>Djmw9Z}B$m_i(WwAH zVYK!5KC$&p9aUYkxi*+jWoFlS`$cm7EZ(S|#7FXzfmQ$Erf6u~R zbXIxmj{=Gz^PThMWnaIDug{nL0&&%^6?oz*c(Ps7=YP(&zkGnCl};SwxQUa81UC^Y z7pKoDdTe=1R60GN@nCEwV|rw>Kk}in^i6nw_s~XA!%KiwjdA2R8iux0;mYTHsYi_N z5}KNzRlt;-sg?;B0ErXFb*F<%Z)GQ5JE;5TD22i>t8$Fq9sDCrnj2{7QV7K&nn2Q3q&>oM*%VJ9s1j^uR&@ zKV3K>-IX13m6(#K^UdZBFP0Orwnew!AX?z~I8GcCnj72f+As8bTvn--IV;!)uw&mYMeq%kxHS(|{cS TdcPNc^#|x^7^+vR+DH8#iEA(y literal 0 HcmV?d00001 diff --git a/index.php b/index.php index 0920930..87c259e 100644 --- a/index.php +++ b/index.php @@ -17,34 +17,32 @@ $titre = 'Date'; $sql_name = 'dates'; $type = 'date'; - $balise = 'input'; $error = 'Veuillez saisir une date'; $help = false; include("champ.php"); ?>
- +

Détails :

+
+
+ check + exclamation +
+ Error: Veuillez remplir ce champ

Entrez le nom du bâtiment dans lequel se trouve le matériel


- Exemple: bâtiment A + Ex: bâtiment A
@@ -52,14 +50,13 @@ $titre = 'Salle'; $sql_name = 'salle'; $type = 'text'; - $balise = 'input'; $error = "Vous n'avez pas saisie de salle"; $help = true; include("champ.php"); ?>

Entrez le nom de la salle dans lequel se trouve le matériel


- Exemple: A 11 codage + Ex: A 11 codage
@@ -67,49 +64,61 @@ $titre = 'Position dans la salle'; $sql_name = 'pos'; $type = 'text'; - $balise = 'input'; $error = 'Veuillez remplir ce champ'; $help = true; include("champ.php"); ?> +
+

Veillez fournir des présision sur la position du matériel


+ Ex: PC-42 au fond à droite +
- -
+

Matériel :

+
+ + check + exclamation +
+
+

Veillez renseigner la marque du matériel


+ Ex: Asus +
+
+

Veillez renseigner le modèle du matériel


+ Ex: Lattitude E6410 +

-
+
diff --git a/script.js b/script.js index 0d83bb7..537a37d 100644 --- a/script.js +++ b/script.js @@ -8,7 +8,6 @@ const help = document.getElementsByClassName('help'); function displayHelp(id) { - console.log(id); id.style.display = 'block'; } diff --git a/stylepage.css b/stylepage.css index 2903480..acddd56 100644 --- a/stylepage.css +++ b/stylepage.css @@ -71,7 +71,7 @@ form{ .champ:focus, .champ:hover{ width: 300px; - border-color: #2ecc71; + border-color: #ac2a8d; background-color: #dddddd; } @@ -84,9 +84,25 @@ form{ right: 20px; } -.submit:hover, .submit:focus{ +.submit{ + background-color: inherit; + display: flex; + position: relative; + flex-direction: row-reverse; + text-align: center; + color: #454444; + display: block; + margin: 10px auto; + border: 4px solid #4e4d4d; + padding: 10px 10px; + width: 200px; + border-radius: 30px; + transition: 0.25s; +} + +.submit:hover{ width: 250px; - background-color: rgba(46, 204, 113, 0.3); + background-color: #82E6AC; border-color: #2ecc71; } @@ -98,14 +114,18 @@ form{ right: 0; top: 30%; border-radius: 30px; - padding: 20px; + padding: 15px; margin: 0; background-color: #dddddd; } .help * { - font-size: 14px + font-size: 14px; + width: 100%; +} +.help p{ + position: relative; } code {