distro-tools/apollo/server/templates/admin_layout.jinja

66 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-02-01 21:37:16 +00:00
{% extends "layout.jinja" %}
{% block head %}
<style>
bx-side-nav {
margin-top: 3rem;
height: calc(100% - 3rem);
}
.bx--container {
will-change: margin-left;
transition: margin-left .11s cubic-bezier(0.2, 0, 1, 0.9)
}
@media(min-width: 66rem) {
.bx--container {
margin-left: 16rem
}
bx-inline-notification {
padding-left: 16rem;
}
#apollo-notification-wrapper {
margin: 0;
}
.top-notification {
width: 100%;
max-width: 100% !important;
}
2023-02-01 21:37:16 +00:00
}
.bx--with-rail .bx--container {
margin-left: 3rem
}
@media(min-width: 66rem) {
.bx--rail-expanded .bx--container {
margin-left: 16rem
}
}
@media(min-width: 66rem) {
.bx--with-side-nav-for-header .bx--container {
margin-left: 0
}
}
.bx--main {
height: 100%;
}
</style>
{% endblock %}
{% block content %}
<bx-side-nav aria-label="Side navigation" expanded>
<bx-side-nav-items>
<bx-side-nav-link href="/admin/">General</bx-side-nav-link>
<bx-side-nav-link href="/admin/users/">Users</bx-side-nav-link>
<bx-side-nav-link href="/admin/oidc/">OIDC</bx-side-nav-link>
2023-02-01 21:37:16 +00:00
</bx-side-nav-items>
</bx-side-nav>
{% block admin_content %}{% endblock %}
{% endblock %}