Compare commits
No commits in common. "dev" and "main" have entirely different histories.
@ -39,7 +39,6 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
'bootstrap5',
|
'bootstrap5',
|
||||||
'fontawesomefree',
|
|
||||||
'sourcePerson'
|
'sourcePerson'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ django-bootstrap-v5==1.0.11
|
|||||||
django-browser-reload==1.12.1
|
django-browser-reload==1.12.1
|
||||||
django-shortcuts==1.6
|
django-shortcuts==1.6
|
||||||
djangorestframework==3.14.0
|
djangorestframework==3.14.0
|
||||||
fontawesomefree==6.5.1
|
|
||||||
include==0.2.2
|
include==0.2.2
|
||||||
mysqlclient==2.2.0
|
mysqlclient==2.2.0
|
||||||
pytz==2023.3.post1
|
pytz==2023.3.post1
|
||||||
|
|||||||
@ -1,15 +1,11 @@
|
|||||||
{% load bootstrap5 %}
|
{% load bootstrap5 %}
|
||||||
{% bootstrap_css %}
|
{% bootstrap_css %}
|
||||||
{% bootstrap_javascript %}
|
{% bootstrap_javascript %}
|
||||||
{% load static %}
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<script src="{% static 'fontawesomefree/js/fontawesome.js' %}"></script>
|
|
||||||
<script src="{% static 'fontawesomefree/js/solid.js' %}"></script>
|
|
||||||
<script src="{% static 'fontawesomefree/js/brands.js' %}"></script>
|
|
||||||
<title>{% block title %} Quote Me {% endblock %}</title>
|
<title>{% block title %} Quote Me {% endblock %}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -28,7 +24,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<main class="container pt-5">
|
<main class="container">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@ -7,19 +7,17 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col-4">Name</th>
|
<th scope="col">Name</th>
|
||||||
<th scope="col-4">Beschreibung</th>
|
<th scope="col">Beschreibung</th>
|
||||||
<th scope="col-2">Aktiviert</th>
|
<th scope="col">Aktiviert</th>
|
||||||
<th scope="col-2">Bearbeiten</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for person in persons %}
|
{% for person in persons %}
|
||||||
<tr class="align-middle">
|
<tr>
|
||||||
<td>{{ person.name }}</td>
|
<td>{{ person.name }}</td>
|
||||||
<td>{{ person.description }}</td>
|
<td>{{ person.description }}</td>
|
||||||
<td>{% if person.isActive %} <i class="fa-solid fa-check"></i> {% else %} <i class="fa-solid fa-minus"></i> {% endif %}</td>
|
<td>{{ person.isActive}}</td>
|
||||||
<td><a class="btn btn-primary" href="/person/edit/{{person.id}}"><i class="fa-solid fa-pen-to-square"></i></a></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user