Commit af4d4391 authored by Clément OUDOT's avatar Clément OUDOT

WIP bootstrap4/fontawesome (#1504)

parent 9d33a297
......@@ -29,7 +29,7 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span>&nbsp;
<span class="fas fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
<TMPL_INCLUDE NAME="header.tpl">
<div class="container">
<main id="menucontent" class="container">
<div id="color" class="message message-positive alert"><span id="msg" trspan="u2fWelcome"></span></div>
</div>
<main id="menucontent" class="container">
<div class="card">
<div class="card-body">
<div id="u2fPermission" trspan="u2fPermission" class="alert alert-info">You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.
<div id="u2fPermission" trspan="u2fPermission" class="alert alert-info">You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.</div>
<div class="row">
<div class="col-md-6 text-center">
<img src="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/u2f.png" alt="U2F" title="U2F" />
</div>
<div class="col-md-6">
<div class="form-group">
<label for="keyName"><span trspan="name">Name</span></label>
<input type="text" class="form-control" id="keyName" name="keyName" value="MyU2FKey" trplaceholder="name" />
</div>
</div>
</div>
<div class="buttons">
<span class="form-group">
<b><span trspan="name">Name</span></b> : <input type="text" id="keyName" name="keyName" value="MyU2FKey"/>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span id="register" class="btn btn-warning" role="button">
<span class="glyphicon glyphicon-plus-sign"></span>&nbsp;
<span id="register" class="btn btn-secondary" role="button">
<span class="fas fa-save"></span>
<span trspan="register">Register</span>
</span>
&nbsp;&nbsp;
<span id="verify" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-check"></span>&nbsp;
<span class="fas fa-check-circle"></span>
<span trspan="verify">Verify</span>
</span>
</div>
......@@ -29,13 +38,13 @@
</main>
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-warning" role="button">
<span class="glyphicon glyphicon-pencil"></span>&nbsp;
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-secondary" role="button">
<span class="fas fa-shield-alt"></span>
<span trspan="sfaManager">sfaManager</span>
</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a id="goback" href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1<TMPL_IF NAME="AUTH_URL">&url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span>&nbsp;
<span class="fas fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -5,19 +5,15 @@
<div class="message message-positive alert"><span trspan="<TMPL_VAR NAME="MSG">"></span></div>
<form id="upgrd" action="/upgradesession" method="post" class="password" role="form">
<div class="form">
<div class="form-group input-group">
<input type="hidden" name="confirm" value="<TMPL_VAR NAME="CONFIRMKEY">">
<input type="hidden" name="url" value="<TMPL_VAR NAME="URL">">
</div>
</div>
<input type="hidden" name="confirm" value="<TMPL_VAR NAME="CONFIRMKEY">">
<input type="hidden" name="url" value="<TMPL_VAR NAME="URL">">
<div class="buttons">
<button type="submit" class="btn btn-success">
<span class="glyphicon glyphicon-log-in"></span>
<span class="fas fa-sign-in-alt"></span>
<span trspan="upgradeSession">Upgrade session</span>
</button>
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span>&nbsp;
<span class="fas fa-home"></span>&nbsp;
<span trspan="goToPortal">Go to portal</span>
</a>
</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