source: WAeUP_SRP/trunk/skins/cps_custom/config_form.pt @ 4818

Last change on this file since 4818 was 4098, checked in by Henrik Bettermann, 15 years ago
  • implement date fileds in portal base configuration
  • ois: use date1-3 fields for principal's signature on academic_report_slip
File size: 4.4 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            Date 1
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            Date 2
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            Date 3
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    </table>
153    <p>
154      <button type="submit" class="standalone"  i18n:translate="button_change">Change</button>
155      <button type="button" class="standalone" onclick="history.back()"
156              i18n:translate="button_cancel">Cancel</button>
157    </p>
158  </form>
159
160</metal:main>
161</metal:body>
162</metal:block>
163</metal:html>
Note: See TracBrowser for help on using the repository browser.