changed some shit also yes!!!

This commit is contained in:
hexlocation 2025-01-08 17:55:58 +01:00
parent 855521e4e5
commit 6f0ce47bd8
Signed by: hex
GPG key ID: A19EFFAAF8C00FCF
6 changed files with 14 additions and 12 deletions

View file

@ -68,9 +68,9 @@ fn abuse() -> Template {
fn post() -> Template {
Template::render("post", context! {})
}
#[get("/members")]
fn members() -> Template {
Template::render("members", context! {})
#[get("/people")]
fn people() -> Template {
Template::render("people", context! {})
}
#[get("/")]
@ -116,7 +116,7 @@ fn rocket() -> _ {
build()
.mount(
"/",
routes![index, guests, post_msg, members, post, services, abuse],
routes![index, guests, post_msg, people, post, services, abuse],
)
.mount("/assets", FileServer::from(ASSETS_DIR))
.attach(Template::fairing())

View file

@ -13,7 +13,7 @@ Please make sure your e-mail contains the following:
Please consider the following when sending an abuse e-mail.
<ol>
<li>We are *not* able to provide any personal identifiable information, as we do not store them.</li>
<li>We take abuse notifications very serious. Sending us multiple false abuse reports will result in a permanent block from our mailserver.</li>
<li>We take abuse notifications very serious. Sending us multiple false abuse reports will result in being blacklisted from any further communication with us.</li>
<li>We try to respond within 48 hours. Do not flood our inboxes.</li>
<li>Please be respectful at all times.</li>
</ol>

View file

@ -16,7 +16,7 @@
<a href="/">home</a>
<a href="/services">services</a>
<a href="/guestbook">guestbook</a>
<a href="/members">members</a>
<a href="/people">people</a>
<a href="/abuse">report abuse</a>
</div>
<div id="content">{% block content %}{% endblock content %}</div>

View file

@ -1,8 +1,11 @@
{% macro service(title, description, href, img, h="16") %}
{% macro service(title, description, href, img, h="16", available=true) %}
<div class="service-container">
<p class="service-title">
<img class="service-icon" src="{{img}}" height="{{h}}" >
<a href="{{href}}" class="service-link">{{title}}</a>
{% if not available %}
<span style="color:red;font-size: 10px;">unavailable</span>
{% endif %}
</p>
<hr />
<p class="service-description">{{description}}</p>

View file

@ -2,11 +2,10 @@
{% extends "base" %}
{% block title %}members{% endblock title %}
{% block content %}
These are currently members of iwakura.rip, participating in some form.
These people are in some way related to iwakura.rip and have an account on here :3
<ul>
{{macros::user_display(username="hex", role=2)}}
{{macros::user_display(username="andre", role=1)}}
{{macros::user_display(username="grng", role=1)}}
</ul>
If communicating with any of our members, please encrypt your message against their pgp key, if they have one.
{% endblock content %}

View file

@ -4,10 +4,10 @@
{% block content %}
<div id="service-containers">
{{macros::service(title="Forgejo", description="A place for everyone to host their source code!", href="https://git.iwakura.rip", img="https://www.marefa.org/w/images/thumb/0/05/Forgejo_logo.svg/640px-Forgejo_logo.svg.png")}}
{{macros::service(title="Jellyfin", description="For all your media consumption needs.", href="https://media.iwakura.rip", img="/assets/img/jellyfin.png")}}
{{macros::service(title="Jellyfin", description="For all your media consumption needs.", href="https://media.iwakura.rip", img="/assets/img/jellyfin.png", available=false)}}
{{macros::service(title="Woodpecker CI", description="Powerful CI/CD to use together with Forgejo.", href="https://ci.iwakura.rip", img="/assets/img/woodpecker.svg")}}
{{macros::service(title="Jellyseerr", description="Get information about your favorite movies and TV shows, all together in one place.", href="https://request.iwakura.rip", img="/assets/img/jellyseerr.ico")}}
{{macros::service(title="DN42", description="We are currently in the process of connecting all of our services to DN42 - an overlay network using internet technologies.", href="https://iwakura.dn42", img="/assets/img/dn42.png")}}
{{macros::service(title="Jellyseerr", description="Get information about your favorite movies and TV shows, all together in one place.", href="https://request.iwakura.rip", img="/assets/img/jellyseerr.ico", available=false)}}
{{macros::service(title="DN42", description="We are currently in the process of connecting all of our services to DN42 - an overlay network using internet technologies.", href="https://iwakura.dn42", img="/assets/img/dn42.png", available=false)}}
{{macros::service(title="Authelia", description="Open-source authentication & authorization platform.", href="https://a.iwakura.rip", img="/assets/img/authelia.png")}}
{{macros::service(title="E-mail", description="We are hosting our own e-mail servers on an off-shore hosting provider. Note: all emails are currently being stored in plain text. We recommend using PGP encryption.", href="https://mail.iwakura.rip", img="/assets/img/mail.png")}}
{{macros::service(title="Blog", description="Our blog where we post some stuff, sometimes :)", href="https://blog.iwakura.rip", img="")}}