mirror of
https://github.com/inventree/inventree-website.git
synced 2025-06-12 10:05:36 +00:00
add alert partial
This commit is contained in:
11
_includes/partial/alert.html
Normal file
11
_includes/partial/alert.html
Normal file
@ -0,0 +1,11 @@
|
||||
<div class="bg-teal-100 border-t-4 border-teal-500 rounded-b text-teal-900 px-4 py-3 shadow-md" role="alert">
|
||||
<div class="flex">
|
||||
{% if include.style == 'info' %}
|
||||
<svg class="fill-current h-6 w-6 text-teal-500 mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/></svg>
|
||||
{% endif %}
|
||||
<div>
|
||||
<p class="font-bold">{{ include.title }}</p>
|
||||
<p class="text-sm">{{ include.desc }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user