Work on bootstrap theme (#670)

This commit is contained in:
Clément Oudot 2014-06-05 13:49:44 +00:00
parent afaf7dbd9d
commit 2be04f483d
6 changed files with 24 additions and 16 deletions

View File

@ -19,18 +19,18 @@
<div class="panel-heading">
<h3 class="panel-title"><lang en="Confirmation" fr="Confirmation"/></h3>
</div>
<div class="panel-body">
<TMPL_VAR NAME="MSG">
</div>
</div>
<div class="panel-body form">
<TMPL_IF NAME="LIST">
<TMPL_VAR NAME="MSG">
<TMPL_IF NAME="LIST">
<h3><lang en="Select your Identity Provider" fr="Choisissez votre fournisseur d'identité"/></h3>
<input type="hidden" id="idp" name="idp"/>
<TMPL_LOOP NAME="LIST">
<button type="submit" class="positive btn btn-success" onclick="$('#idp').val('<TMPL_VAR NAME="VAL">')">
<button type="submit" class="positive btn btn-info" onclick="$('#idp').val('<TMPL_VAR NAME="VAL">')">
<span class="glyphicon glyphicon-chevron-right"></span>
<TMPL_VAR NAME="NAME">
</button>
</TMPL_LOOP>
@ -42,7 +42,7 @@
</label>
</div>
<TMPL_ELSE>
<TMPL_ELSE>
<TMPL_IF NAME="ACTIVE_TIMER">
@ -58,15 +58,18 @@
<span class="glyphicon glyphicon-ok"></span>
<lang en="Accept" fr="Accepter" />
</button>
<button type="submit" class="negative" onclick="$('#confirm').attr('value','-<TMPL_VAR NAME="CONFIRMKEY">');">
<button type="submit" class="negative btn btn-danger" onclick="$('#confirm').attr('value','-<TMPL_VAR NAME="CONFIRMKEY">');">
<span class="glyphicon glyphicon-stop"></span>
<lang en="Refuse" fr="Refuser" />
</button>
</div>
</TMPL_IF>
</TMPL_IF>
<TMPL_INCLUDE NAME="checklogins.tpl">
<TMPL_INCLUDE NAME="checklogins.tpl">
</div>
</div>
</form>

View File

@ -25,7 +25,7 @@ body {
padding-top: 20px;
}
.login, .password {
.login, .password, .confirm {
text-align: center;
padding: 20px;
}

View File

@ -68,6 +68,8 @@
<TMPL_IF NAME="logo">
<div class="form">
<TMPL_IF NAME="module">
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/<TMPL_VAR NAME="module">.png" alt="<TMPL_VAR NAME="module">" class="img-thumbnail" />
</TMPL_IF>
@ -79,6 +81,8 @@
<lang en="Connect" fr="Se connecter" />
</button>
</div>
</TMPL_IF>
</form>
@ -145,6 +149,7 @@
<input type="hidden" name="url" value="<TMPL_VAR NAME="AUTH_URL">" />
<input type="hidden" name="timezone" />
<div class="form">
<TMPL_IF NAME="module">
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/<TMPL_VAR NAME="module">.png" alt="<TMPL_VAR NAME="module">" class="img-thumbnail" />
</TMPL_IF>
@ -155,6 +160,7 @@
<span class="glyphicon glyphicon-log-in"></span>&nbsp;
<lang en="Connect" fr="Se connecter" />
</button>
</div>
</form>
</div>

View File

@ -1,4 +1,4 @@
<div class="form">
<div class="form-group input-group">
<span class="input-group-addon glyphicon glyphicon-link"> </span>
<input name="openid_identifier" type="text" class="form-control" placeholder="<lang en="Please enter your OpenID login" fr="Entrez votre identifiant OpenID"/>" />
@ -10,4 +10,4 @@
<span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" />
</button>
</div>

View File

@ -43,4 +43,3 @@
</a>
</TMPL_IF>
</div>

View File

@ -1,4 +1,4 @@
<div class="form">
<div class="form-group input-group">
<span class="input-group-addon glyphicon glyphicon-chevron-right"> </span>
<input name="yubikeyOTP" type="text" class="form-control" placeholder="<lang en="Please use your Yubikey" fr="Utilisez votre Yubikey"/>" />
@ -10,4 +10,4 @@
<span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" />
</button>
</div>