Merge branch 'main/rendor-staging' into main/atys-live
[ryzomcore.git] / web / public_php / ams / templates / register_feedback.tpl
blobdddba2264ea488d54cf4d389aa0c7d48e727c012
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($status) and $status eq "ok"}
13                         <div class="alert alert-success">
14                                 {$status_ok}
15                         </div>
16                 {else if isset($status) and $status eq "shardoffline"}
17                         <div class="alert alert-error">
18                                 {$status_shardoffline}
19                         </div>
20                 {else if isset($status) and $status eq "liboffline"}
21                         <div class="alert alert-error">
22                                 {$status_liboffline}
23                         </div>
24                 {/if}
25                 
26                 <div class="alert alert-info">
27                 <strong>{$login_title}</strong>
28                 <p>{$login_timer}<span id="seconds">5</span></p>
29                 <p><a href="index.php">{$login_text}</a></p>
30                 </div>
31                 
32                 <script>
33                 var seconds = 5;
34                 setInterval(
35                   function(){
36                     if (seconds <= 1) {
37                       window.location = 'index.php';
38                     }
39                     else {
40                       document.getElementById('seconds').innerHTML = --seconds;
41                     }
42                   },
43                   1000
44                 );
45               </script>
46         </div><!--/span-->
47 </div>
48 {/block}