Commit 0ae3d495 authored by Clément OUDOT's avatar Clément OUDOT

Use FontAwesome 4 in templates (#1504)

parent 13bcf9fb
......@@ -16,7 +16,7 @@
</div>
<div class="buttons mt-3">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -28,7 +28,7 @@
<td class="data-epoch"><TMPL_VAR NAME="epoch"></td>
<td>
<span device='<TMPL_VAR NAME="type">' epoch='<TMPL_VAR NAME="epoch">' class="btn btn-danger" role="button">
<span class="fas fa-minus-circle"></span>
<span class="fa fa-minus-circle"></span>
<span trspan="unregister">Unregister</span>
</span>
</td>
......@@ -59,7 +59,7 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -28,11 +28,11 @@
<div class="buttons">
<button type="submit" class="positive btn btn-success">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="accept">Accept</span>
</button>
<button id="refuse" type="submit" class="negative btn btn-danger" val="-<TMPL_VAR NAME="CONFIRMKEY">">
<span class="fas fa-times-circle"></span>
<span class="fa fa-times-circle"></span>
<span trspan="refuse">Refuse</span>
</button>
</div>
......@@ -57,7 +57,7 @@
<div id="logout">
<div class="buttons">
<a 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="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -2,7 +2,7 @@
<p>
<span trspan="serviceProvidedBy">Service provided by</span>
<a href="https://lemonldap-ng.org" target="_blank" class="btn btn-secondary btn-sm">
<span class="fas fa-globe"></span>
<span class="fa fa-globe"></span>
LemonLDAP::NG
</a>
<span trspan="gplSoft">free software covered by the GPL license</span>.
......
......@@ -46,12 +46,12 @@
<div class="buttons">
<a 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="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
<TMPL_IF NAME="LOGOUT_URL">
<a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-danger" role="button">
<span class="fas fa-sign-out-alt"></span>
<span class="fa fa-sign-out"></span>
<span trspan="logout">Logout</span>
</a>
</TMPL_IF>
......
......@@ -12,21 +12,21 @@
<input type="hidden" id="checkLogins" name="checkLogins" value="<TMPL_VAR NAME="CHECKLOGINS">">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i> </span>
<span class="input-group-text"><i class="fa fa-lock"></i> </span>
<input name="code" value="" class="form-control" id="extcode" trplaceholder="code">
</div>
</div>
</div>
<div class="buttons">
<button type="submit" class="btn btn-success">
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
<br/>
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -14,17 +14,17 @@
//elsif:useexternallibs
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/css/styles.min.css" />
//elsif:cssminified
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/bootstrap/dist/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/font-awesome/dist/css/fontawesome-all.min.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/css/styles.min.css" />
//else -->
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/bootstrap/dist/css/bootstrap-theme.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/font-awesome/dist/css/fontawesome-all.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/font-awesome/css/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/css/styles.css" />
<!-- //endif -->
<link rel="stylesheet" type="text/css" href="/portal.css" />
......
......@@ -34,7 +34,7 @@
<TMPL_IF NAME="icon">
<img src="<TMPL_VAR NAME="icon">" class="mr-2" alt="<TMPL_VAR NAME="NAME">" title="<TMPL_VAR NAME="NAME">" />
<TMPL_ELSE>
<i class="fas fa-globe mr-2"></i>
<i class="fa fa-globe mr-2"></i>
<TMPL_VAR NAME="NAME">
</TMPL_IF>
</button>
......@@ -68,7 +68,7 @@
<div id="logout">
<div class="buttons">
<a 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="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -21,11 +21,11 @@
</div>
<div class="buttons">
<button type="submit" class="positive btn btn-success">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="continue">Continue</span>
</button>
<button id="wait" type="reset" class="negative btn btn-danger">
<span class="fas fa-stopwatch"></span>
<span class="fa fa-stop"></span>
<span trspan="wait">Wait</span>
</button>
</div>
......
......@@ -14,7 +14,7 @@
<!-- Authentication loop -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#"><i class="fas fa-user-shield"></i></a>
<a class="navbar-brand" href="#"><i class="fa fa-user-circle"></i></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
......@@ -73,7 +73,7 @@
<div class="buttons">
<button type="submit" class="btn btn-success">
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
......@@ -183,7 +183,7 @@
<div class="buttons">
<button type="submit" class="btn btn-success">
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
......@@ -209,7 +209,7 @@
<div class="buttons">
<TMPL_IF NAME="MSG"><TMPL_VAR NAME="MSG"></TMPL_IF>
<a 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="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......@@ -220,7 +220,7 @@
<div id="logout">
<div class="buttons">
<a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-danger" role="button">
<span class="fas fa-sign-out-alt"></span>&nbps;
<span class="fa fa-sign-out"></span>&nbps;
<span trspan="logout">Logout</span>
</a>
</div>
......
......@@ -23,7 +23,7 @@
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-envelope"></i> </span>
<span class="input-group-text"><i class="fa fa-envelope"></i> </span>
</div>
<input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">" class="form-control" trplaceholder="mail" required />
</div>
......@@ -34,7 +34,7 @@
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-eye"></i> </span>
<span class="input-group-text"><i class="fa fa-eye"></i> </span>
</div>
<input type="text" name="captcha" size="<TMPL_VAR NAME=CAPTCHA_SIZE>" class="form-control" trplaceholder="captcha" required />
</div>
......@@ -44,7 +44,7 @@
</TMPL_IF>
<button type="submit" class="btn btn-success">
<span class="fas fa-envelope-open-text"></span>
<span class="fa fa-envelope-open"></span>
<span trspan="sendPwd">Send me a new password</span>
</button>
......@@ -87,7 +87,7 @@
</div>
<button type="submit" class="btn btn-success">
<span class="fas fa-envelope-open-text"></span>
<span class="fa fa-envelope-open"></span>
<span trspan="submit">Submit</span>
</button>
......@@ -114,14 +114,14 @@
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i> </span>
<span class="input-group-text"><i class="fa fa-lock"></i> </span>
</div>
<input name="newpassword" type="password" class="form-control" trplaceholder="newPassword" />
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i> </span>
<span class="input-group-text"><i class="fa fa-lock"></i> </span>
<input name="confirmpassword" type="password" class="form-control" trplaceholder="confirmPwd" />
</div>
......@@ -137,7 +137,7 @@
</div>
<button type="submit" class="btn btn-success">
<span class="fas fa-envelope-open-text"></span>
<span class="fa fa-envelope-open"></span>
<span trspan="submit">Submit</span>
</button>
......@@ -174,7 +174,7 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="CHOICE_VALUE">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="CHOICE_VALUE"></TMPL_IF><TMPL_IF NAME="AUTH_URL">&url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="back2Portal">Go back to portal</span>
</a>
</div>
......
......@@ -9,7 +9,7 @@
<div id="menu">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#"><i class="fas fa-home"></i></a>
<a class="navbar-brand" href="#"><i class="fa fa-home"></i></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
......@@ -220,7 +220,7 @@
</div>
<div class="card-body buttons">
<a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-success" role="button">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="imSure">I'm sure</span>
</a>
</div>
......
......@@ -23,7 +23,7 @@
<div class="buttons">
<button type="submit" class="positive btn btn-success">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="accept">Accept</span>
</button>
</div>
......
......@@ -16,7 +16,7 @@
<td>
<a partner="<TMPL_VAR NAME="name">" title="delete" class="oidcConsent">
<span class="btn btn-danger" role="button">
<span class="fas fa-minus-circle"></span>
<span class="fa fa-minus-circle"></span>
<span trspan="unregister">Unregister</span>
</span>
</a>
......
......@@ -24,7 +24,7 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">/?cancel=1" class="positive btn btn-primary">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -9,7 +9,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-succesas" >
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
......@@ -15,7 +15,7 @@
<div class="input-group mb-3">
<input name="user" type="hidden" value="<TMPL_VAR NAME=LOGIN>" />
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i></span>
<span class="input-group-text"><i class="fa fa-user"></i></span>
</div>
<p class="form-control-static"><TMPL_VAR NAME=LOGIN></p>
</div>
......@@ -28,7 +28,7 @@
<TMPL_ELSE>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i></span>
<span class="input-group-text"><i class="fa fa-lock"></i></span>
</div>
<input id="oldpassword" name="oldpassword" type="password" value="<TMPL_VAR NAME=OLDPASSWORD>" class="form-control" trplaceholder="currentPwd" required/ aria-required="true">
</div>
......@@ -38,19 +38,19 @@
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i></span>
<span class="input-group-text"><i class="fa fa-lock"></i></span>
</div>
<input id="newpassword" name="newpassword" type="password" class="form-control" trplaceholder="newPassword" required aria-required="true"/>
</div>
<div class="form-group input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i></span>
<span class="input-group-text"><i class="fa fa-lock"></i></span>
</div>
<input id="confirmpassword" name="confirmpassword" type="password" class="form-control" trplaceholder="confirmPwd" required aria-required="true"/>
</div>
<button type="submit" class="btn btn-success">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="submit">Submit</span>
</button>
</div>
......
......@@ -17,7 +17,7 @@
<div class="buttons">
<TMPL_IF NAME="MSG"><TMPL_VAR NAME="MSG"></TMPL_IF>
<a href="<TMPL_VAR NAME="PORTAL_URL">/?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -21,21 +21,21 @@
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i> </span>
<span class="input-group-text"><i class="fa fa-user"></i> </span>
</div>
<input name="firstname" type="text" value="<TMPL_VAR NAME="FIRSTNAME">" class="form-control" trplaceholder="firstName" required aria-required="true"/>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i> </span>
<span class="input-group-text"><i class="fa fa-user"></i> </span>
</div>
<input name="lastname" type="text" value="<TMPL_VAR NAME="LASTNAME">" class="form-control" trplaceholder="lastName" required aria-required="true"/>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-envelope"></i> </span>
<span class="input-group-text"><i class="fa fa-envelope"></i> </span>
</div>
<input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">" class="form-control" trplaceholder="mail" required aria-required="true"/>
</div>
......@@ -46,7 +46,7 @@
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-eye"></i> </span>
<span class="input-group-text"><i class="fa fa-eye"></i> </span>
</div>
<input type="text" name="captcha" size="<TMPL_VAR NAME=CAPTCHA_SIZE>" class="form-control" placeholder="Captcha" required aria-required="true"/>
</div>
......@@ -56,7 +56,7 @@
</TMPL_IF>
<button type="submit" class="btn btn-success" >
<span class="fas fa-envelope-open-text"></span>
<span class="fa fa-envelope-open"></span>
<span trspan="submit">Submit</span>
</button>
......@@ -105,7 +105,7 @@
</div>
<button type="submit" class="btn btn-success">
<span class="fas fa-envelope-open-text"></span>
<span class="fa fa-envelope-open"></span>
<span trspan="submit">Submit</span>
</button>
......@@ -137,7 +137,7 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="CHOICE_VALUE">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="CHOICE_VALUE"></TMPL_IF><TMPL_IF NAME="AUTH_URL">&url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="back2Portal">Go back to portal</span>
</a>
</div>
......
......@@ -13,7 +13,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-success sslclick" >
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
<div class="form">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i> </span>
<span class="input-group-text"><i class="fa fa-user"></i> </span>
</div>
<input name="user" type="text" class="form-control" value="<TMPL_VAR NAME="LOGIN">" trplaceholder="login" required aria-required="true"/>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i> </span>
<span class="input-group-text"><i class="fa fa-lock"></i> </span>
</div>
<input name="password" type="password" class="form-control" trplaceholder="password" required aria-required="true"/>
</div>
......@@ -19,7 +19,7 @@
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-eye"></i> </span>
<span class="input-group-text"><i class="fa fa-eye"></i> </span>
</div>
<input type="text" name="captcha" size="<TMPL_VAR NAME=CAPTCHA_SIZE>" class="form-control" trplaceholder="captcha" required aria-required="true"/>
</div>
......@@ -31,7 +31,7 @@
<TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-success" >
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
......@@ -39,14 +39,14 @@
<div class="actions">
<TMPL_IF NAME="DISPLAY_RESETPASSWORD">
<a class="btn btn-secondary" href="<TMPL_VAR NAME="MAIL_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="key">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF><TMPL_IF NAME="AUTH_URL">&url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>">
<span class="fas fa-info-circle"></span>
<span class="fa fa-info-circle"></span>
<span trspan="resetPwd">Reset my password</span>
</a>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_REGISTER">
<a class="btn btn-secondary" href="<TMPL_VAR NAME="REGISTER_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="key">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF><TMPL_IF NAME="AUTH_URL">&url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>">
<span class="fas fa-plus-circle"></span>
<span class="fa fa-plus-circle"></span>
<span trspan="createAccount">Create an account</span>
</a>
</TMPL_IF>
......
......@@ -12,20 +12,20 @@
<input type="hidden" id="checkLogins" name="checkLogins" value="<TMPL_VAR NAME="CHECKLOGINS">">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i> </span>
<span class="input-group-text"><i class="fa fa-lock"></i> </span>
</div>
<input name="code" value="" class="form-control" id="extcode" trplaceholder="code">
</div>
</div>
<div class="buttons mb-3">
<button type="submit" class="btn btn-success">
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -32,11 +32,11 @@
<div class="buttons">
<span id="changekey" class="btn btn-secondary" role="button">
<span class="fas fa-sync-alt"></span>
<span class="fa fa-refresh"></span>
<span trspan="changeKey">Change key</span>
</span>
<span id="verify" class="btn btn-success" role="button">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="register">Register</span>
</span>
</div>
......@@ -47,11 +47,11 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-secondary" role="button">
<span class="fas fa-shield-alt"></span>
<span class="fa fa-shield"></span>
<span trspan="sfaManager">sfaManager</span>
</a>
<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="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -29,7 +29,7 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -24,12 +24,12 @@
<div class="buttons">
<span id="register" class="btn btn-secondary" role="button">
<span class="fas fa-save"></span>
<span class="fa fa-floppy-o"></span>
<span trspan="register">Register</span>
</span>
<span id="verify" class="btn btn-success" role="button">
<span class="fas fa-check-circle"></span>
<span class="fa fa-check-circle"></span>
<span trspan="verify">Verify</span>
</span>
</div>
......@@ -39,12 +39,12 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-secondary" role="button">
<span class="fas fa-shield-alt"></span>
<span class="fa fa-shield"></span>
<span trspan="sfaManager">sfaManager</span>
</a>
<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="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -9,11 +9,11 @@
<input type="hidden" name="url" value="<TMPL_VAR NAME="URL">">
<div class="buttons">
<button type="submit" class="btn btn-success">
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="upgradeSession">Upgrade session</span>
</button>
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......
......@@ -15,7 +15,7 @@
<TMPL_IF NAME="AUTH_ERROR">
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
......@@ -47,20 +47,20 @@
<div class="form">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock"></i></span>
<span class="input-group-text"><i class="fa fa-lock"></i></span>
</div>
<input name="code" value="" class="form-control" id="extcode" trplaceholder="code" />
</div>
</div>
<div class="buttons mb-3">
<button type="submit" class="btn btn-success">
<span class="fas fa-sign-in-alt"></span>
<span class="fa fa-sign-in"></span>
<span trspan="connect">Connect</span>
</button>
</div>
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
<span class="fas fa-home"></span>
<span class="fa fa-home"></span>
<span trspan="cancel">Cancel</span>
</a>
</div>
......
......@@ -36,12 +36,12 @@
<div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-secondary" role="button">
<span class="fas fa-shield-alt"></span>
<span class="fa fa-shield"></span>
<span trspan="sfaManager">sfaManager</span>
</a>
<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="fas fa-home"></span>
<span class="fa fa-home"></span>