Files
tabler/shared/components/layout/HeaderActionsPhotos.astro
T

26 lines
903 B
Plaintext

---
// ui/form/input-icon.html is inlined below — the include is called with no
// parameters, so only the default branch renders (icon "search", addon after
// the input, type "text", placeholder "Search…", empty value).
// TODO: extract to src/components/ui/form/InputIcon.astro (loader, prepend,
// icon, icon-class, class, light, rounded, input-class, type, value,
// placeholder, aria-label, readonly params) when another page needs it.
import Icon from '@ui/Icon.astro'
import Button from '@ui/Button.astro'
---
<!-- BEGIN HEADER ACTIONS -->
<div class="d-flex">
<div class="me-3">
<div class="input-icon">
<input type="text" value="" class="form-control" placeholder="Search…" />
<span class="input-icon-addon">
<Icon name="search" />
</span>
</div>
</div>
<Button text="Add event" color="primary" icon="plus" />
</div>
<!-- END HEADER ACTIONS -->