Merge branch 'release-0.0.6'
[WoTNS.git] / src / main / resources / templates / manage.html
1 <%include include/head.html>
2 <h1>Manage “<%ownIdentity.nickname|html>”</h1>
3 <%foreach ownIdentity.targets target>
4         <%first>
5                 <h2>Existing Targets</h2>
6         <%/first>
7         <form action="editTarget.html" method="post">
8                 <input type="hidden" name="formPassword" value="<%formPassword|html>"/>
9                 <input type="hidden" name="ownIdentity" value="<%ownIdentity.id|html>"/>
10                 <input type="hidden" name="name" value="<%target.key|html>"/>
11                 <%target.key|html>:
12                 <input type="text" name="target" value="<%target.value|html>"/>
13                 <button type="submit" name="edit" value="true">Save</button>
14                 <button type="submit" name="delete" value="true">Delete</button>
15         </form>
16 <%/foreach>
17 <h2>Add Target</h2>
18 <form action="addTarget.html" method="post">
19         <input type="hidden" name="formPassword" value="<%formPassword|html>"/>
20         <input type="hidden" name="ownIdentity" value="<%ownIdentity.id|html>"/>
21         <input type="text" name="name" value=""/>
22         <input type="text" name="target" value=""/>
23         <button type="submit" name="add">Add</button>
24 </form>
25 <%include include/tail.html>