beautified
This commit is contained in:
parent
ec93fae644
commit
53c34da7a8
6 changed files with 27 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
|||
{% load static %}
|
||||
{% block header %}
|
||||
<!-- 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">
|
||||
|
||||
<!-- jQuery -->
|
||||
|
@ -24,7 +24,7 @@
|
|||
info: false,
|
||||
responsive: true,
|
||||
columnDefs: [
|
||||
{ responsivePriority: 1, targets: 0 },
|
||||
{ responsivePriority: 1, targets: 0 },
|
||||
]
|
||||
})
|
||||
})
|
||||
|
@ -104,5 +104,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% endblock content %}
|
||||
{% endblock content %}
|
|
@ -8,11 +8,11 @@
|
|||
<div class="row">
|
||||
<div class="col-lg-8 mb-3">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<a href="{% url 'bird_all' %}" class="btn btn-danger">Abbruch</a>
|
||||
<button class="btn btn-primary" type="submit">Patient anlegen</button>
|
||||
<div class="mt-3"><small>* Pflichtfeld</small></div>
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<a href="{% url 'bird_all' %}" class="btn btn-danger">Abbruch</a>
|
||||
<button class="btn btn-primary" type="submit">Patient anlegen</button>
|
||||
<div class="mt-3"><small>* Pflichtfeld</small></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
@ -42,4 +42,4 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
{% endblock content %}
|
|
@ -1,5 +1,5 @@
|
|||
{% extends 'base.html' %}
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h3>Patient löschen</h3>
|
||||
<div class="row mt-3">
|
||||
|
|
13
bird/templates/bird/bird_help.html
Normal file
13
bird/templates/bird/bird_help.html
Normal 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 %}
|
|
@ -3,7 +3,7 @@
|
|||
{% load crispy_forms_tags %}
|
||||
{% block content %}
|
||||
<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="col-lg-5 mb-3">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
|
@ -68,4 +68,4 @@
|
|||
|
||||
<script src="{% static 'js/bird.js' %}"></script
|
||||
|
||||
{% endblock content %}
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue