Don’t block the USK callback thread.
[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                 <h2><%= Page.Options.Section.RuntimeOptions.Title|l10n|html></h2>
17
18                 <p><%= Page.Options.Option.InsertionDelay.Description|l10n|html></p>
19                 <p><input type="text" name="insertion-delay" value="<% insertion-delay|html>" /></p>
20
21                 <h2><%= Page.Options.Section.Cleaning.Title|l10n|html></h2>
22
23                 <p><%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>
24                 <p><select name="clear-on-next-restart"><option disabled="disabled"><%= WebInterface.SelectBox.Choose|l10n|html></option><option value="true"<%if clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.Yes|l10n|html></option><option value="false"<%if ! clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.No|l10n|html></option></select>
25
26                 <p><%= Page.Options.Option.ReallyClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>
27                 <p><select name="really-clear-on-next-restart"><option disabled="disabled"><%= WebInterface.SelectBox.Choose|l10n|html></option><option value="true"<%if really-clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.Yes|l10n|html></option><option value="false"<%if ! really-clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.No|l10n|html></option></select>
28
29                 <p><button type="submit"><%= Page.Options.Button.Save|l10n|html></button></p>
30
31         </form>
32
33 <%include include/tail.html>