Code

Updated registration dialog.
[gosa.git] / gosa-core / plugins / generic / dashBoard / Register / register.tpl
1 <script type="text/javascript" src="include/pwdStrength.js"></script>
3 <h3>{t}GOsa registration{/t}</h3>
6 {if $step == 0}
8     {t}Do you want to register GOsa and benefit from the features it brings?{/t}
9     <p>
10      <input type='radio' name='registrationType' value='' id="registrationType_"
11          {if $default == ""} checked {/if}><b><LABEL for="registrationType_">{t}I do not want to register{/t}</LABEL></b>
12         <p style='padding-left:20px;'>
13             <!-- Add a descritive text later -->
14         </p>
16         <!--
17         <input type='radio' name='registrationType' value='annonym' id="registrationType_annonym"
18             {if $default == "annonym"} checked {/if}><b><LABEL for="registrationType_annonym">{t}Annonym access{/t}</LABEL></b>
19         <p style='padding-left:20px;'>
20         <ul>
21             <li>{t}Access to the 'Open-Channels' to easily install or remove plugins within the GOsa user interface{/t}</li>
22             <li>{t}Use the inbuild bugtracker and keep track of their status on the dash-board.{/t}</li>
23         </ul>
24         </p>
26         <p style='padding-left:20px;'>
27         {t}What information will be transmitted to the backend and maybe stored:{/t}
28         <ul>
29             <li>{t}Information about the installed plugins and their version.{/t}</li>
30             <li>{t}The GOsa-UUID (will be generated during the registration) and a password, to authenticate.{/t}</li>
31             <li>{t}The bugs you will report and the corresponding trace. You can select what information you want to send in.{/t}</li>
32         </ul>
33         </p>
34         -->
35         <input type='radio' name='registrationType' value='registered' id="registrationType_registered"
36             {if $default == "registered"} checked {/if}><b><LABEL for="registrationType_registered">{t}Register{/t}</LABEL></b>
37         <p style='padding-left:20px;'>
38         {t}Additionally to the 'Annonomous' account you can:{/t}
39         <ul>
40             <li>{t}Access to 'Premium-Channels'.{/t}</li>
41             <li>{t}Watch the status of current plugin updates/patches and the availability of new plugins.{/t}</li>
42             <li>{t}Recieve newsletter, if wanted.{/t}</li>
43             <li>{t}View several usefull statistics about your GOsa installation{/t}.</li>
44         </ul>
45         </p>
46            
47         <p style='padding-left:20px;'>
48         {t}What information will be transmitted to the backend and maybe stored:{/t}
49         <ul>
50             <li>{t}All personal information filled in the registration form.{/t}</li>
51             <li>{t}Information about the installed plugins and their version.{/t}</li>
52             <li>{t}The GOsa-UUID (will be generated during the registration) and a password, to authenticate.{/t}</li>
53             <li>{t}The bugs you will report and the corresponding trace. You can select what information you want to send in.{/t}</li>
54             <li>{t}When the statistics extension is used. GOsa will transmit information about plugins, their usage and the amount of objects present in your ldap database. No sensitive data is transmitted here, just the object type, the action performed, cpu usage, memory usage, elapsed time...{/t}</li>
55         </ul>
56         </p>
57     </p>
58     <hr>
59     <div class="plugin-actions">
60         <button name='startRegistration'>{msgPool type=okButton}</button>
61     </div>
63 {/if}
65 {if $step == 1}
67     {if $default == ""}
68         <b>{t}Selected registration type:{/t} {$default}</b>
69     {elseif $default == "annonym"}
70         <b>{t}Selected registration type:{/t} {$default}</b>
71     {elseif $default == "registered"}
72         
73         <h3>{t}Account settings{/t}</h3>
74         <table style='width:100%;'>
75             <tr> 
76                 <td style='width:220px;'><LABEL for="uid">{t}Login-ID{/t}{$must}</LABEL></td>
77                 <td>
78                     <input type='text' name="uid" value="{$uid}" id="uid">
79                 </td>
80             </tr>
81             <tr> 
82                 <td style='width:220px;'><LABEL for="mailAddress">{t}Mail-address{/t}{$must}</LABEL></td>
83                 <td>
84                     <input type='text' name="mailAddress" value="{$mailAddress}" id="mailAddress">
85                 </td>
86             </tr>
87         </table>
89         <hr>
91         <h3>{t}Password{/t}</h3>
92         <table style='width:100%;'>
93             <tr> 
94                 <td style='width:220px;'><LABEL for="password">{t}Password{/t}{$must}</LABEL></td>
95                 <td>
96                     {factory type='password' name='password' id='password'
97                           onkeyup="testPasswordCss(\$('password').value)"}
99                 </td>
100             </tr>
101             <tr>
102                 <td></td>
103                 <td>
104                     <div style='width:200px'>
105                     <span id="meterEmpty" style="padding:0;margin:0;width:100%;
106                             background-color:#DC143C;display:block;height:7px;">
107                     <span id="meterFull" style="padding:0;margin:0;z-index:100;
108                             width:0;background-color:#006400;display:block;height:7px;"></span></span>
109                     </div>
110                 </td>
111             </tr>
112             <tr> 
113                 <td style='width:220px;'><LABEL for="password_repeated">{t}Password{/t} <i>({t}repeated{/t})</i>{$must}</LABEL></td>
114                 <td>
115                     {factory type='password' name='password_repeated' id='password_repeated'}
116                 </td>
117             </tr>
118             <tr> 
119                 <td style='width:220px;'><LABEL for="restoreQuestion">{t}Password restore question{/t}{$must}</LABEL></td>
120                 <td>
121                     <input type='text' style='width:400px' name="restoreQuestion" value="{$restoreQuestion}" id="restoreQuestion">
122                 </td>
123             </tr>
124             <tr> 
125                 <td style='width:220px;'><LABEL for="restoreAnswer">{t}Password restore answer{/t}{$must}</LABEL></td>
126                 <td>
127                     <input type='text' name="restoreAnswer" value="{$restoreAnswer}" id="restoreAnswer">
128                 </td>
129             </tr>
130         </table>
131         <hr>
132        
133         <h3>{t}Personal information{/t}</h3>
134         <table style='width:100%;'>
135             <tr> 
136                 <td style='width:220px;'><LABEL for="surname">{t}Surname{/t}{$must}</LABEL></td>
137                 <td>
138                     <input type='text' name="surname" value="{$surname}" id="surname">
139                 </td>
140             </tr>
141             <tr> 
142                 <td style='width:220px;'><LABEL for="givenName">{t}Given name{/t}{$must}</LABEL></td>
143                 <td>
144                     <input type='text' name="givenName" value="{$givenName}" id="givenName">
145                 </td>
146             </tr>
147         </table>
149         <hr>
150         <h3>{t}Newsletter{/t}</h3>
151         <table style='width:100%;'>
152             <tr> 
153                 <td style='width:220px;'><LABEL for="newsletter">{t}Newsletter{/t}</LABEL></td>
154                 <td>
155                     <input type='checkbox' name="newsletter" value="1" {if $newsletter} checked {/if}id="newsletter">
156                 </td>
157             </tr>
158         </table>
159         <hr>
160         <i>({$must} {t}Required fields{/t})</i>
163     {/if}
165     <hr>
166     <div class="plugin-actions">
167         <button name='stepBack'>{msgPool type=backButton}</button>
168         <button name='registerNow'>{msgPool type=okButton}</button>
169     </div>
170     <script type="text/javascript">
171         focus_field('uid');
172     </script>
173 {/if}
175 {if $step == 2}
177     <hr>
178     <div class="plugin-actions">
179         <button name='stepBack'>{msgPool type=backButton}</button>
180     </div>
181 {/if}
183 {if $step == 200}
184    <h3>VERIFY TEXTS!!!</h3> You have receifed a mail, bafasel, please click link and so on.
186 {/if}