Skip to content

Commit 40db82f

Browse files
committed
Update index.html
1 parent 3c2f84f commit 40db82f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plugin/server/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,33 @@
2424
{% call card("Plugin Settings") %}
2525
<div class="two-columns">
2626
{% call input(label="Webserver Port", id="webserver-port-input", description="This is the port that this settings page will be hosted on. If set to 0, the plugin will let your system choose an unused port on startup.") %}
27-
<input type="number" id="webserver-port-input" name="plugin.port" min="0" max="65535" step="1" value="{{ plugin.static_port }}">
27+
<input type="number" id="webserver-port-input" name="plugin.port" min="0" max="65535" step="1" value="{{ plugin.better_settings.static_port }}">
2828
{% endcall %}
2929
{% call input(label="Main Keyword", id="main-keyword-input", description="This is the keyword that lets you access the settings page, reload the cache, and open up the plugin's log file.") %}
30-
<input type="text" id="main-keyword-input" name="plugin.keyword" value="{{ plugin.main_kw }}">
30+
<input type="text" id="main-keyword-input" name="plugin.keyword" value="{{ plugin.better_settings.main_kw }}">
3131
{% endcall %}
3232
{% call checkbox(label="Debug Mode", id="main-debug-mode-input", description="If checked, the plugin will include debug logs in the plugin's log file.") %}
3333
<input
3434
id="main-debug-mode-input"
3535
type="checkbox"
3636
name="plugin.debug_mode"
37-
{% if plugin.debug_mode %}checked{% endif %}
37+
{% if plugin.better_settings.debug_mode %}checked{% endif %}
3838
>
3939
{% endcall %}
4040
{% call checkbox(label="Simple View", id="main-simple-view-input", description="If checked, the plugin will remove subtitles from the results it returns") %}
4141
<input
4242
id="main-simple-view-input"
4343
type="checkbox"
4444
name="plugin.simple_view"
45-
{% if plugin.simple_view %}checked{% endif %}
45+
{% if plugin.better_settings.simple_view %}checked{% endif %}
4646
>
4747
{% endcall %}
4848
{% call checkbox(label="Reset Query", id="main-reset-query-input", description="If checked, the plugin will reset the query to just the keyword when opening a result") %}
4949
<input
5050
id="main-reset-query-input"
5151
type="checkbox"
5252
name="plugin.reset_query"
53-
{% if plugin.reset_query %}checked{% endif %}
53+
{% if plugin.better_settings.reset_query %}checked{% endif %}
5454
>
5555
{% endcall %}
5656
</div>

0 commit comments

Comments
 (0)