mirror of
https://github.com/freedit-org/freedit.git
synced 2026-04-25 03:05:37 -04:00
* i18n * i18n * dedup feed items * fmt * update * typos * [wip] #208 * [wip] * i18n * i18n * i18n * typos * i18n * Update i18n/en.toml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * i18n * i18n * typos happy * typos happy --------- Co-authored-by: GitHub <github@github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
<div class="box">
|
|
{{tree_names.len()}} trees<br>
|
|
{% for i in tree_names %}
|
|
<a href="/admin/view?tree_name={{i}}">
|
|
{% if i == tree_name.as_str() %}
|
|
<span class="tag is-success">{{i}}</span>
|
|
{% else %}
|
|
<span class="tag is-info">{{i}}</span>
|
|
{% endif %}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="box">
|
|
<p>Help: <a href="https://freedit-org.github.io/freedit/freedit/controller/index.html" target="_blank">kv explain</a></p></br>
|
|
{% for i in ones %} <p>{{i}}</p><br> {% endfor %}
|
|
</div>
|
|
<div class="divider"></div>
|
|
|
|
<nav class="pagination">
|
|
{% if anchor < n %}
|
|
<a class="pagination-previous" disabled>{{ "prev"|l10n(page_data.lang) }}</a>
|
|
{% else %}
|
|
<a class="pagination-previous" href="/admin/view?tree_name={{tree_name}}&anchor={{anchor - n}}&is_desc={{is_desc}}">{{ "prev"|l10n(page_data.lang) }}</a>
|
|
{% endif %}
|
|
|
|
{% if ones.len() < n %}
|
|
<a class="pagination-next" disabled >{{ "next"|l10n(page_data.lang) }}</a>
|
|
{% else %}
|
|
<a class="pagination-next" href="/admin/view?tree_name={{tree_name}}&anchor={{anchor + n}}&is_desc={{is_desc}}">{{ "next"|l10n(page_data.lang) }}</a>
|
|
{% endif %}
|
|
</nav>
|
|
{% endblock %} |