Merge branch 'main/rendor-staging' into main/atys-live
[ryzomcore.git] / web / public_php / ams / templates / login.tpl
blob23834554aaae3b61282371887461b316da8c0fa9
1 {extends file="layout.tpl"}
2 {block name=content}
4 <div class="row-fluid">
5         <div class="span12 center login-header">
6                 <a href="?"><img src="img/mainlogo.png"/></a>
7         </div><!--/span-->
8 </div><!--/row-->
10 <div class="row-fluid">
11         <div class="well span5 center login-box">
12                 <div class="alert alert-info">
13                         {$login_info}
14                 </div>
15                 
16                 <form method="post" action="index.php{if isset($getstring)}{$getstring}{/if}" class="form-horizontal">
17                         <fieldset>
18                                 <div data-rel="tooltip" class="input-prepend" data-original-title="Username/Email">
19                                         <span class="add-on"><span class="icon-user"></span></span><input type="text" value="" id="LoginValue" name="LoginValue" class="input-large span10" placeholder="Username or Email">
20                                 </div>
21                                 <div class="clearfix"></div>
23                                 <div data-rel="tooltip" class="input-prepend" data-original-title="Password">
24                                         <span class="add-on"><span class="icon-lock"></span></span><input type="password" value="" id="Password" name="Password" class="input-large span10" placeholder="Password">
25                                 </div>
26                                 <div class="clearfix"></div>
28                                 <div class="input-prepend">
29                                 <label for="remember" class="remember "><div class="checkbox" id="uniform-remember"><span><input type="checkbox" id="remember" ></span></div>Remember me</label>
30                                 </div>
31                                 <div class="clearfix"></div>
33                                 <p class="center span5">
34                                 <input type="hidden" name="function" value="login">
35                                 <button class="btn btn-primary" type="submit">Login</button>
36                                 </p>
37                         </fieldset>
38                 </form>
40                 {if isset($login_error) and $login_error eq "TRUE"}
41                 <div class="alert alert-error">
42                         <button type="button" class="close" data-dismiss="alert">×</button>
43                         <strong>{$login_error_message}</strong>
44                 </div>
45                 {/if}
46                 
47                 
48                 <div class="alert alert-info">
49                 {if $userRegistration == '0'|| $userRegistration == '2'}<a href="?page=register">{$login_register_message}</a>.<br>{/if}<a href="?page=forgot_password">{$login_forgot_password_message}</a>
50                 </div>
51                 
52                 
53         </div><!--/span-->
54 </div>
55 {/block}