root/trunk/wifidog-auth/wifidog/admin/templates/hotspot_edit.html @ 419

Revision 419, 2.6 KB (checked in by aprilp, 8 years ago)

Fixed a problem, we'd overwrite the node_id to

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1{include file="templates/header.html" title="Hotspot administration"}
2
3<h3>{$title} {$smarty.const.HOTSPOT_NETWORK_NAME}</h3>
4
5<b style="position: absolute;top: 10px;right: 10px;">({$user_id})</b> <!-- DEBUG -->
6
7<form method="post" name="auth">
8
9<div id="std_table">
10<table> <!-- Refaire le formattage sans la table -->
11  <tr>
12    <td class="item">{"ID"|_}:</td>
13<!-- Tmp work around to disable the hotspot ID -->
14    <td>
15    {if $node_info}
16    <input type="text" value="{$node_id}" disabled><input type="hidden" name="new_node_id" value="{$node_info.node_id}">
17    {else}
18    <input type="text" name="new_node_id" value="{$node_info.node_id}">&nbsp;{* $javascript *}
19    {/if}
20    </td>
21  </tr>
22  <tr>
23    <td class="item">{"Name"|_}:</td>
24    <td><input type="text" name="name" value="{$node_info.name}"></td>
25  </tr>
26  <tr>
27    <td class="item">{"RSS URL"|_}:</td>
28    <td><input type="text" name="rss_url" value="{$node_info.rss_url}"></td>
29  </tr>
30  <tr>
31    <td class="item">{"Homepage URL"|_}:</td>
32    <td><input type="text" name="home_page_url" value="{$node_info.home_page_url}"></td>
33  </tr>
34  <tr>
35    <td class="item">{"Description"|_}:</td>
36    <td><input type="text" name="description" value="{$node_info.description}"></td>
37  </tr>
38  <tr>
39    <td class="item">{"Map URL"|_}:</td>
40    <td><input type="text" name="map_url" value="{$node_info.map_url}"></td>
41  </tr>
42  <tr>
43    <td class="item">{"Street address"|_}:</td>
44    <td><input type="text" name="street_address" value="{$node_info.street_address}"></td>
45  </tr>
46  <tr>
47    <td class="item">{"Public phone number"|_}:</td>
48    <td><input type="text" name="public_phone_number" value="{$node_info.public_phone_number}"></td>
49  </tr>
50  <tr>
51    <td class="item">{"Public email"|_}:</td>
52    <td><input type="text" name="public_email" value="{$node_info.public_email}"></td>
53  </tr>
54  <tr>
55    <td class="item">{"Mass transit info"|_}:</td>
56    <td><input type="text" name="mass_transit_info" value="{$node_info.mass_transit_info}"></td>
57  </tr>
58  <tr>
59    <td class="item">{"Node deployment status"|_}:</td>
60    <td>
61    <select name="node_deployment_status">
62    {html_options values=$all_deployment_status output=$all_deployment_status selected=$node_deployment_status}
63    </select>
64    </td>
65  </tr>
66</table>
67</div>
68
69{if !$node_info}
70<input type="hidden" name="action" value="add_new_node">
71{else}
72<input type="hidden" name="action" value="update_node">
73{/if}
74
75<input type="submit">
76</form>
77
78<br>
79<p>Work in progress note: Better DB integrity testing is needed before allowing the hotspot ID modification.</p>
80
81{include file="templates/footer.html"}
82
Note: See TracBrowser for help on using the browser.