This commit is contained in:
parent
953821b381
commit
5708f7e0d6
@ -1,36 +1,18 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="logo">
|
||||||
<nav class="navbar" role="navigation" aria-label="main navigation">
|
<img src="{{ url_for('static', path='svg/lumbung_space_logo.svg') }}" alt="lumbung.space logo">
|
||||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar">
|
</div>
|
||||||
<span aria-hidden="true"></span>
|
{% set site_list = ("tv","social","cloud","pen", "books") %}
|
||||||
<span aria-hidden="true"></span>
|
<div class="columns is-multiline is-gapless is-mobile">
|
||||||
<span aria-hidden="true"></span>
|
{% for i in site_list %}
|
||||||
|
<div class="column site is-one-fifth-tablet is-one-third-mobile">
|
||||||
|
<a href="https://{{i}}.lumbung.space">
|
||||||
|
<img src="{{ url_for('static', path='svg/' ~ i ~'_lumbung.svg') }}" alt="lumbung.{{i}}">
|
||||||
|
<p>{{i}}.lumbung.space</p>
|
||||||
</a>
|
</a>
|
||||||
<div id="navbar" class="navbar-menu">
|
|
||||||
<div class="navbar-end">
|
|
||||||
<div class="navbar-item">
|
|
||||||
<a href="/"><strong>services</strong></a>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-item">
|
|
||||||
<a href="/invites"><strong>invites</strong></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<div class="logo">
|
|
||||||
<img src="{{ url_for('static', path='svg/lumbung_space_logo.svg') }}" alt="lumbung.space logo">
|
|
||||||
</div>
|
</div>
|
||||||
{% set site_list = ("tv","social","cloud","pen", "books") %}
|
{% endfor %}
|
||||||
<div class="columns is-multiline is-gapless is-mobile">
|
</div>
|
||||||
{% for i in site_list %}
|
</div>
|
||||||
<div class="column site is-one-fifth-tablet is-one-third-mobile">
|
|
||||||
<a href="https://{{i}}.lumbung.space">
|
|
||||||
<img src="{{ url_for('static', path='svg/' ~ i ~'_lumbung.svg') }}" alt="lumbung.{{i}}">
|
|
||||||
<p>{{i}}.lumbung.space</p>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -15,22 +15,41 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="content">{% block content %}{% endblock %}</div>
|
<div class="container">
|
||||||
<footer class="footer">
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||||
<div class="content footer-links">
|
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar">
|
||||||
<span>
|
<span aria-hidden="true"></span>
|
||||||
<a href="https://panduan.lumbung.space/share/684ea8a2-bc47-4111-acf2-f88a200b640f">Imprint</a>
|
<span aria-hidden="true"></span>
|
||||||
</span>
|
<span aria-hidden="true"></span>
|
||||||
<span>
|
</a>
|
||||||
<a href="https://panduan.lumbung.space/share/8a742222-2561-4d67-a9f1-6c7c4fe8bead">Privacy Policy</a>
|
<div id="navbar" class="navbar-menu">
|
||||||
</span>
|
<div class="navbar-end">
|
||||||
<span>
|
<div class="navbar-item">
|
||||||
<a href="https://panduan.lumbung.space/share/272026ff-57fd-4894-8d68-58606c77044c">FAQ</a>
|
<a href="/"><strong>services</strong></a>
|
||||||
</span>
|
</div>
|
||||||
<span>
|
<div class="navbar-item">
|
||||||
<a href="https://panduan.lumbung.space/share/ece8e392-7b21-4379-bd82-a11e06ebf1fb">Community Guidelines</a>
|
<a href="/invites"><strong>invites</strong></a>
|
||||||
</span>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</nav>
|
||||||
|
<div id="content">{% block content %}{% endblock %}</div>
|
||||||
|
</div>
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="content footer-links">
|
||||||
|
<span>
|
||||||
|
<a href="https://panduan.lumbung.space/share/684ea8a2-bc47-4111-acf2-f88a200b640f">Imprint</a>
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
<a href="https://panduan.lumbung.space/share/8a742222-2561-4d67-a9f1-6c7c4fe8bead">Privacy Policy</a>
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
<a href="https://panduan.lumbung.space/share/272026ff-57fd-4894-8d68-58606c77044c">FAQ</a>
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
<a href="https://panduan.lumbung.space/share/ece8e392-7b21-4379-bd82-a11e06ebf1fb">Community Guidelines</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,50 +1,32 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="logo">
|
||||||
<nav class="navbar" role="navigation" aria-label="main navigation">
|
<img src="{{ url_for('static', path='svg/lumbung_space_logo.svg') }}" alt="lumbung.space logo">
|
||||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar">
|
</div>
|
||||||
<span aria-hidden="true"></span>
|
<div>
|
||||||
<span aria-hidden="true"></span>
|
{% if user.preferred_username in invites and invites[user.preferred_username]|length > 0 %}
|
||||||
<span aria-hidden="true"></span>
|
<table>
|
||||||
</a>
|
<tr>
|
||||||
<div id="navbar" class="navbar-menu">
|
<th>Link</th>
|
||||||
<div class="navbar-end">
|
<th>Validity</th>
|
||||||
<div class="navbar-item">
|
<th>Actions</th>
|
||||||
<a href="/"><strong>services</strong></a>
|
</tr>
|
||||||
</div>
|
{% for invite in invites[user.preferred_username] %}
|
||||||
<div class="navbar-item">
|
<tr>
|
||||||
<a href="/invites"><strong>invites</strong></a>
|
<td>
|
||||||
</div>
|
<a class="invite" href="{{ url_for('register_invite', invite=invite.link) }}">
|
||||||
</div>
|
{{ url_for('register_invite', invite=invite.link) }}
|
||||||
</div>
|
</a>
|
||||||
</nav>
|
</td>
|
||||||
<div class="logo">
|
<td> {{ invite.validity }} </td>
|
||||||
<img src="{{ url_for('static', path='svg/lumbung_space_logo.svg') }}" alt="lumbung.space logo">
|
<td> <button class="button is-ghost"><a href="{{ url_for('invite_keycloak_delete') }}?invite={{ invite.link }}">delete</a></button></td>
|
||||||
</div>
|
</tr>
|
||||||
<div>
|
{% endfor %}
|
||||||
{% if user.preferred_username in invites and invites[user.preferred_username]|length > 0 %}
|
</table>
|
||||||
<table>
|
{% endif %}
|
||||||
<tr>
|
|
||||||
<th>Link</th>
|
|
||||||
<th>Validity</th>
|
|
||||||
<th>Actions</th>
|
|
||||||
</tr>
|
|
||||||
{% for invite in invites[user.preferred_username] %}
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a class="invite" href="{{ url_for('register_invite', invite=invite.link) }}">
|
|
||||||
{{ url_for('register_invite', invite=invite.link) }}
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td> {{ invite.validity }} </td>
|
|
||||||
<td> <button class="button is-ghost"><a href="{{ url_for('invite_keycloak_delete') }}?invite={{ invite.link }}">delete</a></button></td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</table>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button class="button is-ghost"><a href="{{ url_for('invite_keycloak_create') }}">Generate</a></button>
|
<button class="button is-ghost"><a href="{{ url_for('invite_keycloak_create') }}">Generate</a></button>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user