hacking
This commit is contained in:
parent
83d8aa21b5
commit
551ba500b2
4 changed files with 238 additions and 196 deletions
|
|
@ -188,17 +188,11 @@
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
{% if request.path == '/' %}
|
{% if request.path == '/' %}
|
||||||
|
|
||||||
<h1 class="text-body-emphasis">Licht ins Dunkel</h1>
|
<h1 class="text-body-emphasis">Licht ins Dunkel</h1>
|
||||||
<p class="fs-5 col-md-8">
|
<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 live verfolgen:
|
||||||
Welche Vorhaben werden umgesetzt? Wo wird gebremst? Wie sieht der Stand in einzelnen Themenbereichen aus?
|
Welche Vorhaben werden umgesetzt? Wo wird gebremst? Wie sieht der Stand in einzelnen Themenbereichen aus?
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="mb-5">
|
|
||||||
<a href="/docs/5.3/examples/" class="btn btn-primary btn-lg px-4">Download examples</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% static_alias "govplan_header" %}
|
{% static_alias "govplan_header" %}
|
||||||
|
|
@ -280,8 +274,59 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<footer class="pt-5 my-5 text-body-secondary border-top">
|
<footer class="pt-5 my-5 text-body-secondary border-top">
|
||||||
Created by the Project-Insanity team · © 2025
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 col-md">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="d-block mb-2" role="img" viewBox="0 0 24 24"><title>Product</title><circle cx="12" cy="12" r="10"/><path d="M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83m13.79-4l-5.74 9.94"/></svg>
|
||||||
|
<small class="d-block mb-3 text-body-secondary">Project-Insanity © 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>
|
||||||
|
<ul class="list-unstyled text-small">
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Business</a></li>
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Education</a></li>
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Government</a></li>
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Gaming</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="col-6 col-md">
|
||||||
|
<h5>About</h5>
|
||||||
|
<ul class="list-unstyled text-small">
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Team</a></li>
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Locations</a></li>
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Privacy</a></li>
|
||||||
|
<li><a class="link-secondary text-decoration-none" href="#">Terms</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://getbootstrap.com/docs/5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
<script src="https://getbootstrap.com/docs/5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||||
|
|
|
||||||
|
|
@ -14,178 +14,161 @@
|
||||||
{% include "snippets/meta.html" %}
|
{% include "snippets/meta.html" %}
|
||||||
{% endblock meta %}
|
{% endblock meta %}
|
||||||
{% block app_body %}
|
{% block app_body %}
|
||||||
<div class="container mb-3">
|
|
||||||
<div class="box-card border-yellow md:shadow-yellow bg-body mb-5">
|
<h1 class="text-body-emphasis">{{ object.title }}</h1>
|
||||||
<div>
|
<p class="fs-5 col-md-8">
|
||||||
<div class="flex-grow-1 tight-margin p-3 p-md-4 p-lg-5">
|
<div class="d-md-flex my-4 align-items-center">
|
||||||
{% if not government.active %}
|
<ul class="list-unstyled d-flex m-0">
|
||||||
<div class="alert alert-info">Dieses Vorhaben gehörte zur {{ government.name }} und wird nicht mehr aktualisiert.</div>
|
<li>
|
||||||
|
<span class="badge text-bg-{{ object.get_status_css }} me-2">{{ object.get_status_display }}</span>
|
||||||
|
</li>
|
||||||
|
{% for cat in object.categories.all %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ section.get_absolute_url }}"
|
||||||
|
class="badge text-bg-light-subtle me-2">{{ cat.name }}</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<dl>
|
||||||
|
{% if object.quote %}
|
||||||
|
<dt>Ausschnitt aus dem Koalitionsvertrag</dt>
|
||||||
|
<dd>
|
||||||
|
<blockquote>
|
||||||
|
{{ object.quote | addquotes | markdown }}
|
||||||
|
</blockquote>
|
||||||
|
{% with refs=object.get_reference_links %}
|
||||||
|
{% if refs %}
|
||||||
|
<p>
|
||||||
|
<span class="small">
|
||||||
|
{% if refs|length > 1 %}
|
||||||
|
Quellen:
|
||||||
|
{% else %}
|
||||||
|
Quelle:
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
|
{% for ref in refs %}
|
||||||
|
<a href="{{ ref }}" class="badge text-bg-light me-2" target="_blank">{{ forloop.counter }}</a>
|
||||||
|
{% endfor %}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
|
{% endif %}
|
||||||
|
</dd>
|
||||||
|
{% if object.description %}
|
||||||
|
<div class="mt-3 mt-md-5">
|
||||||
|
<dt>Unsere Einschätzung</dt>
|
||||||
|
<dd>
|
||||||
|
{{ object.description | safe }}
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
</dl>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col col-12 col-md-5 col-lg-3 mt-3 mt-md-0">
|
||||||
|
<dl>
|
||||||
|
{% if object.rating %}
|
||||||
|
<dt>Bewertung</dt>
|
||||||
|
<dd>
|
||||||
|
{{ object.get_rating_display }}
|
||||||
|
</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h1 class="mt-0 h3">{{ object.title }}</h1>
|
{% if object.measure %}
|
||||||
<div class="d-md-flex my-4 align-items-center">
|
<dt>Art der Umsetzung</dt>
|
||||||
<ul class="list-unstyled d-flex m-0">
|
<dd>
|
||||||
<li>
|
{{ object.measure }}
|
||||||
<span class="badge text-bg-{{ object.get_status_css }} me-2">{{ object.get_status_display }}</span>
|
</dd>
|
||||||
</li>
|
{% endif %}
|
||||||
{% for cat in object.categories.all %}
|
{% if object.due_date %}
|
||||||
<li>
|
<dt>Frist</dt>
|
||||||
<a href="{{ section.get_absolute_url }}"
|
<dd>
|
||||||
class="badge text-bg-light-subtle me-2">{{ cat.name }}</a>
|
{{ object.due_date|date:"SHORT_DATE_FORMAT" }}
|
||||||
</li>
|
</dd>
|
||||||
{% endfor %}
|
{% endif %}
|
||||||
</ul>
|
{% if object.responsible_publicbody %}
|
||||||
<b>FIXME FOLLOW LIST</b>
|
<dt>Federführung</dt>
|
||||||
</div>
|
<dd>
|
||||||
<div class="row">
|
<a href="{{ object.responsible_publicbody.get_absolute_url }}">{{ object.responsible_publicbody.name }}</a>
|
||||||
<div class="col col-12 col-md-7 col-lg-8 order-md-2 offset-lg-1">
|
</dd>
|
||||||
<dl>
|
{% endif %}
|
||||||
{% if object.quote %}
|
{% if object.responsible_publicbody %}
|
||||||
<dt>Ausschnitt aus dem Koalitionsvertrag</dt>
|
{% if not object.has_recent_foirequest and government.active %}
|
||||||
<dd>
|
<p>
|
||||||
<blockquote>
|
<a href="{{ object.make_request_url }}"
|
||||||
{{ object.quote | addquotes | markdown }}
|
target="_blank"
|
||||||
</blockquote>
|
class="btn btn-outline-primary btn-sm">Anfrage zum Vorhaben stellen</a>
|
||||||
{% with refs=object.get_reference_links %}
|
</p>
|
||||||
{% if refs %}
|
{% elif object.has_recent_foirequest %}
|
||||||
<p>
|
{% with foirequest=object.get_recent_foirequest %}
|
||||||
<span class="small">
|
<dt>Anfrage</dt>
|
||||||
{% if refs|length > 1 %}
|
<dd>
|
||||||
Quellen:
|
{% include "foirequest/snippets/request_item_mini.html" with object=foirequest %}
|
||||||
{% else %}
|
|
||||||
Quelle:
|
|
||||||
{% endif %}
|
|
||||||
</span>
|
|
||||||
{% for ref in refs %}
|
|
||||||
<a href="{{ ref }}" class="badge text-bg-light me-2" target="_blank">{{ forloop.counter }}</a>
|
|
||||||
{% endfor %}
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
{% endwith %}
|
|
||||||
{% endif %}
|
|
||||||
</dd>
|
</dd>
|
||||||
{% if object.description %}
|
{% endwith %}
|
||||||
<div class="mt-3 mt-md-5">
|
{% endif %}
|
||||||
<dt>Unsere Einschätzung</dt>
|
{% endif %}
|
||||||
<dd>
|
{% if object.organization %}
|
||||||
{{ object.description | safe }}
|
<dt>Beobachtet von</dt>
|
||||||
</dd>
|
<dd>
|
||||||
</div>
|
<a href="{{ object.organization.website }}">
|
||||||
{% endif %}
|
{% if object.organization.logo %}
|
||||||
</dl>
|
{% if object.organization.logo.url.lower|slice:"-4:" == ".svg" %}
|
||||||
</div>
|
{# djlint:off H006 #}
|
||||||
<div class="col col-12 col-md-5 col-lg-3 mt-3 mt-md-0">
|
<img src="{{ object.organization.logo.url }}"
|
||||||
<dl>
|
class="col-8 col-md-12 px-0"
|
||||||
{% if object.rating %}
|
alt="{{ object.organization.name }}">
|
||||||
<dt>Bewertung</dt>
|
{% else %}
|
||||||
<dd>
|
<img src="{% thumbnail object.organization.logo 300x0 %}"
|
||||||
{{ object.get_rating_display }}
|
class="col-8 col-md-12 px-0"
|
||||||
</dd>
|
alt="{{ object.organization.name }}">
|
||||||
{% endif %}
|
|
||||||
{% if object.measure %}
|
|
||||||
<dt>Art der Umsetzung</dt>
|
|
||||||
<dd>
|
|
||||||
{{ object.measure }}
|
|
||||||
</dd>
|
|
||||||
{% endif %}
|
|
||||||
{% if object.due_date %}
|
|
||||||
<dt>Frist</dt>
|
|
||||||
<dd>
|
|
||||||
{{ object.due_date|date:"SHORT_DATE_FORMAT" }}
|
|
||||||
</dd>
|
|
||||||
{% endif %}
|
|
||||||
{% if object.responsible_publicbody %}
|
|
||||||
<dt>Federführung</dt>
|
|
||||||
<dd>
|
|
||||||
<a href="{{ object.responsible_publicbody.get_absolute_url }}">{{ object.responsible_publicbody.name }}</a>
|
|
||||||
</dd>
|
|
||||||
{% endif %}
|
|
||||||
{% if object.responsible_publicbody %}
|
|
||||||
{% if not object.has_recent_foirequest and government.active %}
|
|
||||||
<p>
|
|
||||||
<a href="{{ object.make_request_url }}"
|
|
||||||
target="_blank"
|
|
||||||
class="btn btn-outline-primary btn-sm">Anfrage zum Vorhaben stellen</a>
|
|
||||||
</p>
|
|
||||||
{% elif object.has_recent_foirequest %}
|
|
||||||
{% with foirequest=object.get_recent_foirequest %}
|
|
||||||
<dt>Anfrage</dt>
|
|
||||||
<dd>
|
|
||||||
{% include "foirequest/snippets/request_item_mini.html" with object=foirequest %}
|
|
||||||
</dd>
|
|
||||||
{% endwith %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
{{ object.organization.name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if object.organization %}
|
</a>
|
||||||
<dt>Beobachtet von</dt>
|
</dd>
|
||||||
<dd>
|
{% endif %}
|
||||||
<a href="{{ object.organization.website }}">
|
</dl>
|
||||||
{% if object.organization.logo %}
|
</div>
|
||||||
{% if object.organization.logo.url.lower|slice:"-4:" == ".svg" %}
|
</div>
|
||||||
{# djlint:off H006 #}
|
</p>
|
||||||
<img src="{{ object.organization.logo.url }}"
|
|
||||||
class="col-8 col-md-12 px-0"
|
<div class="row align-items-md-stretch">
|
||||||
alt="{{ object.organization.name }}">
|
{% include "froide_govplan/plugins/updates.html" with wrapper_classes="col col-12 col-lg-6 d-flex mb-4" %}
|
||||||
{% else %}
|
{% if government.active %}
|
||||||
<img src="{% thumbnail object.organization.logo 300x0 %}"
|
<div class="col-md-6">
|
||||||
class="col-8 col-md-12 px-0"
|
<div class="h-100 p-5 border rounded-3">
|
||||||
alt="{{ object.organization.name }}">
|
<h2>Neue Entwicklung melden</h2>
|
||||||
{% endif %}
|
<p>
|
||||||
{% else %}
|
Gibt es Neuigkeiten zu diesem Vorhaben, die wir noch nicht erfasst haben?
|
||||||
{{ object.organization.name }}
|
</p>
|
||||||
{% endif %}
|
<button type="button"
|
||||||
</a>
|
class="btn btn-outline-secondary"
|
||||||
</dd>
|
data-bs-toggle="modal"
|
||||||
{% endif %}
|
data-bs-target="#govplanupdate-proposal">Entwicklung melden</button>
|
||||||
</dl>
|
<div class="modal"
|
||||||
|
data-teleport="body"
|
||||||
|
tabindex="-1"
|
||||||
|
role="dialog"
|
||||||
|
id="govplanupdate-proposal">
|
||||||
|
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Neue Entwicklung melden</h5>
|
||||||
|
<button type="button"
|
||||||
|
class="btn-close"
|
||||||
|
data-bs-dismiss="modal"
|
||||||
|
aria-label="{% translate "Close" %}"></button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<b>FIXME FORM SUBMIT</b>>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
{% endif %}
|
||||||
{% include "froide_govplan/plugins/updates.html" with wrapper_classes="col col-12 col-lg-6 d-flex mb-4" %}
|
|
||||||
{% if government.active %}
|
|
||||||
<div class="col col-12 col-lg-6 d-flex mb-4">
|
|
||||||
<div class="box-card border-gray shadow-gray">
|
|
||||||
<div>
|
|
||||||
<div class="box-card-header text-bg-body-tertiary d-flex justify-content-center p-3 p-md-4 tight-margin flex-column">
|
|
||||||
<h3 class="h4">Neue Entwicklung melden</h3>
|
|
||||||
</div>
|
|
||||||
<div class="p-3 p-md-4">
|
|
||||||
{% if request.user.is_authenticated %}
|
|
||||||
<p>Gibt es Neuigkeiten zu diesem Vorhaben, die wir noch nicht erfasst haben?</p>
|
|
||||||
<button type="button"
|
|
||||||
class="btn btn-outline-secondary"
|
|
||||||
data-bs-toggle="modal"
|
|
||||||
data-bs-target="#govplanupdate-proposal">Entwicklung melden</button>
|
|
||||||
<div class="modal"
|
|
||||||
data-teleport="body"
|
|
||||||
tabindex="-1"
|
|
||||||
role="dialog"
|
|
||||||
id="govplanupdate-proposal">
|
|
||||||
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="modal-header">
|
|
||||||
<h5 class="modal-title">Neue Entwicklung melden</h5>
|
|
||||||
<button type="button"
|
|
||||||
class="btn-close"
|
|
||||||
data-bs-dismiss="modal"
|
|
||||||
aria-label="{% translate "Close" %}"></button>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
|
||||||
<b>FIXME FORM SUBMIT</b>>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
Bitte <a href="{{ object.get_absolute_url|make_login_redirect_url }}">melden Sie sich an</a>, um einen Änderungsvorschlag einzureichen.
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock app_body %}
|
{% endblock app_body %}
|
||||||
|
|
|
||||||
|
|
@ -21,21 +21,21 @@
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{{ object.quote|striptags|truncatewords:20|addquotes }}
|
{{ object.quote|striptags|truncatewords:20|addquotes }}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<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>
|
</p>
|
||||||
<div class="d-flex mt-auto">
|
<div class="d-flex mt-auto">
|
||||||
<a href="{{ object.get_absolute_url }}" class="text-decoration-none">
|
<p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
|
||||||
<span href="{{ object.get_absolute_url }}" class="action-link text-blue-600 ">
|
|
||||||
→ mehr lesen
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<div class="ms-auto">
|
<div class="ms-auto">
|
||||||
<span class="badge text-bg-{{ object.get_status_css }}">
|
<span class="badge text-bg-{{ object.get_status_css }}">
|
||||||
{{ object.get_status_display }}
|
{{ object.get_status_display }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -11,28 +11,42 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="row">
|
<div class="album py-5 bg-body-tertiary">
|
||||||
{% for section in sections %}
|
|
||||||
<div class="col col-12 col-md-4 d-flex mb-3">
|
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
|
||||||
<a href="{{ section.get_absolute_url }}" class="d-flex w-100 text-body text-decoration-none">
|
|
||||||
<div class="box-card border-blue mb-4">
|
{% for section in sections %}
|
||||||
<div>
|
<div class="col">
|
||||||
<div class="box-card-header tight-margin d-flex align-items-center has-background p-3 p-md-4 text-bg-callout" id="govsection-{{ section.pk }}">
|
<a href="{{ section.get_absolute_url }}" class="d-flex w-100 text-body text-decoration-none">
|
||||||
<h3 class="h5 m-0">{{ section.title }}</h3>
|
<div class="card shadow-sm">
|
||||||
{% if section.icon %}
|
<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">
|
||||||
<div class="ms-auto">
|
<title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/>
|
||||||
<div class="box-card-icon position-static text-bg-body">
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">
|
||||||
<i class="fa fa-{{ section.icon }}"></i>
|
{{ section.title }}
|
||||||
</div>
|
</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>
|
</div>
|
||||||
<div class="flex-grow-1 tight-margin p-3 p-md-4 cms-plugin cms-plugin-87888">
|
{% endif %}
|
||||||
{% get_section_progress section %}
|
<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>
|
||||||
|
<small class="text-body-secondary">9 mins</small>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue