This commit is contained in:
Jonas Heinrich 2025-04-06 10:07:10 +02:00
parent 551ba500b2
commit 00b5456403
3 changed files with 32 additions and 134 deletions

View file

@ -179,7 +179,7 @@
<div class="col-lg-8 mx-auto p-4 py-md-5">
<header class="d-flex align-items-center pb-3 mb-5 border-bottom">
<a href="/" class="d-flex align-items-center text-body-emphasis text-decoration-none">
<a href="/" class="d-flex align-items-center text-body-emphasis text-decoration-none text-reset">
<svg class="bi me-2" width="40" height="32"><use xlink:href="#bootstrap"/></svg>
<span class="fs-4">Verwaltungstracker.de</span>
</a>
@ -188,9 +188,9 @@
<main>
{% if request.path == '/' %}
<h1 class="text-body-emphasis">Licht ins Dunkel</h1>
<h1 class="text-body-emphasis">Wir bringen Licht ins Dunkel der Behörden</h1>
<p class="fs-5 col-md-8">
Mit unserem Verwaltungstracker können Sie die Arbeit der Stadtverwaltung live verfolgen:
Mit unserem Verwaltungstracker können Sie die Arbeit der Stadtverwaltung Karlsruhe live verfolgen:
Welche Vorhaben werden umgesetzt? Wo wird gebremst? Wie sieht der Stand in einzelnen Themenbereichen aus?
</p>
{% endif %}
@ -201,85 +201,8 @@
{% endblock app_body %}
{% static_alias "govplan_footer" %}
<hr class="col-3 col-md-2 mb-5">
<div class="row g-5">
<div class="col-md-6">
<h2 class="text-body-emphasis">Starter projects</h2>
<p>Ready to go beyond the starter template? Check out these open source projects that you can quickly duplicate to a new GitHub repository.</p>
<ul class="list-unstyled ps-0">
<li>
<a class="icon-link mb-1" href="https://github.com/twbs/examples/tree/main/icons-font" rel="noopener" target="_blank">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap npm starter
</a>
</li>
<li>
<a class="icon-link mb-1" href="https://github.com/twbs/examples/tree/main/parcel" rel="noopener" target="_blank">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap Parcel starter
</a>
</li>
<li>
<a class="icon-link mb-1" href="https://github.com/twbs/examples/tree/main/vite" rel="noopener" target="_blank">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap Vite starter
</a>
</li>
<li>
<a class="icon-link mb-1" href="https://github.com/twbs/examples/tree/main/webpack" rel="noopener" target="_blank">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap Webpack starter
</a>
</li>
</ul>
</div>
<div class="col-md-6">
<h2 class="text-body-emphasis">Guides</h2>
<p>Read more detailed instructions and documentation on using or contributing to Bootstrap.</p>
<ul class="list-unstyled ps-0">
<li>
<a class="icon-link mb-1" href="/docs/5.3/getting-started/introduction/">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap quick start guide
</a>
</li>
<li>
<a class="icon-link mb-1" href="/docs/5.3/getting-started/webpack/">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap Webpack guide
</a>
</li>
<li>
<a class="icon-link mb-1" href="/docs/5.3/getting-started/parcel/">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap Parcel guide
</a>
</li>
<li>
<a class="icon-link mb-1" href="/docs/5.3/getting-started/vite/">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Bootstrap Vite guide
</a>
</li>
<li>
<a class="icon-link mb-1" href="/docs/5.3/getting-started/contribute/">
<svg class="bi" width="16" height="16"><use xlink:href="#arrow-right-circle"/></svg>
Contributing to Bootstrap
</a>
</li>
</ul>
</div>
</div>
</main>
<footer class="pt-5 my-5 text-body-secondary border-top">
<div class="row">
@ -288,24 +211,8 @@
<small class="d-block mb-3 text-body-secondary">Project-Insanity &copy; 2025</small>
</div>
<div class="col-6 col-md">
<h5>Features</h5>
<ul class="list-unstyled text-small">
<li><a class="link-secondary text-decoration-none" href="#">Cool stuff</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Random feature</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Team feature</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Stuff for developers</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Another one</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Last time</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Resources</h5>
<ul class="list-unstyled text-small">
<li><a class="link-secondary text-decoration-none" href="#">Resource name</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Resource</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Another resource</a></li>
<li><a class="link-secondary text-decoration-none" href="#">Final resource</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Resources</h5>

View file

@ -22,14 +22,13 @@
{{ object.quote|striptags|truncatewords:20|addquotes }}
</blockquote>
{% endif %}
</p>
<div class="d-flex mt-auto">
<a href="{{ object.get_absolute_url }}" class="text-decoration-none">
<span href="{{ object.get_absolute_url }}" class="action-link text-blue-600 ">
→ mehr lesen
</span>
</a>
</p>
<div class="d-flex mt-auto">
<p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
<div class="ms-auto">
<span class="badge text-bg-{{ object.get_status_css }}">
{{ object.get_status_display }}

View file

@ -13,40 +13,32 @@
<div class="album py-5 bg-body-tertiary">
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
{% for section in sections %}
<div class="col">
<a href="{{ section.get_absolute_url }}" class="d-flex w-100 text-body text-decoration-none">
<div class="card shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice">
<title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/>
<text x="50%" y="50%" fill="#eceeef" dy=".3em">
{{ section.title }}
</text>
</svg>
{% if section.icon %}
<div class="ms-auto">
<div class="box-card-icon position-static text-bg-body">
<i class="fa fa-{{ section.icon }}"></i>
</div>
</div>
{% endif %}
<div class="card-body">
<p class="card-text">
{% get_section_progress section %}
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
{% for section in sections %}
<div class="col">
<a href="{{ section.get_absolute_url }}" class="text-decoration-none text-reset">
<div class="card shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/>
<text x="50%" y="50%" fill="#eceeef" dy=".3em">
{{ section.title }}
</text>
</svg>
<div class="card-body">
<p class="card-text">
{% if section.icon %}
<div class="ms-auto">
<div class="box-card-icon position-static text-bg-body">
<i class="fa fa-{{ section.icon }}"></i>
</div>
<small class="text-body-secondary">9 mins</small>
</div>
</div>
{% endif %}
{% get_section_progress section %}
</p>
</div>
</a>
</div>
{% endfor %}
</a>
</div>
{% endfor %}
</div>
</div>