Allow users to select their own default engine
Also, add this default engine and the repo to the users view
This commit is contained in:
1 parent
3b574fb62a
commit
0090b64510
6 files changed
+34
-18
No files matched your search
@@ -57,13 +57,14 @@
|
||||
<h3> Engine </h3>
|
||||
<label> Name </label>
|
||||
<select id="enginename" name="enginename" onchange="configure(testMode)">
|
||||
{% for name, data in config.engines.items %}
|
||||
{% if data.default %}
|
||||
<option selected value="{{name}}">{{data.name}}</option>
|
||||
{% for engine in config.engines %}
|
||||
{% if engine == profile.engine %}
|
||||
<option selected value="{{engine}}">{{engine}}</option>
|
||||
{% else %}
|
||||
<option value="{{name}}">{{data.name}}</option>
|
||||
<option value="{{engine}}">{{engine}}</option>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<option value="{{engine}}">{{engine}}</option>
|
||||
</select><br>
|
||||
<label> Source </label>
|
||||
<input value="{{profile.repo}}" name="source"></br>
|
||||
|
||||
Reference in new issue
Block a user