mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix and enhance popover multisite
This commit is contained in:
parent
b5019d77e1
commit
ecaeb420ea
3 changed files with 13 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
|
@ -92,7 +92,15 @@
|
|||
}
|
||||
|
||||
.popover-settings-container {
|
||||
@apply z-[1000] h-fit max-w-[250px] transition-all duration-500 dark:brightness-90 transition rounded-md p-3 -translate-y-7 fixed bg-blue-500;
|
||||
@apply z-[1000] h-fit max-w-[250px] transition-all duration-500 dark:brightness-90 transition rounded-md p-3 -translate-y-7 fixed;
|
||||
}
|
||||
|
||||
.info.popover-settings-container {
|
||||
@apply bg-blue-500;
|
||||
}
|
||||
|
||||
.multisite.popover-settings-container {
|
||||
@apply bg-orange-500;
|
||||
}
|
||||
|
||||
.popover-tab {
|
||||
|
|
|
|||
6
src/ui/templates/setting_header.html
vendored
6
src/ui/templates/setting_header.html
vendored
|
|
@ -1,7 +1,7 @@
|
|||
{% if setting_input %}
|
||||
{% set inp_name = setting_input['name'] %}
|
||||
{% set inp_name_mult = inp_name + "_SCHEMA" if setting_input["is_multiple"] else inp_name %}
|
||||
{% set inp_name_multisite = inp_name + "-multisite_SCHEMA" if setting_input["is_multiple"] else inp_name %}
|
||||
{% set inp_name_multisite = inp_name + "-multisite_SCHEMA" if setting_input["is_multiple"] else inp_name + "-multisite" %}
|
||||
{% set inp_label = setting_input['label'] %}
|
||||
{% set inp_help = setting_input['help'] %}
|
||||
{% set inp_context = setting_input['context'] %}
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
</button>
|
||||
<div role="alert"
|
||||
aria-description="show detail"
|
||||
class="popover-settings-container hidden"
|
||||
class="info popover-settings-container hidden"
|
||||
data-popover-content="{{ inp_name_mult }}">
|
||||
<p class="popover-settings-text">{{ inp_help }}</p>
|
||||
</div>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
</button>
|
||||
<div role="alert"
|
||||
aria-description="show detail"
|
||||
class="popover-settings-container hidden"
|
||||
class="multisite popover-settings-container hidden"
|
||||
data-popover-content="{{ inp_name_multisite }}">
|
||||
<p class="popover-settings-text">Multisite (apply as default to services without specific value).</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue