www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit bfac6cafe84b245b31c97aa2bde7e5f5271f80ee
parent a78aff8ea5014a67d4bbeb6d698c646b388ed02b
Author: Yoann Bonavero <yoann.b87@voila.fr>
Date:   Thu, 17 Feb 2011 21:29:36 +0100

Petites reprises sur la page de login.

Diffstat:
Mcode/serveur/php/login.php | 29++++++++++++++++++++++++-----
Mcode/serveur/php/simple.css | 15+++++++++++++++
2 files changed, 39 insertions(+), 5 deletions(-)

diff --git a/code/serveur/php/login.php b/code/serveur/php/login.php @@ -8,9 +8,29 @@ <div class="content"> <p>Vous êtes déjà inscrit&nbsp;? Authentifiez-vous&nbsp;:</p> <form name="loginform" method="post" action="loginaction.php"> - <p> Identifiant&nbsp;: <input name="loginid" type="text" /></p> - <p> Mot de passe&nbsp;: <input name="loginpswd" type="password" /></p> - <p> <input type="submit" name="loginsubmit" value="Valider" /> + <table class="logintbl"> + <tr> + <td> + <label for="loginid"> Identifiant&nbsp;:</label> + </td> + <td> + <input name="loginid" type="text" /><br /> + </td> + </tr> + <tr> + <td> + <label for="loginpswd"> Mot de passe&nbsp;: </label> + </td> + <td> + <input name="loginpswd" type="password" /> + </td> + </tr> + <tr> + <td colspan="2"> + <p> <input type="submit" name="loginsubmit" value="Valider" /> + </td> + </tr> + </table> </form> </div> @@ -18,4 +38,4 @@ <?php include("footer.html"); ?> </div> </body> - </html> -\ No newline at end of file + </html> diff --git a/code/serveur/php/simple.css b/code/serveur/php/simple.css @@ -43,6 +43,21 @@ margin-left : 2%; } +.logintbl { + margin-left : 4%; +} + +.logintbl td { + text-align : right; + padding-left : 5px; + padding-right : 5px; +} + +.logintbl input[type=submit]{ + display : block; + margin : auto; +} + html, body { padding: 0; margin: 0;