|
24 | 24 | {% call card("Plugin Settings") %} |
25 | 25 | <div class="two-columns"> |
26 | 26 | {% 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 }}"> |
28 | 28 | {% endcall %} |
29 | 29 | {% 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 }}"> |
31 | 31 | {% endcall %} |
32 | 32 | {% 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.") %} |
33 | 33 | <input |
34 | 34 | id="main-debug-mode-input" |
35 | 35 | type="checkbox" |
36 | 36 | name="plugin.debug_mode" |
37 | | - {% if plugin.debug_mode %}checked{% endif %} |
| 37 | + {% if plugin.better_settings.debug_mode %}checked{% endif %} |
38 | 38 | > |
39 | 39 | {% endcall %} |
40 | 40 | {% call checkbox(label="Simple View", id="main-simple-view-input", description="If checked, the plugin will remove subtitles from the results it returns") %} |
41 | 41 | <input |
42 | 42 | id="main-simple-view-input" |
43 | 43 | type="checkbox" |
44 | 44 | name="plugin.simple_view" |
45 | | - {% if plugin.simple_view %}checked{% endif %} |
| 45 | + {% if plugin.better_settings.simple_view %}checked{% endif %} |
46 | 46 | > |
47 | 47 | {% endcall %} |
48 | 48 | {% 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") %} |
49 | 49 | <input |
50 | 50 | id="main-reset-query-input" |
51 | 51 | type="checkbox" |
52 | 52 | name="plugin.reset_query" |
53 | | - {% if plugin.reset_query %}checked{% endif %} |
| 53 | + {% if plugin.better_settings.reset_query %}checked{% endif %} |
54 | 54 | > |
55 | 55 | {% endcall %} |
56 | 56 | </div> |
|
0 commit comments