-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n form_helper %} | ||
{% render_form form %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% extends "base.html" %} | ||
{% load static i18n %} | ||
{% load cms_tags %} | ||
{% block css %} | ||
{{ block.super }} | ||
<link rel="stylesheet" href="{% static 'datashow/css/datashow.css' %}"> | ||
{% endblock %} | ||
{% block body %} | ||
<div class="text-bg-secondary mb-3"> | ||
<nav class="container-md" aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-item"> | ||
{# djlint:off D018 #} | ||
<a href="/"> {# djlint:on #} | ||
<i class="fa fa-home"></i> | ||
<span class="sr-only">{% trans "Home Page" %}</span> | ||
</a> | ||
</li> | ||
<li class="breadcrumb-item"> | ||
{% if dataset %} | ||
{% page_url "datasets" as datasets_url %} | ||
<a href="{{ datasets_url|default:'/daten/' }}">{% translate "Datasets" %}</a> | ||
{% else %} | ||
{% translate "Datasets" %} | ||
{% endif %} | ||
</li> | ||
<li class="breadcrumb-item"> | ||
{% if table %} | ||
<a href="{{ dataset.get_absolute_url }}">{{ dataset.name }}</a> | ||
{% else %} | ||
{{ dataset.name }} | ||
{% endif %} | ||
</li> | ||
{% if table and dataset.default_table != table %} | ||
<li class="breadcrumb-item"> | ||
{% if row %} | ||
<a href="{{ table.get_absolute_url }}">{{ table.label }}</a> | ||
{% else %} | ||
{{ table.label }} | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% if row %}<li class="breadcrumb-item">{{ row_label }}</li>{% endif %} | ||
</ol> | ||
</nav> | ||
</div> | ||
<div class="container mb-3"> | ||
{% block app_body %} | ||
{% block content %}{% endblock %} | ||
{% endblock %} | ||
</div> | ||
{% endblock %} | ||
{% block scripts %} | ||
{{ block.super }} | ||
<script type="text/javascript" src="{% static 'datashow/js/htmx.min.js' %}"></script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters