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
<div class="wf-minibuffer">
  <span class="wf-minibuffer-prompt">{{ prompt }}</span>
  <span class="{{ self.message_class() }}" data-wf-echo>{% match message %}{% when Some with (text) %}{{ text }}{% when None %}{% endmatch %}</span>
  {%- match time -%}
  {%- when Some with (text) -%}
  <span class="wf-minibuffer-time">{{ text }}</span>
  {%- when None -%}
  {%- endmatch -%}
</div>