Commit 2be04f48 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Work on bootstrap theme (#670)

parent afaf7dbd
......@@ -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>
......
......@@ -25,7 +25,7 @@ body {
padding-top: 20px;
}
.login, .password {
.login, .password, .confirm {
text-align: center;
padding: 20px;
}
......
......@@ -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>
......
<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>
<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>
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