Add header for the list of posts on the “view Sone” page.
[Sone.git] / src / main / resources / templates / login.html
1 <%include include/head.html>
2         <%if !sones.empty>
3                 <h1><%= Page.Login.Page.Title|l10n|html></h1>
4                 <form method="post">
5                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
6                         <label for="sone-id"><%= Page.Login.Label.SelectSone|l10n|html></label>
7                         <select name="sone-id">
8                                 <option disabled="disabled"><%= Page.Login.Option.NoSone|l10n|html></option>
9                                 <%foreach sones sone>
10                                         <option value="<% sone.id|html>"><% sone.niceName|html> (<% sone.name|html>)</option>
11                                 <%/foreach>
12                         </select>
13                         <button type="submit">Select</button>
14                 </form>
15         <%/if>
16         <h1><%= Page.Login.LoadSone.Title|l10n|html></h1>
17         <div><%= Page.Login.LoadSone.Description|l10n|html></div>
18         <form action="loadSone.html" method="post">
19                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
20                 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
21                 <div>
22                         <label for="request-uri"><%= Page.Login.LoadSone.Label.RequestURI|l10n|html></label>
23                         <input type="text" name="request-uri" />
24                 </div>
25                 <div>
26                         <label for="insert-uri"><%= Page.Login.LoadSone.Label.InsertURI|l10n|html></label>
27                         <input type="text" name="insert-uri" />
28                 </div>
29                 <div>
30                         <button type="submit"><%= Page.Login.LoadSone.Button.LoadSone|l10n|html></button>
31                 </div>
32         </form>
33
34         <h1><%= Page.Login.CreateSone.Title|l10n|html></h1>
35         <div><%= Page.Login.CreateSone.Description|l10n|html></div>
36         <%include include/createSone.html>
37
38 <%include include/tail.html>