Add page to let the user edit the options.
[Sone.git] / src / main / resources / templates / options.html
1 <%include include/head.html>
2
3         <script language="javascript">
4                 $(document).ready(function() {
5                         registerInputTextareaSwap("#sone #options input[name=insertion-delay]", "WebInterface.DefaultText.Option.InsertionDelay", "insertion-delay", true, true);
6                 });
7         </script>
8
9         <h1><%= Page.Options.Page.Title|l10n|html></h1>
10
11         <p><%= Page.Options.Page.Description|l10n|html></p>
12
13         <form id="options" method="post">
14                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
15
16                 <p><%= Page.Options.Option.InsertionDelay.Description|l10n|html></p>
17                 <p><input type="text" name="insertion-delay" value="<% insertion-delay|html>" /></p>
18
19                 <p><button type="submit"><%= Page.Options.Button.Save|l10n|html></button></p>
20
21         </form>
22
23 <%include include/tail.html>