wavefunk-ui 0.1.2

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
15
16
17
18
<div class="wf-tablewrap">
  {%- match filterbar_html -%}
  {%- when Some with (html) -%}
  <div class="wf-filterbar">{{ html }}</div>
  {%- when None -%}
  {%- endmatch -%}
  {%- match bulk_count -%}
  {%- when Some with (count) -%}
  <div class="wf-bulkbar"><span class="wf-sel-count">{{ count }}</span>{% match bulk_actions_html %}{% when Some with (html) %}{{ html }}{% when None %}{% endmatch %}</div>
  {%- when None -%}
  {%- endmatch -%}
  <div class="wf-tablescroll">{{ table_html }}</div>
  {%- match footer_html -%}
  {%- when Some with (html) -%}
  <div class="wf-tablefoot">{{ html }}</div>
  {%- when None -%}
  {%- endmatch -%}
</div>