feat: add edit button to adoption notice
This commit is contained in:
parent
47e993c8ae
commit
f56e830a43
@ -32,6 +32,10 @@ body {
|
|||||||
margin: 20px;
|
margin: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
@ -57,7 +61,6 @@ th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
padding-top: 10px;
|
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
color: var(--text-one);
|
color: var(--text-one);
|
||||||
text-shadow: 2px 2px var(--shadow-one);
|
text-shadow: 2px 2px var(--shadow-one);
|
||||||
@ -143,6 +146,15 @@ h1 {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn2 {
|
||||||
|
background-color: var(--secondary-light-one);
|
||||||
|
color: var(--primary-dark-one);
|
||||||
|
padding: 8px;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.form-button, .link-button a:link, .link-button a:visited {
|
.form-button, .link-button a:link, .link-button a:visited {
|
||||||
background-color: #4ba3cd;
|
background-color: #4ba3cd;
|
||||||
color: white;
|
color: white;
|
||||||
@ -378,4 +390,14 @@ form {
|
|||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
margin: 30px;
|
margin: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-adoption-notice-header h1 {
|
||||||
|
width: 50%;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-adoption-notice-header a {
|
||||||
|
display: inline-block;
|
||||||
|
float: right;
|
||||||
}
|
}
|
@ -3,8 +3,9 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="detail-animal-adoption-header">
|
<div class="detail-adoption-notice-header">
|
||||||
<h1>{{ adoption_notice.name }}</h1>
|
<h1 class="detail-adoption-notice-header">{{ adoption_notice.name }}</h1>
|
||||||
|
<a class="btn2 detail-adoption-notice-header" href="{% url 'adoption-notice-edit' 1 %}/{{ adoption_notice.pk }}">{% translate 'Bearbeiten' %}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-adoption-notice-info">
|
<div class="table-adoption-notice-info">
|
||||||
<table>
|
<table>
|
||||||
|
Loading…
Reference in New Issue
Block a user