-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathauthme.tpl
63 lines (59 loc) · 2.39 KB
/
authme.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{include file='header.tpl'}
{include file='navbar.tpl'}
<h2 class="ui header">
{$CONNECT_WITH_AUTHME}
{if $AUTHME_SETUP}
<div class="sub header">{$AUTHME_INFO}</div>
{/if}
</h2>
{if isset($ERRORS)}
<div class="ui error icon message">
<i class="x icon"></i>
<div class="content">
<div class="header">{$ERROR}</div>
<ul class="list">
{foreach from=$ERRORS item=error}
<li>{$error}</li>
{/foreach}
</ul>
</div>
</div>
{/if}
<div class="ui padded segment" id="authme-email">
<div class="ui stackable grid">
<div class="ui centered row">
<div class="ui sixteen wide tablet ten wide computer column">
{if $AUTHME_SETUP}
<form class="ui form" action="" method="post" id="form-authme-email">
<div class="field">
<label for="inputUsername">{$USERNAME}</label>
<input type="text" id="inputUsername" name="username" placeholder="{$USERNAME}" value="{$USERNAME_INPUT}" tabindex="1" required>
</div>
<div class="field">
<label for="inputPassword">{$PASSWORD}</label>
<input type="password" id="inputPassword" name="password" placeholder="{$PASSWORD}" tabindex="2" required>
</div>
{if $CAPTCHA}
<div class="field">
{$CAPTCHA}
</div>
{/if}
<div class="inline field">
<div class="ui checkbox">
<input type="checkbox" name="t_and_c" id="t_and_c" value="1" tabindex="7" required>
<label for="t_and_c">{$AGREE_TO_TERMS}</label>
</div>
</div>
<input type="hidden" name="token" value="{$TOKEN}">
<input type="submit" class="ui primary button" value="{$SUBMIT}" tabindex="5">
</form>
{else}
<div class="ui message red">
{$AUTHME_NOT_SETUP}
</div>
{/if}
</div>
</div>
</div>
</div>
{include file='footer.tpl'}