1 | <metal:html> |
---|
2 | |
---|
3 | <span tal:condition="not: context/isSectionOfficer"> |
---|
4 | <span tal:content="here/illegal_view" /> |
---|
5 | </span> |
---|
6 | |
---|
7 | <metal:block tal:condition="context/isSectionOfficer"> |
---|
8 | <metal:body use-macro="here/main_template/macros/master"> |
---|
9 | <metal:header fill-slot="header" |
---|
10 | tal:define="mtool here/portal_membership; |
---|
11 | checkPerm nocall:mtool/checkPermission;"> |
---|
12 | <h3>Configure Portal</h3> |
---|
13 | </metal:header> |
---|
14 | <metal:main fill-slot="main"> |
---|
15 | <form action="" method="post" |
---|
16 | tal:attributes="action string:${base_url}reconfig" |
---|
17 | tal:define="pprops nocall:here/portal_properties; |
---|
18 | mtool nocall:here/portal_membership; |
---|
19 | rtool nocall:here/portal_registration"> |
---|
20 | <br /> |
---|
21 | |
---|
22 | <table id="portalConfiguration" summary="Portal properties form"> |
---|
23 | <tr> |
---|
24 | <th> |
---|
25 | <label> |
---|
26 | Institution Title |
---|
27 | </label> |
---|
28 | </th> |
---|
29 | <td> |
---|
30 | <input name="institution_title" id="institution_title" value="" |
---|
31 | tal:attributes="value pprops/institution_title" /> |
---|
32 | </td> |
---|
33 | </tr> |
---|
34 | <tr> |
---|
35 | <th> |
---|
36 | <label for="email_from_name" |
---|
37 | i18n:translate="label_admin_name"> |
---|
38 | Administrator Name |
---|
39 | </label> |
---|
40 | </th> |
---|
41 | <td> |
---|
42 | <input name="email_from_name" id="email_from_name" value="" |
---|
43 | tal:attributes="value pprops/email_from_name" /> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <th> |
---|
48 | <label for="email_from_address" |
---|
49 | i18n:translate="label_admin_email"> |
---|
50 | Administrator Email |
---|
51 | </label> |
---|
52 | </th> |
---|
53 | <td> |
---|
54 | <input name="email_from_address" id="email_from_address" value="" |
---|
55 | tal:attributes="value pprops/email_from_address" /> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <th> |
---|
60 | <label for="smtp_server" |
---|
61 | i18n:translate="label_smtp_server"> |
---|
62 | SMTP Server |
---|
63 | </label> |
---|
64 | </th> |
---|
65 | <td> |
---|
66 | <input name="smtp_server" id="smtp_server" value="" |
---|
67 | tal:attributes="value pprops/smtp_server" /> |
---|
68 | </td> |
---|
69 | </tr> |
---|
70 | <tr> |
---|
71 | <th> |
---|
72 | <label for="portal_title" |
---|
73 | i18n:translate="label_portal_title"> |
---|
74 | Portal title |
---|
75 | </label> |
---|
76 | </th> |
---|
77 | <td> |
---|
78 | <input name="title" id="portal_title" value="" |
---|
79 | tal:attributes="value pprops/title" /> |
---|
80 | </td> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <th> |
---|
84 | <label> |
---|
85 | Current Session |
---|
86 | </label> |
---|
87 | </th> |
---|
88 | <td> |
---|
89 | <input name="session" id="portal_session" value="" |
---|
90 | tal:attributes="value pprops/session" /> |
---|
91 | </td> |
---|
92 | </tr> |
---|
93 | <tr> |
---|
94 | <th> |
---|
95 | <label> |
---|
96 | Static Directory on Server |
---|
97 | </label> |
---|
98 | </th> |
---|
99 | <td> |
---|
100 | <input name="static_dir" id="static_dir" value="" |
---|
101 | tal:attributes="value pprops/static_dir" /> |
---|
102 | </td> |
---|
103 | </tr> |
---|
104 | <tr> |
---|
105 | <th> |
---|
106 | <label for="portal_description" |
---|
107 | i18n:translate="label_portal_description"> |
---|
108 | Portal description |
---|
109 | </label> |
---|
110 | </th> |
---|
111 | <td> |
---|
112 | <textarea name="description" id="portal_description" |
---|
113 | cols="40" rows="4" style="width: 100%" |
---|
114 | tal:content="pprops/description"> |
---|
115 | </textarea> |
---|
116 | </td> |
---|
117 | </tr> |
---|
118 | <tr> |
---|
119 | <th> |
---|
120 | <label> |
---|
121 | Deadline PUME Application: |
---|
122 | </label> |
---|
123 | </th> |
---|
124 | <td> |
---|
125 | <input type="text" name="date1" id="date1" value="" size="30" |
---|
126 | tal:attributes="value pprops/date1" /> |
---|
127 | </td> |
---|
128 | </tr> |
---|
129 | <tr> |
---|
130 | <th> |
---|
131 | <label> |
---|
132 | Deadline PUDE Application: |
---|
133 | </label> |
---|
134 | </th> |
---|
135 | <td> |
---|
136 | <input name="date2" id="date2" value="" size="30" |
---|
137 | tal:attributes="value pprops/date2" /> |
---|
138 | </td> |
---|
139 | </tr> |
---|
140 | <tr> |
---|
141 | <th> |
---|
142 | <label> |
---|
143 | Deadline CEST Application: |
---|
144 | </label> |
---|
145 | </th> |
---|
146 | <td> |
---|
147 | <input name="date3" id="date3" value="" size="30" |
---|
148 | tal:attributes="value pprops/date3" /> |
---|
149 | </td> |
---|
150 | </tr> |
---|
151 | |
---|
152 | <tr> |
---|
153 | <th> |
---|
154 | <label> |
---|
155 | Deadline Sandwich Application: |
---|
156 | </label> |
---|
157 | </th> |
---|
158 | <td> |
---|
159 | <input name="date4" id="date4" value="" size="30" |
---|
160 | tal:attributes="value pprops/date4" /> |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | |
---|
164 | <tr> |
---|
165 | <th> |
---|
166 | <label> |
---|
167 | Deadline PT/DP/CT/PG Application: |
---|
168 | </label> |
---|
169 | </th> |
---|
170 | <td> |
---|
171 | <input name="date5" id="date5" value="" size="30" |
---|
172 | tal:attributes="value pprops/date5" /> |
---|
173 | </td> |
---|
174 | </tr> |
---|
175 | <tr> |
---|
176 | <th> |
---|
177 | <label> |
---|
178 | Enable Accommodation Booking: |
---|
179 | </label> |
---|
180 | </th> |
---|
181 | <td> |
---|
182 | <input type="checkbox" name="enable_acco_booking" id="enable_acco_booking" value="" |
---|
183 | tal:attributes="value pprops/enable_acco_booking; |
---|
184 | checked pprops/enable_acco_booking" /> |
---|
185 | </td> |
---|
186 | </tr> |
---|
187 | <tr> |
---|
188 | <th> |
---|
189 | <label> |
---|
190 | Enable Payment: |
---|
191 | </label> |
---|
192 | </th> |
---|
193 | <td> |
---|
194 | <input type="checkbox" name="enable_payment" id="enable_payment" value="" |
---|
195 | tal:attributes="value pprops/enable_payment; |
---|
196 | checked pprops/enable_payment" /> |
---|
197 | </td> |
---|
198 | </tr> |
---|
199 | </table> |
---|
200 | <p> |
---|
201 | <button type="submit" class="standalone" i18n:translate="button_change">Change</button> |
---|
202 | <button type="button" class="standalone" onclick="history.back()" |
---|
203 | i18n:translate="button_cancel">Cancel</button> |
---|
204 | </p> |
---|
205 | </form> |
---|
206 | |
---|
207 | </metal:main> |
---|
208 | </metal:body> |
---|
209 | </metal:block> |
---|
210 | </metal:html> |
---|