- fixed issue with 'info' tab of settings editor not appearing on desktop size
- fixed 'tags' gui section if no tags exist in config - fixed issue with tag selector visibility
This commit is contained in:
parent
e63aa75c22
commit
c521b41765
@ -165,6 +165,8 @@ def load_settings_editor():
|
||||
json.loads(tag_json)
|
||||
for tag_json in settings_dict["tags"].replace("},{", "}%,%{").split("%,%")
|
||||
]
|
||||
else:
|
||||
settings_dict["tags"] = ["list"] + [{"name": "", "icon": "", "sort_pos": ""}]
|
||||
settings_editor_html = render_template_string(
|
||||
"""
|
||||
{% from 'main/settings-editor.html' import SettingsEditor with context %}
|
||||
|
@ -240,9 +240,9 @@ class=''
|
||||
<input data-search-providers-url="{{ url_for('main.build_action_provider_url') }}"
|
||||
type="text"
|
||||
class="card-filter action-bar theme-surface-transparent"
|
||||
placeholder="Search apps" autofocus>
|
||||
placeholder="Search.." autofocus>
|
||||
|
||||
{% if True %}
|
||||
{% if tags|length > 1 %}
|
||||
<i class="toggle-tag-expand-all-btn material-icons right filter-action pointer">unfold_less</i>
|
||||
<!-- Dropdown Trigger -->
|
||||
<a class='dropdown-trigger filter-tags-dropdown-trigger' data-target='filter-tags-dropdown-{{ location }}'>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col s12 mb-2">
|
||||
<ul class="tabs theme-background">
|
||||
<ul class="tabs theme-background tabs-fixed-width">
|
||||
{% if access_group.can_access_main_settings == "True"%}
|
||||
<li class="tab col s3 active"><a id="settings-gui-tab" href="#settings-gui">
|
||||
<i class="material-icons-outlined">settings</i>
|
||||
|
Loading…
x
Reference in New Issue
Block a user