~cytrogen/srht-deploy

ref: 098f0ded66b5f614ec99f0d3efb89b3a5b1bc0f6 srht-deploy/meta-custom/templates/client-tabs.html -rw-r--r-- 492 bytes
098f0ded — Cytrogen 初始提交:sourcehut Docker Compose 自托管部署 10 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% macro link(path, title) %}
<a
  class="nav-link {% if request.path.endswith(path) %}active{% endif %}"
  href="/oauth/client/{{ client.client_id }}{{ path }}">{{ title }}</a>
{% endmacro %}

<li class="nav-item">
  <a class="nav-link" href="/oauth">
    {{icon("caret-left")}} back
  </a>
</li>
<li class="nav-item">
  {{ link("/settings", "settings") }}
</li>
<li class="nav-item">
  {{ link("/security", "security") }}
</li>
<li class="nav-item">
  {{ link("/delete", "delete") }}
</li>