source: waeup_product/trunk/zmi/manage_addWAeUPUniversity.dtml @ 219

Last change on this file since 219 was 197, checked in by joachim, 19 years ago

=creating the WAeUP Tool

File size: 4.4 KB
RevLine 
[197]1<dtml-let form_title="'WAeUP'">
2<dtml-if manage_page_header>
3  <dtml-var manage_page_header>
4  <dtml-var manage_form_title>
5<dtml-else>
6  <html>
7  <head><title>&dtml-form_title;</title>
8  </head>
9  <body>
10  <h2>&dtml-form_title;</h2>
11</dtml-if>
12</dtml-let>
13
14  <div class="form-help">
15  Fill in this form to create a WAeUP Site.
16  </div>
17
18<form action="addWAeUPTool" method="post">
19<table cellspacing="0" cellpadding="2" border="0">
20  <tr>
21    <td align="left" valign="top">
22    <label for="id" class="form-label">
23      Id <span class="required" style="color: #ff0000;">*</span>
24    </label>
25    </td>
26    <td align="left" valign="top">
27    <input type="text" name="id" id="id" size="40" value="demo"/>
28    </td>
29  </tr>
30
31  <tr>
32    <td align="left" valign="top">
33    <label for="title" class="form-label">Title</label>
34    </td>
35    <td align="left" valign="top">
36    <input type="text" name="title" id="title" size="40" value=""/>
37    </td>
38  </tr>
39
40  <tr>
41    <td align="left" valign="top">
42    <label for="description" class="form-label">Description</label>
43    </td>
44    <td align="left" valign="top">
45    <textarea name="description" id="description" cols="40" rows="2"></textarea>
46    </td>
47  </tr>
48<dtml-comment>
49  <tr>
50    <td align="left" valign="top">
51    <label for="login" class="form-label">
52      WAeUP Administrator login <span class="required" style="color: #ff0000;">*</span>
53    </label>
54    </td>
55    <td align="left" valign="top">
56      <input type="text" name="manager_id" id="login" size="40" value="manager"/>
57    </td>
58  </tr>
59
60  <tr>
61    <td align="left" valign="top">
62    <label for="manager_password" class="form-label">
63      CPS Administrator Password <span class="required" style="color: #ff0000;">*</span>
64    </label>
65    </td>
66    <td align="left" valign="top">
67      <input type="password" name="manager_password" id="manager_password" size="40" value=""/>
68    </td>
69  </tr>
70
71  <tr>
72    <td align="left" valign="top">
73    <label for="manager_password_confirmation" class="form-label">
74      CPS Administrator Password Confirmation <span class="required" style="color: #ff0000;">*</span>
75    </label>
76    </td>
77    <td align="left" valign="top">
78      <input type="password" name="manager_password_confirmation" id="manager_password_confirmation" size="40" value="">
79    </td>
80  </tr>
81
82  <tr>
83    <td align="left" valign="top">
84    <label for="manager_email" class="form-label">
85      CPS Administrator E-mail <span class="required" style="color: #ff0000;">*</span>
86    </label>
87    </td>
88    <td align="left" valign="top">
89      <input type="text" name="manager_email" id="manager_email" size="40" value=""/>
90    </td>
91  </tr>
92
93  <tr>
94    <td align="left" valign="top">
95    <label for="manager_name" class="form-label">CPS Administrator Name</label>
96    </td>
97    <td align="left" valign="top">
98      <input type="text" name="manager_sn" id="manager_name" size="40" value="CPS manager"/>
99    </td>
100  </tr>
101
102  <tr>
103    <td align="left" valign="top">
104    <label for="manager_givenName" class="form-label">CPS Administrator Given Name</label>
105    </td>
106    <td align="left" valign="top">
107      <input type="text" name="manager_givenName" id="manager_givenName" size="40" value="Manager"/>
108    </td>
109  </tr>
110
111  <tr>
112    <td align="left" valign="top">
113    <div class="form-label">
114      Languages
115    </div>
116    </td>
117    <td align="left" valign="top">
118      <ul style="margin-left: 0; padding-left: 0; list-style-type: none;">
119      <dtml-in "[
120        ('nl', 'Dutch'),
121        ('en', 'English'),
122        ('fr', 'French'),
123        ('de', 'German'),
124        ('it', 'Italian'),
125        ('pt_BR', 'Portugese (Brazilian)'),
126        ('es', 'Spanish'),
127        ('mg', 'Malagasy'),
128        ('ro', 'Romanian'),
129        ('eu', 'Euskara'),
130        ]">
131        <li>
132        <dtml-let checked="_['sequence-key'] in ('fr', 'en') and 'checked=\'checked\'' or ' '">
133        <input type="checkbox" name="langs_list:list"
134               id="<dtml-var sequence-key>"
135               value="<dtml-var sequence-key>"
136               &dtml-checked;
137               />
138        </dtml-let>
139        <label for="<dtml-var sequence-key>"><dtml-var sequence-item></label>
140        </li>
141      </dtml-in>
142      </ul>
143    </td>
144  </tr>
145</dtml-comment>
146</table>
147
148<p style="text-align: center;">
149    <input type="submit" name="submit" value="Create" />
150</p>
151</form>
152
153<dtml-if manage_page_footer>
154  <dtml-var manage_page_footer>
155<dtml-else>
156
157</body>
158</html>
159</dtml-if>
Note: See TracBrowser for help on using the repository browser.