Commit 534801ca authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Some adpatations on bootstrap skin (#26)

parent 2a447eeb
......@@ -30,7 +30,7 @@
<input type="hidden" id="idp" name="idp"/>
<TMPL_LOOP NAME="LIST">
<button type="submit" class="positive btn btn-block btn-success" onclick="$('#idp').val('<TMPL_VAR NAME="VAL">')">
<button type="submit" class="positive btn btn-success" onclick="$('#idp').val('<TMPL_VAR NAME="VAL">')">
<TMPL_VAR NAME="NAME">
</button>
</TMPL_LOOP>
......
......@@ -39,6 +39,10 @@ div.actions {
margin: 10px 0 0 0;
}
div.actions a {
margin-top: 10px;
}
.buttons {
text-align: center;
}
......@@ -47,6 +51,10 @@ div.actions {
white-space: normal;
}
.btn span.glyphicon {
padding-right: 8px;
}
#appslist, #password, #loginHistory, #logout {
margin-top: 20px;
}
......
......@@ -74,7 +74,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-block btn-success">
<button type="submit" class="btn btn-success">
<span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" />
</button>
......@@ -151,7 +151,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-block btn-success">
<button type="submit" class="btn btn-success">
<span class="glyphicon glyphicon-log-in"></span>&nbsp;
<lang en="Connect" fr="Se connecter" />
</button>
......
......@@ -11,6 +11,7 @@
<TMPL_IF NAME="DISPLAY_FORM">
<form action="#" method="post" class="login" role="form">
<div class="form">
<TMPL_IF NAME="CHOICE_VALUE">
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
......@@ -34,17 +35,19 @@
</div>
</TMPL_IF>
<button type="submit" class="btn btn-block btn-success" >
<button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-send"></span>
<lang en="Send me a new password" fr="Envoyez-moi un nouveau mot de passe" />
</button>
</div>
</form>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_RESEND_FORM">
<form action="#" method="post" class="login" role="form">
<div class="form">
<TMPL_IF NAME="CHOICE_VALUE">
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
......@@ -70,17 +73,19 @@
</div>
<div class="form-group">
<button type="submit" class="btn btn-block btn-success">
<button type="submit" class="btn btn-success">
<lang en="Submit" fr="Valider" />
</button>
</div>
</div>
</form>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_PASSWORD_FORM">
<div id="password">
<form action="#" method="post" class="password" role="form">
<div class="form">
<TMPL_IF NAME="CHOICE_VALUE">
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
......@@ -110,17 +115,19 @@
</div>
<div class="form-group">
<button type="submit" class="btn btn-block btn-success">
<button type="submit" class="btn btn-success">
<lang en="Submit" fr="Soumettre" />
</button>
</div>
</div>
</form>
</div>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_CONFIRMMAILSENT">
<form action="#" method="post" class="login" role="form">
<div class="form">
<h3>
<lang en="A message has been sent to your mail address." fr="Un message a été envoyé à votre adresse mail." />
</h3>
......@@ -128,14 +135,17 @@
<lang en="This message contains a link to reset your password, this link is valid until " fr="Ce message contient un lien pour réinitialiser votre mot de passe, ce lien est valide jusqu'au " />
<TMPL_VAR NAME="EXPMAILDATE">.
</p>
</div>
</form>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_MAILSENT">
<form action="#" method="post" class="login" role="form">
<div class="form">
<h3>
<lang en="Your new password has been sent to your mail address." fr="Votre nouveau mot de passe a été envoyé à votre adresse mail." />
</h3>
</div>
</form>
</TMPL_IF>
......
......@@ -6,7 +6,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-block btn-success" >
<button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" />
</button>
......
......@@ -40,7 +40,8 @@
<input name="confirmpassword" type="password" class="form-control" placeholder="<lang en="Confirm password" fr="Confirmez le mot de passe" />" required/>
</div>
<button type="submit" class="btn btn-block btn-success" >
<button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-ok"></span>
<lang en="Submit" fr="Soumettre" />
</button>
</div>
......
......@@ -11,13 +11,12 @@
<TMPL_IF NAME="DISPLAY_FORM">
<form action="#" method="post" class="login" role="form">
<div class="form">
<TMPL_IF NAME="CHOICE_VALUE">
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
</TMPL_IF>
<h3><lang en="Please register" fr="Merci de vous enregistrer"/></h3>
<div class="form-group input-group">
<span class="input-group-addon glyphicon glyphicon-user"> </span>
<input name="firstname" type="text" value="<TMPL_VAR NAME="FIRSTNAME">" class="form-control" placeholder="<lang en="First name" fr="Prénom"/>" required />
......@@ -44,17 +43,19 @@
</div>
</TMPL_IF>
<button type="submit" class="btn btn-block btn-success" >
<button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-ok"></span>
<lang en="Submit" fr="Envoyer" />
</button>
</div>
</form>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_RESEND_FORM">
<form action="#" method="post" class="login" role="form">
<div class="form">
<TMPL_IF NAME="CHOICE_VALUE">
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
......@@ -80,16 +81,18 @@
</div>
<div class="form-group">
<button type="submit" class="btn btn-block btn-success">
<button type="submit" class="btn btn-success">
<lang en="Submit" fr="Valider" />
</button>
</div>
</div>
</form>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_CONFIRMMAILSENT">
<form action="#" method="post" class="login" role="form">
<div class="form">
<h3>
<lang en="A message has been sent to your mail address." fr="Un message a été envoyé à votre adresse mail." />
</h3>
......@@ -97,14 +100,17 @@
<lang en="A confirmation link has been sent, this link is valid until " fr="Un lien de confirmation a été envoyé, ce lien est valide jusqu'au " />
<TMPL_VAR NAME="EXPMAILDATE">.
</p>
</div>
</form>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_MAILSENT">
<form action="#" method="post" class="login" role="form">
<div class="form">
<h3>
<lang en="Your account has been created, your temporary password has been sent to your mail address." fr="Votre compte a été créé, un mot de passe temporaire a été envoyé à votre adresse mail." />
</h3>
</div>
</form>
</TMPL_IF>
......
......@@ -22,22 +22,23 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-block btn-success" >
<span class="glyphicon glyphicon-log-in"></span>&nbsp;
<button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" />
</button>
</div>
<div class="actions">
<TMPL_IF NAME="DISPLAY_RESETPASSWORD">
<a class="btn btn-info" href="<TMPL_VAR NAME="MAIL_URL"><TMPL_IF NAME="key">?<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF>">
<span class="glyphicon glyphicon-info-sign"></span>&nbsp;
<span class="glyphicon glyphicon-info-sign"></span>
<lang en="Reset my password" fr="R&eacute;initialiser mon mot de passe"/>
</a>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_REGISTER">
<a class="btn btn-warning" href="<TMPL_VAR NAME="REGISTER_URL"><TMPL_IF NAME="key">?<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF>">
<span class="glyphicon glyphicon-plus-sign"></span>&nbsp;
<span class="glyphicon glyphicon-plus-sign"></span>
<lang en="Create an account" fr="Cr&eacute;er un compte"/>
</a>
</TMPL_IF>
......
......@@ -6,7 +6,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-block btn-success" >
<button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" />
</button>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment