feat: Add macro for frame status bar
This commit is contained in:
parent
46988576a9
commit
6b644ca9f3
2 changed files with 16 additions and 12 deletions
|
|
@ -12,7 +12,7 @@ tags:
|
||||||
<main class="io">
|
<main class="io">
|
||||||
<aside class="io">
|
<aside class="io">
|
||||||
<nav>
|
<nav>
|
||||||
<div>location-pane</div>
|
<span>location-pane</span>
|
||||||
<ul class="vertical">
|
<ul class="vertical">
|
||||||
<li>
|
<li>
|
||||||
<a class="a_button" href="">
|
<a class="a_button" href="">
|
||||||
|
|
@ -139,17 +139,7 @@ tags:
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<footer class="io">
|
{{ io.statusBar() }}
|
||||||
<nav>
|
|
||||||
<span>## items</span>
|
|
||||||
<span># selected (size)</span>
|
|
||||||
<span># type(s)</span>
|
|
||||||
<span># shared</span>
|
|
||||||
</nav>
|
|
||||||
<nav>
|
|
||||||
<span>status-bar</span>
|
|
||||||
</nav>
|
|
||||||
</footer>
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
{{ io.frameFooter('mode-bar') }}
|
{{ io.frameFooter('mode-bar') }}
|
||||||
|
|
|
||||||
|
|
@ -32,4 +32,18 @@
|
||||||
<button>action</button>
|
<button>action</button>
|
||||||
</nav>
|
</nav>
|
||||||
</footer>
|
</footer>
|
||||||
|
{% endmacro %}
|
||||||
|
|
||||||
|
{% macro statusBar(title) %}
|
||||||
|
<footer class="io">
|
||||||
|
<nav>
|
||||||
|
<span>## items</span>
|
||||||
|
<span># selected (size)</span>
|
||||||
|
<span># type(s)</span>
|
||||||
|
<span># shared</span>
|
||||||
|
</nav>
|
||||||
|
<nav>
|
||||||
|
<span>{{ title | default('status-bar') }}</span>
|
||||||
|
</nav>
|
||||||
|
</footer>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue