source: trunk/template/yoga/admin/ws_checker.tpl @ 1833

Last change on this file since 1833 was 1833, checked in by vdigital, 17 years ago

Some HTML changes to reach HTML 4.01 Strict!

(New): Multi view include a minimal theme.

File size: 7.3 KB
Line 
1<!-- $Id: ws_checker.tpl 939 2005-11-17 20:13:36Z VDigital $ -->
2
3<div class="titrePage">
4  <ul class="categoryActions">
5    <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
6  </ul>
7  <h2>{lang:title_wscheck} - {lang:web_services}</h2>
8</div>
9
10<!-- BEGIN update_result -->
11<ul>
12  {update_result.UPD_ELEMENT}
13</ul>
14<!-- END update_result -->
15
16<!-- Add Access -->
17<form method="post" name="adding_access" action="{F_STATUS_ACTION}">
18  <!-- Current Default -->
19  <fieldset>
20    <legend>{lang:ws_adding_legend}</legend>
21    <table>
22    <!-- Access key -->
23      <tr>
24        <td>
25          <label for="KeyName">{lang:Confidential partner key} </label>
26        </td>
27        <td>
28          <input type="text" maxlength="35" size="35" name="add_partner"
29            id="add_partner" value="{F_ADD_PARTNER}"
30            title="{lang:Basis of access key calculation}" />
31        </td>
32      </tr>
33
34    <!-- Target (cat/ids, tag/ids, or list/ids ids=id,id-id,...) -->
35      <tr>
36        <td>
37          <label for="Access">{lang:Target}</label>
38        </td>
39        <td>
40          <input type="text" maxlength="128" size="35" name="add_target"
41            id="add_target" value="{F_ADD_ACCESS}"
42            title="{lang:Facultative and restrictive option}" />
43          <i><small> ({lang:Access: see help text for more})
44          </small></i>
45        </td>
46      </tr>
47
48    <!-- Restricted access to specific request -->
49      <tr>
50        <td>
51          <label for="add_request">{lang:Restrict access to}</label>
52        </td>
53        <td>
54          <select name="add_request" id="add_request" style="width: 18em" 
55            onfocus="this.className='focus';"
56            onblur="this.className='nofocus';">
57            <!-- BEGIN add_request -->
58            <option value="{add_request.VALUE}"
59              {add_request.SELECTED}>{add_request.CONTENT}
60            </option>
61            <!-- END add_request -->
62          </select>
63          <i><small> ({lang:ws_Methods})</small></i>
64        </td>
65      </tr>
66
67     <!-- Limit number of images information to be return -->
68     <tr>
69        <td>
70          <label for="add_limit">{lang:Returned images limit}</label>
71        </td>
72        <td>
73          <select name="add_limit" id="add_limit" style="width: 10em" 
74            onfocus="this.className='focus';"
75            onblur="this.className='nofocus';">
76            <!-- BEGIN add_limit -->
77            <option value="{add_limit.VALUE}"
78              {add_limit.SELECTED}>{add_limit.CONTENT}
79            </option>
80            <!-- END add_limit -->
81          </select>
82        </td>
83      </tr>
84
85    <!-- Open service is postponed by n days -->
86    <!-- In comment currently
87      <tr>
88        <td>
89          <label for="add_start">{lang:Postponed availability in days}</label>
90        </td>
91        <td>
92          <select name="add_start" id="add_start" style="width: 10em"
93            onfocus="this.className='focus';"
94            onblur="this.className='nofocus';">
95            <!-- BEGIN add_start -->
96            <option value="{add_start.VALUE}"
97              {add_start.SELECTED}>{add_start.CONTENT}
98            </option>
99            <!-- END add_start -->
100          </select>
101        </td>
102      </tr> -->
103
104    <!-- Opened service only for n days -->
105      <tr>
106        <td>
107          <label for="add_end">{lang:Duration in days}</label>
108        </td>
109        <td>
110          <select name="add_end" id="add_end" style="width: 10em" 
111            onfocus="this.className='focus';"
112            onblur="this.className='nofocus';">
113            <!-- BEGIN add_end -->
114            <option value="{add_end.VALUE}"
115              {add_end.SELECTED}>{add_end.CONTENT}
116            </option>
117            <!-- END add_end -->
118          </select>
119        </td>
120      </tr>
121
122    <!-- Idendify your partner (name / website / phone) as you want -->
123      <tr>
124        <td>
125          <label for="add_Comment">{lang:ws_Comment}</label>
126          <br />
127        </td>
128        <td>
129          <textarea name="add_comment" id="add_comment"
130            rows="4" cols="80">{lang:Comment to identify your partner clearly}</textarea> 
131        </td>
132      </tr>
133
134    <!-- Add submit button -->
135      <tr>
136        <td>
137        </td>
138        <td>
139          <input class="submit" type="submit" name="wsa_submit" style="width: 10em; padding-top: 3px;"
140            value="{lang:Submit}" {TAG_INPUT_ENABLED}
141            title="{lang:Add this access definition}" />
142        </td>
143      </tr>     
144    </table>
145  </fieldset>
146</form>
147
148<!-- BEGIN acc_list -->
149<!-- Access list -->
150<form method="post" name="preferences" action="{F_STATUS_ACTION}">
151  <input type="hidden" name="partner_prev" value="{F_PREV_PARTNER}">
152  <input type="hidden" name="request_prev" value="{F_PREV_REQUEST}">
153  <input type="hidden" name="high_prev" value="{F_PREV_HIGH}">
154  <input type="hidden" name="normal_prev" value="{F_PREV_NORMAL}">
155  <input type="hidden" name="order_prev" value="{F_PREV_ORDER}">
156  <input type="hidden" name="dir5n_prev" value="{F_PREV_DIR5N}">
157  <!-- Delete / Update Selected -->
158  <fieldset>
159    <legend>{lang:ws_update_legend}</legend>
160    <table class="table2">
161      <tr class="throw">
162        <th>&nbsp;</th>
163        <th>{lang:ws_KeyName}</th>
164        <th>{lang:ws_Access}</th>
165        <th>{lang:ws_End}</th>
166        <th>{lang:ws_Request}</th>
167        <th>{lang:ws_Limit}</th>
168        <th>{lang:ws_Comment}</th>
169      </tr>
170      <!-- BEGIN access -->
171      <tr class="{acc_list.access.CLASS}">
172        <td>
173          <input type="radio" name="selection"
174            value="{acc_list.access.ID}" id="selection-{acc_list.access.ID}">
175        </td>
176        <td><label for="selection-{acc_list.access.ID}">{acc_list.access.NAME}</label></td>
177        <td>{acc_list.access.TARGET}</td>
178        <td>{acc_list.access.END}</td>
179        <td>{acc_list.access.REQUEST}</td>
180        <td>{acc_list.access.LIMIT}</td>
181        <td>{acc_list.access.COMMENT}</td>
182      </tr>
183      <!-- END user -->
184    </table>
185
186    <table>   
187    <tr>   
188    <td>
189    {lang:ws_delete_legend}
190    </td>
191    <td>
192    <input type="radio" name="delete_confirmation"
193      value="true">
194    <input class="submit" type="submit" name="wsX_submit" style="width: 10em; padding-top: 3px;"
195      value="{lang:Delete}" {TAG_INPUT_ENABLED}>
196    </td>
197    </tr>
198    </table>
199    <hr>   
200    <table>
201    <tr>
202    <td>
203    <span class="property">
204      <label for="upd_end">{lang:Modify End from Now +} </label>
205    </span>
206    <select name="upd_end" id="upd_end"  style="width: 10em"
207      onfocus="this.className='focus';"
208      onblur="this.className='nofocus';">
209    <!-- BEGIN upd_end -->
210      <option value="{acc_list.upd_end.VALUE}" {acc_list.upd_end.SELECTED}>
211        {acc_list.upd_end.CONTENT}
212      </option>
213    <!-- END upd_end -->
214    </select>
215    <input class="submit" type="submit" name="wsu_submit" style="width: 10em; padding-top: 3px;"
216       value="{lang:Submit}" {TAG_INPUT_ENABLED}>
217    </td>
218    <td>
219    <i><small> ({lang:Web Services availability duration in days})</small></i>
220    </td>
221    </tr>
222    </table>
223
224  </fieldset>
225</form>
226<!-- END acc_list -->
Note: See TracBrowser for help on using the repository browser.