wavefunk-ui 0.1.5

Askama and htmx UI component base for Wave Funk Rust applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="{{ self.class_name() }}">
  {%- match glyph_html -%}
  {%- when Some with (html) -%}
  <div class="wf-empty-glyph">{{ html }}</div>
  {%- when None -%}
  {%- endmatch -%}
  <div class="wf-empty-title">{{ title }}</div>
  <div class="wf-empty-body">{{ body }}</div>
  {%- match actions_html -%}
  {%- when Some with (html) -%}
  <div class="wf-empty-actions">{{ html }}</div>
  {%- when None -%}
  {%- endmatch -%}
</div>