:: members section looked like trash.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
775cbae281
commit
c539c98191
3 changed files with 24 additions and 10 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
/* I know everything looks absolutely trash :3 */
|
||||||
#top {
|
#top {
|
||||||
margin-top: 2vw;
|
margin-top: 2vw;
|
||||||
margin-left: 15vw;
|
margin-left: 15vw;
|
||||||
|
@ -11,6 +12,13 @@
|
||||||
font-family: "Jetbrains Mono";
|
font-family: "Jetbrains Mono";
|
||||||
src: url(/assets/ttf/JBM.ttf);
|
src: url(/assets/ttf/JBM.ttf);
|
||||||
}
|
}
|
||||||
|
.user-display {
|
||||||
|
}
|
||||||
|
.prefix {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
:root {
|
:root {
|
||||||
--text-color: #8941ad;
|
--text-color: #8941ad;
|
||||||
--term-color: #4af626;
|
--term-color: #4af626;
|
||||||
|
@ -33,9 +41,6 @@ hr {
|
||||||
color: var(--term-color);
|
color: var(--term-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
CSS styling for guestbook
|
|
||||||
*/
|
|
||||||
#entries {
|
#entries {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
@ -91,10 +96,6 @@ label {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
CSS styling for services page.
|
|
||||||
*/
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--sin-padding: 5px;
|
--sin-padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,3 +8,13 @@
|
||||||
<p class="service-description">{{description}}</p>
|
<p class="service-description">{{description}}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro service %}
|
{% endmacro service %}
|
||||||
|
{% macro user_display(username, role=0) %}
|
||||||
|
{% if role == 0 %}
|
||||||
|
{% set_global prefix = "<p class='prefix' style='color:gray;'>member</p>" %}
|
||||||
|
{% elif role == 1 %}
|
||||||
|
{% set_global prefix = "<p class='prefix' style='color:pink;'>friend</p>" %}
|
||||||
|
{% elif role == 2 %}
|
||||||
|
{% set_global prefix = "<p class='prefix' style='color:red;'>admin</p>" %}
|
||||||
|
{% endif %}
|
||||||
|
<li class="user-display">{{prefix | safe}}<a href="/assets/pgp/{{username}}.txt">{{username}}</a></li>
|
||||||
|
{% endmacro user_display %}
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
|
{% import "macros" as macros %}
|
||||||
{% extends "base" %}
|
{% extends "base" %}
|
||||||
{% block title %}members{% endblock title %}
|
{% block title %}members{% endblock title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
Make sure to verify our PGP keys when communicating with us.
|
These are currently members of iwakura.rip, participating in some form.
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/assets/pgp/andre.txt">andre</a></li>
|
{{macros::user_display(username="hex", role=2)}}
|
||||||
<li><a href="/assets/pgp/hex.txt">hex</a></li>
|
{{macros::user_display(username="andre", role=1)}}
|
||||||
|
{{macros::user_display(username="grng", role=1)}}
|
||||||
</ul>
|
</ul>
|
||||||
|
If communicating with any of our members, please encrypt your message against their pgp key, if they have one.
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue