mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
add plugin svg for types
This commit is contained in:
parent
c3a903dc98
commit
4075c95517
2 changed files with 20 additions and 1 deletions
File diff suppressed because one or more lines are too long
19
src/ui/templates/settings_plugins.html
vendored
19
src/ui/templates/settings_plugins.html
vendored
|
|
@ -41,6 +41,25 @@
|
|||
</svg>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if plugin['type'] == "core" %}
|
||||
<div
|
||||
aria-label="core plugin"
|
||||
class="hover:-translate-y-px mx-1 -translate-y-0.5 ml-2">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-5.5 w-5.5 dark:brightness-90 fill-orange-500">
|
||||
<path fill-rule="evenodd" d="M5.25 2.25a3 3 0 0 0-3 3v4.318a3 3 0 0 0 .879 2.121l9.58 9.581c.92.92 2.39 1.186 3.548.428a18.849 18.849 0 0 0 5.441-5.44c.758-1.16.492-2.629-.428-3.548l-9.58-9.581a3 3 0 0 0-2.122-.879H5.25ZM6.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if plugin['type'] == "external" %}
|
||||
<div
|
||||
aria-label="external plugin"
|
||||
class="hover:-translate-y-px mx-1 -translate-y-0.5 ml-2">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-6 w-6 dark:brightness-90 fill-blue-500">
|
||||
<path fill-rule="evenodd" d="M10.5 3.75a6 6 0 0 0-5.98 6.496A5.25 5.25 0 0 0 6.75 20.25H18a4.5 4.5 0 0 0 2.206-8.423 3.75 3.75 0 0 0-4.133-4.303A6.001 6.001 0 0 0 10.5 3.75Zm2.25 6a.75.75 0 0 0-1.5 0v4.94l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V9.75Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="max-w-[650px] transition duration-300 ease-in-out dark:opacity-90 ml-2 ">
|
||||
<p class="text-sm dark:text-gray-300 mb-1">{{ plugin['description'] }}</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue