Fixed CSS styling by inserting bulma content class where needed.

This commit is contained in:
Johannes Erwerle 2026-10-18 10:38:06 +02:00
parent d7df062509
commit 5c05ec0a8b
4 changed files with 11 additions and 15 deletions

View file

@ -1,7 +1,3 @@
h1 {
font-size: 2rem
}
.pixelart { .pixelart {
image-rendering: crisp-edges; image-rendering: crisp-edges;
} }

View file

@ -1,6 +1,8 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<section class="section content">
<nav class="level"> <nav class="level">
<div class="level-left"> <div class="level-left">
<h1 class="level-item">Your Borg Repositories</h1> <h1 class="level-item">Your Borg Repositories</h1>
@ -9,13 +11,11 @@
<a class="level-item button is-primary" href="{% url 'borg_add' %}" role="button">Add Repository</a> <a class="level-item button is-primary" href="{% url 'borg_add' %}" role="button">Add Repository</a>
</div> </div>
</nav> </nav>
<section class="section">
<p>Create a borg repository by specifying a name and the SSH public key that is allowed to access this repository. The name is only for your convenience. To set up the repository please follow the <a href="https://borgbackup.readthedocs.io/en/stable/">BorgBackup documentation</a>. There is also a <a href="https://borgbackup.readthedocs.io/en/stable/quickstart.html">Quick start guide</a> available. <p>Create a borg repository by specifying a name and the SSH public key that is allowed to access this repository. The name is only for your convenience. To set up the repository please follow the <a href="https://borgbackup.readthedocs.io/en/stable/">BorgBackup documentation</a>. There is also a <a href="https://borgbackup.readthedocs.io/en/stable/quickstart.html">Quick start guide</a> available.
<b>Always use encrypted backups!</b></p> <b>Always use encrypted backups!</b></p>
</section> </section>
<section class="section"> <section class="section content">
<table class="table is-striped is-fullwidth is-hoverable"> <table class="table is-striped is-fullwidth is-hoverable">
<thead> <thead>
<th>Name</th> <th>Name</th>
@ -44,7 +44,7 @@
</section> </section>
{% if BORG_SERVER_PUBKEYS %} {% if BORG_SERVER_PUBKEYS %}
<section class="section"> <section class="section content">
<div class="card"> <div class="card">
<header class="card-header"> <header class="card-header">
<p class="card-header-title">Borg Server Public Keys</p> <p class="card-header-title">Borg Server Public Keys</p>

View file

@ -1,12 +1,12 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<div class="content">
<h1 class="has-text-centered">Welcome to Community Backup!</h1>
<section class="section"> <section class="section">
<p>This is a service offering space for backups free of charge. This is a hobby project. It comes with no guarantees for anything, especially availability of the service. This service is in a testing phase at the moment. It might be unavailable at times and features might change quickly.</p> <h1 class="has-text-centered">Welcome to Community Backup!</h1>
<p>Currently this service offers backups only via <a href="https://www.borgbackup.org/">Borg Backup</a>.</p> <p>This is a service offering space for backups free of charge. This is a hobby project. It comes with no guarantees for anything, especially availability of the service. This service is in a testing phase at the moment. It might be unavailable at times and features might change quickly.</p>
<p>To access this service you need an account. To register for an account you need a voucher. Vouchers are required to control the amount of users, so that there is enough space available for everyone.</p> <p>Currently this service offers backups only via <a href="https://www.borgbackup.org/">Borg Backup</a>.</p>
<p>To access this service you need an account. To register for an account you need a voucher. Vouchers are required to control the amount of users, so that there is enough space available for everyone.</p>
</section> </section>
</div>
{% endblock %} {% endblock %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<section class="section"> <section class="section content">
{{ markdown_content|safe }} {{ markdown_content|safe }}
</section > </section >
{% endblock %} {% endblock %}