forked from Zhobday/whmcscustomtemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
/
login.tpl
45 lines (36 loc) · 2.09 KB
/
login.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<div class="logincontainer{if $linkableProviders} with-social{/if}">
{include file="$template/includes/pageheader.tpl" title=$LANG.login desc="{$LANG.restrictedpage}"}
{if $incorrect}
{include file="$template/includes/alert.tpl" type="error" msg=$LANG.loginincorrect textcenter=true}
{elseif $verificationId && empty($transientDataName)}
{include file="$template/includes/alert.tpl" type="error" msg=$LANG.verificationKeyExpired textcenter=true}
{elseif $ssoredirect}
{include file="$template/includes/alert.tpl" type="info" msg=$LANG.sso.redirectafterlogin textcenter=true}
{/if}
<div class="providerLinkingFeedback"></div>
<div class="row">
<div class="col-sm-{if $linkableProviders}7{else}12{/if}">
<form method="post" action="{$systemurl}dologin.php" class="login-form" role="form">
<div class="form-group">
<label for="inputEmail">{$LANG.clientareaemail}</label>
<input type="email" name="username" class="form-control" id="inputEmail" placeholder="{$LANG.enteremail}" autofocus>
</div>
<div class="form-group">
<label for="inputPassword">{$LANG.clientareapassword}</label>
<input type="password" name="password" class="form-control" id="inputPassword" placeholder="{$LANG.clientareapassword}" autocomplete="off" >
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="rememberme" /> {$LANG.loginrememberme}
</label>
</div>
<div align="center">
<input id="login" type="submit" class="btn btn-primary" value="{$LANG.loginbutton}" /> <a href="pwreset.php" class="btn btn-default">{$LANG.forgotpw}</a>
</div>
</form>
</div>
<div class="col-sm-5{if !$linkableProviders} hidden{/if}">
{include file="$template/includes/linkedaccounts.tpl" linkContext="login" customFeedback=true}
</div>
</div>
</div>