fix: link to auth urls
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
cellarspoon 2022-01-13 15:04:24 +01:00
parent 88bbaab94b
commit a41ee93cb0
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 2 deletions

View File

@ -26,6 +26,7 @@ async def home(
"resource_map": resource_map,
}
request.app.state.templates.env.filters["zip"] = zip
return request.app.state.templates.TemplateResponse(
"admin.html", context=context
)

View File

@ -6,10 +6,11 @@
<img src="{{ url_for('static', path='svg/lumbung_space_logo.svg') }}" alt="lumbung.space logo">
</div>
{% set site_list = ("tv","social","cloud","pen", "books") %}
{% set site_urls= ("https://tv.lumbung.space/plugins/auth-openid-connect/0.0.5/auth/openid-connect","https://social.lumbung.space/auth/auth/openid_connect","https://cloud.lumbung.space","https://pen.lumbung.space/wp-admin", "https://books.lumbung.space/link/generic") %}
<div class="columns is-multiline is-gapless is-mobile">
{% for i in site_list %}
{% for i, u in site_list|zip(site_urls) %}
<div class="column site is-one-fifth-tablet is-one-half-mobile">
<a href="https://{{i}}.lumbung.space">
<a href="{{u}}">
<img src="{{ url_for('static', path='svg/' ~ i ~'_lumbung.svg') }}" alt="lumbung.{{i}}">
<p>{{i}}.lumbung.space</p>
</a>