glacier-web-cli 0.5.0

Command-line tool for creating and running Glacier applications.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{# columns: (heading, [(href, text)]); links: the policy links (href, text) in the meta row. #}
{% props links: Vec<(String, String)>, copyright: String, columns: Vec<(String, Vec<(String, String)>)> = Vec::new() %}
<footer class="ui-footer">
  <div class="ui-footer-inner">
    {%- if !columns.is_empty() %}
    <div class="ui-footer-cols">
      {%- for (heading, items) in columns.iter() %}
      <div><h2 class="ui-footer-heading">{{ heading }}</h2><ul>{% for (href, text) in items.iter() %}<li><a href="{{ href }}">{{ text }}</a></li>{% end %}</ul></div>
      {%- end %}
    </div>
    {%- end %}
    <div class="ui-footer-meta">
      <ul>{% for (href, text) in links.iter() %}<li><a href="{{ href }}">{{ text }}</a></li>{% end %}</ul>
      <span>{{ copyright }}</span>
    </div>
  </div>
</footer>