source: WAeUP_SRP/trunk/skins/waeup_fceokene/config_form.pt

Last change on this file was 7711, checked in by Henrik Bettermann, 13 years ago

Enable payment switch in fceokene portal.

File size: 5.6 KB
Line 
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 Pre-NCE 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 Diploma Programme Application (CEST):
133          </label>
134        </th>
135        <td>
136          <input type="text" name="date3" id="date3" value="" size="30"
137                 tal:attributes="value pprops/date3" />
138        </td>
139      </tr>       
140      <tr>
141        <th>
142          <label>
143            Deadline Sandwich Application:
144          </label>
145        </th>
146        <td>
147          <input type="text" name="date4" id="date4" value="" size="30"
148                 tal:attributes="value pprops/date4" />
149        </td>
150      </tr>       
151      <tr>
152        <th>
153          <label>
154            Deadline PCE Application:
155          </label>
156        </th>
157        <td>
158          <input type="text" name="date5" id="date5" value="" size="30"
159                 tal:attributes="value pprops/date5" />
160        </td>
161      </tr>     
162      <tr>
163        <th>
164          <label>
165            Enable Payment:
166          </label>
167        </th>
168        <td>
169          <input type="checkbox" name="enable_payment" id="enable_payment" value=""
170                 tal:attributes="value pprops/enable_payment;
171                                 checked pprops/enable_payment" />
172        </td>
173      </tr>
174      <tr>
175        <th>
176          <label>
177            Enable Accommodation Booking:
178          </label>
179        </th>
180        <td>
181          <input type="checkbox" name="enable_acco_booking" id="enable_acco_booking" value=""
182                 tal:attributes="value pprops/enable_acco_booking;
183                                 checked pprops/enable_acco_booking" />
184        </td>
185      </tr>       
186
187    </table>
188    <p>
189      <button type="submit" class="standalone"  i18n:translate="button_change">Change</button>
190      <button type="button" class="standalone" onclick="history.back()"
191              i18n:translate="button_cancel">Cancel</button>
192    </p>
193  </form>
194
195</metal:main>
196</metal:body>
197</metal:block>
198</metal:html>
Note: See TracBrowser for help on using the repository browser.