beautified

This commit is contained in:
gw3000 2023-07-07 18:23:37 +02:00
parent ec93fae644
commit 53c34da7a8
6 changed files with 27 additions and 15 deletions

View file

@ -2,7 +2,7 @@
{% load static %} {% load static %}
{% block header %} {% block header %}
<!-- Datatable CSS --> <!-- Datatable CSS -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.4/css/dataTables.bootstrap5.min.css"/> <link rel="stylesheet" href="https://cdn.datatables.net/1.13.4/css/dataTables.bootstrap5.min.css" />
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.9/css/responsive.bootstrap5.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.9/css/responsive.bootstrap5.min.css">
<!-- jQuery --> <!-- jQuery -->
@ -104,5 +104,4 @@
</div> </div>
</div> </div>
</form> </form>
{% endblock content %} {% endblock content %}

View file

@ -1,5 +1,5 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% extends "base.html" %}
{% block content %} {% block content %}
<h3>Patient löschen</h3> <h3>Patient löschen</h3>
<div class="row mt-3"> <div class="row mt-3">

View file

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% load static %}
{% block content %}
<div class="row">
<div class="col-lg-8 mb-3">
<h3>Hilfesammlung</h3>
{% for bird in birds %}
<h4>{{ bird.name }}</h4>
<p>{{ bird.description }}</p>
{% endfor %}
</div>
</div>
{% endblock content %}

View file

@ -3,7 +3,7 @@
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% block content %} {% block content %}
<h3>Patient <strong>{{ bird.bird_identifier }}</strong> bearbeiten </h3> <h3>Patient <strong>{{ bird.bird_identifier }}</strong> bearbeiten </h3>
<p>Retter des Patienten:<strong> {{ bird.rescuer }}</strong></p> <p>Retter des Patienten: <strong> <a href="{% url 'rescuer_single' bird.rescuer_id %}">{{ bird.rescuer }}</a></strong></p>
<div class="row"> <div class="row">
<div class="col-lg-5 mb-3"> <div class="col-lg-5 mb-3">
<form method="post" enctype="multipart/form-data"> <form method="post" enctype="multipart/form-data">

View file

@ -32,8 +32,8 @@
<ul class="navbar-nav pull-right"> <ul class="navbar-nav pull-right">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link {% if '/accounts/email/' in request.path %} active {% endif %}" <a class="nav-link {% if '/bird/help/' in request.path %} active {% endif %}"
href="{% url 'account_email' %}">Hilfe</a> href="{% url 'bird_help' %}">Hilfe</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link {% if '/accounts/email/' in request.path %} active {% endif %}" <a class="nav-link {% if '/accounts/email/' in request.path %} active {% endif %}"