1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

Reprise du style de l'écran de connexion

This commit is contained in:
silvus 2013-04-22 22:58:07 +02:00
parent d3607de929
commit 9acfade829
4 changed files with 37 additions and 27 deletions

View File

@ -8,6 +8,16 @@ a, a:hover, a:visited {
color: #000; color: #000;
} }
.bouton {
background-color: #000;
color: #fff;
border: none;
}
.bouton:hover {
background-color: #040707;
color: #F1F1F1;
}
#main ul#links li a.current { #main ul#links li a.current {
background-color: #000; background-color: #000;
color: #fff; color: #fff;

View File

@ -4,11 +4,14 @@ body {
margin: 10px; margin: 10px;
} }
header { header {
text-align: center; text-align: center;
} }
.bouton {
border-radius: 2px;
}
#main ul#links { #main ul#links {
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;
@ -56,11 +59,6 @@ footer {
text-align: right; text-align: right;
} }
/*** ***/
/*** LOGIN FORM ***/
ul#login li {
list-style-type: none;
}
/*** ***/ /*** ***/
/*** LINKS DISPLAY ***/ /*** LINKS DISPLAY ***/

View File

@ -5,27 +5,29 @@
</header> </header>
<div id="main"> <div id="main">
<form method="post" action="?login" name="loginform"> <form method="post" action="?login" name="loginform">
<fieldset> <fieldset class="w500p center">
<h2>login to your poche</h2> <h2 class="mbs txtcenter">login to your poche</h2>
<ul id="login"> <div class="row">
<li> <label class="col w150p" for="login">Login</label>
<label for="login">Login</label> <input type="text" id="login" name="login" placeholder="Login" tabindex="1"> <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus />
</li> </div>
<li> <div class="row">
<label for="password">Password</label> <input type="password" id="password" name="password" placeholder="Password" tabindex="2"> <label class="col w150p" for="password" >Password</label>
</li> <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2">
<li> </div>
<label><input type="checkbox" name="longlastingsession" tabindex="3">&nbsp;Stay signed in (Do not check on public computers)</label> <div class="row">
</li> <label class="col w150p">Stay signed in</label>
<li> <div class="col">
<button type="submit" tabindex="4">Sign in</button> <input type="checkbox" name="longlastingsession" tabindex="3">
</li> <small class="inbl">(Do not check on public computers)</small>
</ul> </div>
</div>
<div class="row mts txtcenter">
<button class="bouton" type="submit" tabindex="4">Sign in</button>
</div>
</fieldset> </fieldset>
<input type="hidden" name="returnurl" value="<?php echo htmlspecialchars($referer);?>"> <input type="hidden" name="returnurl" value="<?php echo htmlspecialchars($referer);?>">
<input type="hidden" name="token" value="<?php echo Session::getToken(); ?>"> <input type="hidden" name="token" value="<?php echo Session::getToken(); ?>">
</form> </form>
<script type="text/javascript">
window.onload = document.loginform.login.focus();
</script>
{include="footer"} {include="footer"}