Streamline adding Sones, remove “add Sone” from menu.
[Sone.git] / src / main / resources / templates / editProfile.html
1 <%include include/head.html>
2
3         <h1><%= Page.EditProfile.Page.Title|l10n|html></h1>
4
5         <div><%= Page.EditProfile.Page.Description|l10n|html></div>
6         <div><%= Page.EditProfile.Page.Hint.Optionality|l10n|html></div>
7
8         <%if changed>
9                 <div><%= Page.EditProfile.Page.Status.Changed|l10n|html></div>
10         <%/if>
11
12         <form method="post">
13                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
14
15                 <div>
16                         <label for="first-name"><%= Page.EditProfile.Label.FirstName|l10n|html></label>
17                         <input type="text" name="first-name" value="<% firstName|html>" />
18                 </div>
19
20                 <div>
21                         <label for="middle-name"><%= Page.EditProfile.Label.MiddleName|l10n|html></label>
22                         <input type="text" name="middle-name" value="<% middleName|html>" />
23                 </div>
24
25                 <div>
26                         <label for="last-name"><%= Page.EditProfile.Label.LastName|l10n|html></label>
27                         <input type="text" name="last-name" value="<% lastName|html>" />
28                 </div>
29
30                 <div>
31                         <button type="submit"><%= Page.EditProfile.Button.Save|l10n|html></button>
32                 </div>
33
34         </form>
35         
36         <h1><%= Page.EditProfile.Keys.Title|l10n|html></h1>
37         
38         <div><%= Page.EditProfile.Keys.Description.RequestKey|l10n|html></div>
39         <div><%= Page.EditProfile.Keys.Description.InsertKey|l10n|html></div>
40         <div><%= Page.EditProfile.Keys.Description.Summary|l10n|html></div>
41         
42         <div>
43                 <label><%= Page.EditProfile.Label.RequestKey|l10n|html></label>
44                 <input type="text" class="key" readonly="readonly" value="<% currentSone.requestUri|html>" />
45         </div>
46         <div>
47                 <label><%= Page.EditProfile.Label.RequestKey|l10n|html></label>
48                 <input type="text" class="key" readonly="readonly" value="<% currentSone.insertUri|html>" />
49         </div>
50         
51         <h1><%= Page.EditProfile.Backup.Title|l10n|html></h1>
52
53         <div><%= Page.EditProfile.Backup.Description|l10n|html></div>
54
55         <form action="backupProfile.html" method="post">
56                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
57                 <button type="submit"><%= Page.EditProfile.Backup.Button.DownloadBackup|l10n|html></button>
58         </form>
59
60 <%include include/tail.html>