base tabler
This commit is contained in:
parent
ac2cfa9fe1
commit
0f84beacf1
1432 changed files with 28760 additions and 1 deletions
24
liquid/includes/ui/toast.html
Normal file
24
liquid/includes/ui/toast.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{% assign toast-id = include.toast-id | default: 'simple' %}
|
||||
{% assign person-id = include.person-id | default: 2 %}
|
||||
{% assign person = people[person-id] %}
|
||||
<div class="toast {% if include.show %}show{% endif %}" id="toast-{{ toast-id }}" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false">
|
||||
{% unless include.hide-header %}
|
||||
<div class="toast-header">
|
||||
{% include "ui/avatar.html" person=person class="me-2" size="xs" %}
|
||||
<strong class="me-auto">{{ person.full_name }}</strong>
|
||||
<small>{{ include.date | default: '11 mins ago' }}</small>
|
||||
<button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
||||
</div>
|
||||
{% endunless %}
|
||||
<div class="toast-body">
|
||||
{% if include.cookies %}
|
||||
🍪 Our site uses cookies. By continuing to use our site, you agree to our Cookie Policy.
|
||||
|
||||
<div class="mt-2 pt-2 border-top">
|
||||
<a href="#" class="btn btn-primary btn-sm">I understand</a>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include.text | default: 'Hello, world! This is a toast message.' }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue