|
a/views/settings.tpl |
|
b/views/settings.tpl |
1 |
%include header title=" / settings"
|
1 |
%include header title=" / settings"
|
2 |
<div id="settings-box">
|
2 |
<div id="settings-box">
|
3 |
<form action="set" method="get">
|
3 |
<form action="set" method="get">
|
4 |
<b>Prefix</b> <small class="gray">(location of documents on local drive)</small>
|
|
|
5 |
<input name="prefix" value={{prefix}}><br><br>
|
|
|
6 |
<b>Find similar</b> <small class="gray">(1 or 0, show "squats" and "squatter")</small>
|
4 |
<b>Find similar</b> <small class="gray">(1 or 0, show "squats" and "squatter")</small>
|
7 |
<input name="stem" value={{stem}}><br><br>
|
5 |
<input name="stem" value={{stem}}><br><br>
|
8 |
<hr>
|
6 |
<hr>
|
9 |
<b>Context words</b> <small class="gray">(number of words shown in search results)</small>
|
7 |
<b>Context words</b> <small class="gray">(number of words shown in search results)</small>
|
10 |
<input name="context" value={{context}}><br><br>
|
8 |
<input name="context" value={{context}}><br><br>
|
|
... |
|
... |
13 |
<b>Time</b> <small class="gray">(time format string)</small>
|
11 |
<b>Time</b> <small class="gray">(time format string)</small>
|
14 |
<input name="timefmt" value={{timefmt}}><br><br>
|
12 |
<input name="timefmt" value={{timefmt}}><br><br>
|
15 |
<b>Folder depth</b> <small class="gray">(number of levels of the folder dropdown)</small>
|
13 |
<b>Folder depth</b> <small class="gray">(number of levels of the folder dropdown)</small>
|
16 |
<input name="dirdepth" value={{dirdepth}}><br><br>
|
14 |
<input name="dirdepth" value={{dirdepth}}><br><br>
|
17 |
<hr>
|
15 |
<hr>
|
|
|
16 |
<b>Locations</b><br>
|
|
|
17 |
%for d in dirs:
|
|
|
18 |
<small>{{d}}</small><input name="mount_{{d}}" value={{mounts[d]}}>
|
|
|
19 |
%end
|
|
|
20 |
<br><br><hr>
|
18 |
<input type="submit" value="Save">
|
21 |
<input type="submit" value="Save">
|
19 |
<a href=".."><input type="button" value="Cancel"></a>
|
22 |
<a href=".."><input type="button" value="Cancel"></a>
|
20 |
</form>
|
23 |
</form>
|
21 |
</div>
|
24 |
</div>
|
22 |
%include footer
|
25 |
%include footer
|