wavefunk-ui 0.1.1

Askama and htmx UI component base for Wave Funk Rust applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
<div class="{{ self.class_name() }}">
  <div class="wf-alert-bar"></div>
  <div>
    {%- match title -%}
    {%- when Some with (text) -%}
    <div class="wf-alert-kicker">{{ text }}</div>
    {%- when None -%}
    {%- endmatch -%}
    <div>{{ message }}</div>
  </div>
</div>