forked from samuel-p/sp-codes.de
much more improvements, updated english texts
This commit is contained in:
parent
c0c0f6469a
commit
51f9a85aa0
30 changed files with 315 additions and 349 deletions
|
@ -2,10 +2,10 @@
|
|||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{strings.date[locale]}}</th>
|
||||
<th>{{strings.via[locale]}}</th>
|
||||
<th>{{strings.from[locale]}}</th>
|
||||
<th>{{strings.amount[locale]}}</th>
|
||||
<th>{{strings.donations.date[locale]}}</th>
|
||||
<th>{{strings.donations.via[locale]}}</th>
|
||||
<th>{{strings.donations.from[locale]}}</th>
|
||||
<th>{{strings.donations.amount[locale]}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -28,7 +28,7 @@
|
|||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="3">{{strings.total[locale]}}</th>
|
||||
<th colspan="3">{{strings.donations.total[locale]}}</th>
|
||||
<th>{{donations[0].donations | sum | amount}} €</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{strings.date[locale]}}</th>
|
||||
<th>{{strings.via[locale]}}</th>
|
||||
<th>{{strings.from[locale]}}</th>
|
||||
<th>{{strings.amount[locale]}}</th>
|
||||
<th>{{strings.donations.date[locale]}}</th>
|
||||
<th>{{strings.donations.via[locale]}}</th>
|
||||
<th>{{strings.donations.from[locale]}}</th>
|
||||
<th>{{strings.donations.amount[locale]}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="3">{{strings.total[locale]}}</th>
|
||||
<th colspan="3">{{strings.donations.total[locale]}}</th>
|
||||
<th>{{year.donations | sum | amount}} €</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{strings.name[locale]}}</th>
|
||||
<th>{{strings.type[locale]}}</th>
|
||||
<th>{{strings.provider[locale]}}</th>
|
||||
<th>{{strings.location[locale]}}</th>
|
||||
<th>{{strings.amount[locale]}} / {{strings.month[locale]}}</th>
|
||||
<th>{{strings.amount[locale]}} / {{strings.year[locale]}}</th>
|
||||
<th>{{strings.donations.name[locale]}}</th>
|
||||
<th>{{strings.donations.type[locale]}}</th>
|
||||
<th>{{strings.donations.provider[locale]}}</th>
|
||||
<th>{{strings.donations.location[locale]}}</th>
|
||||
<th>{{strings.donations.amount[locale]}} / {{strings.donations.month[locale]}}</th>
|
||||
<th>{{strings.donations.amount[locale]}} / {{strings.donations.year[locale]}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -28,7 +28,7 @@
|
|||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="4">{{strings.total[locale]}}</th>
|
||||
<th colspan="4">{{strings.donations.total[locale]}}</th>
|
||||
<th>{{expenses | sum | amount}} €</th>
|
||||
<th>{{expenses | sum | year | amount}} €</th>
|
||||
</tr>
|
||||
|
|
|
@ -16,7 +16,7 @@ layout: base.njk
|
|||
<div class="col-lg-4 col-12">
|
||||
{% if series %}
|
||||
<div class="tab-card">
|
||||
<div class="title">Alle Teile dieser Serie</div>
|
||||
<div class="title">{{ strings.article.seriesParts[locale] }}</div>
|
||||
<div class="card">
|
||||
{%- for post in collections.all %}
|
||||
{% if post.data.series == series %}
|
||||
|
@ -34,7 +34,7 @@ layout: base.njk
|
|||
{% set service = services | getServiceById(service) %}
|
||||
{% if service %}
|
||||
<div class="tab-card">
|
||||
<div class="title">Zugehöriger Dienst</div>
|
||||
<div class="title">{{ strings.article.relatedService[locale] }}</div>
|
||||
<div class="card service">
|
||||
<a class="link" {% if service.beta !=true %} href="/{{locale}}/services/{{service.id}}" {% endif %}></a>
|
||||
{% if service.beta == true %}
|
||||
|
@ -48,7 +48,7 @@ layout: base.njk
|
|||
{% if service.status %}
|
||||
<div class="mb-2">
|
||||
<a href="https://status.sp-codes.de" target="_blank">
|
||||
<img alt="{{strings.state[locale]}}"
|
||||
<img alt="{{strings.state.title[locale]}}"
|
||||
src="https://status.sp-codes.de/api/badge/1/status?label=Status&upLabel=Online&downLabel=Ausfall&maintenanceLabel=Wartung">
|
||||
</a>
|
||||
</div>
|
||||
|
@ -59,27 +59,15 @@ layout: base.njk
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="tab-card">
|
||||
<div class="title">Du hast eine Frage dazu?</div>
|
||||
<div class="card">
|
||||
<p>
|
||||
Komm gerne in der Matrix-Gruppe vorbei und lass uns diskutieren. Ich freue mich auf dein Feedback!
|
||||
</p>
|
||||
<a href="https://matrix.to/#/#sp-codes:matrix.sp-codes.de?via=matrix.sp-codes.de">#sp-codes:matrix.sp-codes.de</a>
|
||||
</div>
|
||||
<div class="title">{{ strings.article.questions[locale] }}</div>
|
||||
<div class="card">{{ strings.article.questionsContent[locale] | safe }}</div>
|
||||
</div>
|
||||
<div class="tab-card">
|
||||
<div class="title">Über mich</div>
|
||||
<div class="card">
|
||||
<p>
|
||||
Mein Name ist Samuel Philipp und ich bin ein Software Engineer aus Magdeburg. In meiner Freizeit
|
||||
hoste ich verschiedene freie <a href="/de/services/">Dienste</a>. Hier schreibe ich Artikel rund um
|
||||
Sicherheit und Datenschutz.
|
||||
</p>
|
||||
<a href="https://samuel-philipp.de">Mehr erfahren</a>
|
||||
</div>
|
||||
<div class="title">{{ strings.article.aboutMe[locale] }}</div>
|
||||
<div class="card">{{ strings.article.aboutMeContent[locale] | safe }}</div>
|
||||
</div>
|
||||
<div class="tab-card">
|
||||
<div class="title">Schreib mir deine Meinung</div>
|
||||
<div class="title">{{ strings.article.yourOpinion[locale] }}</div>
|
||||
<div class="card">
|
||||
<div class="d-flex justify-content-center flex-wrap my-3 contact-links">
|
||||
<div class="m-2"><a href="mailto:mail@sp-codes.de">
|
||||
|
|
|
@ -39,7 +39,7 @@ title: sp-codes
|
|||
<body>
|
||||
<nav class="nav menu border-bottom">
|
||||
<div class="toggle">
|
||||
<label for="menu" class="m-0"><span class="i-bars i-fw me-2"></span>{{ strings.menu[locale] }}</label>
|
||||
<label for="menu" class="m-0"><span class="i-bars i-fw me-2"></span>{{ strings.menu.title[locale] }}</label>
|
||||
|
||||
<div class="flex-grow-1"></div>
|
||||
|
||||
|
@ -92,14 +92,14 @@ title: sp-codes
|
|||
</div>
|
||||
<div class="flex-sm-grow-1"></div>
|
||||
<div class="d-flex justify-content-sm-start flex-wrap">
|
||||
<div class="me-4"><a href="/{{locale}}/imprint"><span class="i-info-circle me-2"></span>{{strings.imprint[locale]}}</a>
|
||||
<div class="me-4"><a href="/{{locale}}/imprint"><span class="i-info-circle me-2"></span>{{strings.menu.imprint[locale]}}</a>
|
||||
</div>
|
||||
<div class="me-4"><a href="/{{locale}}/privacy"><span class="i-user-secret me-2"></span>{{strings.privacy[locale]}}</a>
|
||||
<div class="me-4"><a href="/{{locale}}/privacy"><span class="i-user-secret me-2"></span>{{strings.menu.privacy[locale]}}</a>
|
||||
</div>
|
||||
<div class="me-4"><a target="_blank" href="https://git.sp-codes.de/samuel-p/sp-codes.de"><span
|
||||
class="i-code me-2"></span>{{strings.code[locale]}}</a></div>
|
||||
class="i-code me-2"></span>{{strings.menu.code[locale]}}</a></div>
|
||||
<div><a target="_blank" href="https://umami.sp-codes.de/share/gaJcXEyG/sp-codes.de"><span
|
||||
class="i-chart-line me-2"></span>{{strings.stats[locale]}}</a></div>
|
||||
class="i-chart-line me-2"></span>{{strings.menu.stats[locale]}}</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -4,8 +4,8 @@ layout: base.njk
|
|||
|
||||
{% set service = services | getServiceById(key) %}
|
||||
{% if service %}
|
||||
<p class="small"><a href="/{{locale}}/services/">Zurück zur Übersicht</a></p>
|
||||
<h1 class="clearfix"><i class="{{service.icon}}"></i> {{title}} <a href="https://status.sp-codes.de" class="float-end"><img alt="{{strings.state[locale]}}" src="https://status.sp-codes.de/api/badge/1/status?label=Status&upLabel=Online&downLabel=Ausfall&maintenanceLabel=Wartung"></a></h1>
|
||||
<p class="small"><a href="/{{locale}}/services/">{{ strings.service.overview[locale] }}</a></p>
|
||||
<h1 class="clearfix"><i class="{{service.icon}}"></i> {{title}} <a href="https://status.sp-codes.de" class="float-end"><img alt="{{strings.state.title[locale]}}" src="https://status.sp-codes.de/api/badge/{{service.status}}/status?label={{strings.state.title[locale]}}&upLabel={{strings.state.operational[locale]}}&downLabel={{strings.state.outage[locale]}}&maintenanceLabel={{strings.state.maintenance[locale]}}"></a></h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-12">
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
layout: base.njk
|
||||
---
|
||||
<a class="float-end mt-3" href="https://status.sp-codes.de" target="_blank"><strong><i class="i-heartbeat me-2"></i>Status</strong></a>
|
||||
|
||||
{{ content | safe }}
|
||||
|
||||
<div class="row justify-content-center">
|
||||
{% include "services-extended.html" %}
|
||||
</div>
|
|
@ -12,7 +12,7 @@
|
|||
{% if service.status %}
|
||||
<div class="mb-2">
|
||||
<a href="https://status.sp-codes.de" target="_blank">
|
||||
<img alt="{{strings.state[locale]}}" src="https://status.sp-codes.de/api/badge/{{service.status}}/status?label={{strings.state[locale]}}&upLabel={{strings.operational[locale]}}&downLabel={{strings.outage[locale]}}&maintenanceLabel={{strings.maintenance[locale]}}">
|
||||
<img alt="{{strings.state.title[locale]}}" src="https://status.sp-codes.de/api/badge/{{service.status}}/status?label={{strings.state.title[locale]}}&upLabel={{strings.state.operational[locale]}}&downLabel={{strings.state.outage[locale]}}&maintenanceLabel={{strings.state.maintenance[locale]}}">
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{%- for service in services %}
|
||||
<div class="col-12 col-md-6 col-lg-4 p-3">
|
||||
<div class="card service flat">
|
||||
<a class="link" href="/{{locale}}/services{% if service.beta != true %}/{{service.id}}{% endif %}"></a>
|
||||
<div class="inner" href="/{{locale}}/services{% if service.beta != true %}/{{service.id}}{% endif %}">
|
||||
{% if service.beta == true %}
|
||||
<div class="beta">TEST-PHASE</div>
|
||||
{% endif %}
|
||||
<i class="{{service.icon}} i-2x i-fw"></i>
|
||||
<h2 class="mt-2">{{service.name}}{% if service.url %} <a href="{{service.url}}" target="_blank"><i
|
||||
class="i-external-link"></i></a>{% endif %}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%- endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue