|
a/views/settings.tpl |
|
b/views/settings.tpl |
|
... |
|
... |
14 |
<input name="maxchars" value={{maxchars}}>
|
14 |
<input name="maxchars" value={{maxchars}}>
|
15 |
<b>Time</b> <small class="gray">(time format string)</small>
|
15 |
<b>Time</b> <small class="gray">(time format string)</small>
|
16 |
<input name="timefmt" value={{timefmt}}>
|
16 |
<input name="timefmt" value={{timefmt}}>
|
17 |
<b>Folder depth</b> <small class="gray">(number of levels of the folder dropdown)</small>
|
17 |
<b>Folder depth</b> <small class="gray">(number of levels of the folder dropdown)</small>
|
18 |
<input name="dirdepth" value={{dirdepth}}>
|
18 |
<input name="dirdepth" value={{dirdepth}}>
|
|
|
19 |
<b>Default action</b> <small class="gray">(action to take when clicking result title)</small>
|
|
|
20 |
<select name="title_link">
|
|
|
21 |
<option value="download" {{'selected' if title_link == 'download' else ''}}>Download</option>
|
|
|
22 |
<option value="preview" {{'selected' if title_link == 'preview' else ''}}>Preview</option>
|
|
|
23 |
<option value="open" {{'selected' if title_link == 'open' else ''}}>Open</option>
|
|
|
24 |
</select>
|
19 |
<hr>
|
25 |
<hr>
|
20 |
<b>Locations</b><br>
|
26 |
<b>Locations</b><br>
|
21 |
%for d in dirs:
|
27 |
%for d in dirs:
|
22 |
<small>{{d}}</small><input name="mount_{{d}}" value={{mounts[d]}}>
|
28 |
<small>{{d}}</small><input name="mount_{{d}}" value={{mounts[d]}}>
|
23 |
%end
|
29 |
%end
|