mirror of
https://github.com/koniu/recoll-webui.git
synced 2025-10-03 01:39:22 +02:00
42 lines
1.9 KiB
Smarty
42 lines
1.9 KiB
Smarty
%include header title=" / settings"
|
|
<div id="settings-box">
|
|
<form action="set" method="get">
|
|
<b>Find similar</b> <small class="gray">(1 or 0, show "squats" and "squatter")</small>
|
|
<input name="stem" value={{stem}}>
|
|
<b>Max results</b> <small class="gray">(maximum number of results to show)</small>
|
|
<input name="maxresults" value={{maxresults}}>
|
|
<hr>
|
|
<b>Results per page</b> <small class="gray">(0 for no pagination)</small>
|
|
<input name="perpage" value={{perpage}}>
|
|
<b>Context words</b> <small class="gray">(number of words shown in search results)</small>
|
|
<input name="context" value={{context}}>
|
|
<b>Context characters</b> <small class="gray">(max characters in a snippet)</small>
|
|
<input name="maxchars" value={{maxchars}}>
|
|
<b>Time</b> <small class="gray">(time format string)</small>
|
|
<input name="timefmt" value={{timefmt}}>
|
|
<b>Folder depth</b> <small class="gray">(number of levels of the folder dropdown)</small>
|
|
<input name="dirdepth" value={{dirdepth}}>
|
|
<b>Default action</b> <small class="gray">(action to take when clicking result title)</small>
|
|
<select name="title_link">
|
|
<option value="download" {{'selected' if title_link == 'download' else ''}}>Download</option>
|
|
<option value="preview" {{'selected' if title_link == 'preview' else ''}}>Preview</option>
|
|
<option value="open" {{'selected' if title_link == 'open' else ''}}>Open</option>
|
|
</select>
|
|
<hr>
|
|
<b>Locations</b><br>
|
|
%for d in dirs:
|
|
<small>{{d}}</small><input name="mount_{{d}}" value={{mounts[d]}}>
|
|
%end
|
|
<hr>
|
|
<b>CSV fields</b> <small class="gray">({{fields}})</small><br>
|
|
<input name="csvfields" value="{{csvfields}}">
|
|
<hr>
|
|
<b>Add to browser</b>
|
|
<br>
|
|
<a href="#" onClick="addOpenSearch();return false">Register recoll into browser search engines</a>
|
|
<br><br><hr>
|
|
<input type="submit" value="Save">
|
|
<a href="./"><input type="button" value="Cancel"></a>
|
|
</form>
|
|
</div>
|
|
%include footer
|