Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / ams / templates / reset_success.tpl
blob577c329bd5cb34374b445786273e5fe3b487ad8f
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                 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
13                 <div class="alert alert-success">
14                         The password has been changed!
15                 </div>
16                 {/if}
17                 
18                 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
19                 <div class="alert alert-warning">
20                         The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
21                 </div>
22                 {/if}
23                 
24                 <div class="alert alert-info">
25                 <strong>{$reset_success_title}</strong>
26                 <p>{$reset_success_timer}<span id="seconds">5</span></p>
27                 <p><a href="index.php">{$login_text}</a></p>
28                 </div>
29                 
30                 <script>
31                 var seconds = 5;
32                 setInterval(
33                   function(){
34                     if (seconds <= 1) {
35                       window.location = 'index.php';
36                     }
37                     else {
38                       document.getElementById('seconds').innerHTML = --seconds;
39                     }
40                   },
41                   1000
42                 );
43               </script>
44         </div><!--/span-->
45 </div>
46 {/block}