enhance ui

* enhance some core template page grid
* enhance combobox style
This commit is contained in:
Jordan Blasenhauer 2024-04-17 11:28:50 +02:00
parent 4846e409dc
commit bf2ea799c7
14 changed files with 14 additions and 15 deletions

View file

@ -14,8 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#antibot" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">
<div class="mr-1">

View file

@ -19,7 +19,7 @@
.
</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#bunkernet" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#cors" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#country" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#dnsbl" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -13,7 +13,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/settings/#errors" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#greylisting" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#limiting" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/settings/#redis" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#reverse-scan" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

View file

@ -14,7 +14,7 @@
</div>
<p class="core-card-text mt-4 mb-2">More information available <a href="https://docs.bunkerweb.io/{{ bw_version }}/security-tuning/#whitelisting" class="hover:brightness-90 cursor-pointer mt-2 underline text-primary">in the documentation</a>.</p>
</div>
<!-- end info --> <div class="core-layout-separator"></div>
<!-- end info -->
{% if pre_render.get("status", False) and pre_render.get("status", False) == "ko" or "error" in pre_render.get("data", {}) or not pre_render.get("data") %}
<div class="my-2 flex justify-center col-span-12">

File diff suppressed because one or more lines are too long

View file

@ -22,7 +22,7 @@
role="listbox"
data-tab-select-dropdown
class="hidden z-100 absolute flex-col w-full overflow-hidden overflow-y-auto max-h-[350px]">
<input data-combobox type="text" placeholder="Search plugin" class="cursor-text first border rounded-t border-gray-100 text-left focus:outline outline-none text-sm leading-5.6 ease block w-full appearance-none border-gray-300 dark:border-gray-200 bg-white dark:bg-gray-400 bg-clip-padding px-3 py-1 font-normal text-gray-800 transition-all placeholder:text-gray-500 dark:placeholder:text-gray-600">
<input data-combobox type="text" placeholder="Search plugin" class="cursor-text first border rounded-t border-gray-100 text-left focus:outline outline-none text-sm leading-5.6 ease block w-full appearance-none border-gray-300 dark:border-gray-200 bg-white dark:bg-gray-400 bg-clip-padding px-6 py-1.5 font-normal text-gray-800 transition-all placeholder:text-gray-500 dark:placeholder:text-gray-600">
{% set first_el = "True" %}
{% for plugin in plugins %}
{% if current_endpoint == "services" and plugin["settings"]