OXYGENHUB
# 5e6d6484c28e oxygenhub / templates / settings_tabs.html
624 B · HTML · last changed Accessibility and narrow screens: focus rings, a skip link, named landmarks and aria-current, scrolling tab bars and tables, and WCAG AA text contrast in both themes checked by a test 1 month ago source blame history raw
1
{% macro tabs(on) %}
2
<nav class="tabs" aria-label="Settings"><div class="tabs-in">
3
  <span class="crumb"><strong>Settings</strong></span>
4
  <a href="/settings"{% if on == "profile" %} class="on" aria-current="page"{% endif %}>Profile</a>
5
  <a href="/settings/security"{% if on == "security" %} class="on" aria-current="page"{% endif %}>Security</a>
6
  <a href="/settings/keys"{% if on == "keys" %} class="on" aria-current="page"{% endif %}>Keys</a>
7
  <a href="/settings/tokens"{% if on == "tokens" %} class="on" aria-current="page"{% endif %}>Tokens</a>
8
  <a href="/orgs/new">New organisation</a>
9
</div></nav>
10
{% endmacro %}