feat: space card containers
This commit is contained in:
parent
13b67c1248
commit
867319fe9a
@ -130,7 +130,8 @@ textarea {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-cards h1 {
|
.container-cards h1,
|
||||||
|
.container-cards h2 {
|
||||||
width: 100%; /* Make sure heading fills complete line */
|
width: 100%; /* Make sure heading fills complete line */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -152,8 +153,8 @@ textarea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.spaced {
|
.spaced > * {
|
||||||
margin-bottom: 30px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************/
|
/*******************************/
|
||||||
|
@ -6,8 +6,10 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ user.get_full_name }}</h1>
|
<h1>{{ user.get_full_name }}</h1>
|
||||||
|
<div class="spaced">
|
||||||
|
|
||||||
<div class="container-cards">
|
<div class="container-cards">
|
||||||
|
<h2>{% trans 'Daten' %}</h2>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<p><strong>{% translate "Username" %}:</strong> {{ user.username }}</p>
|
<p><strong>{% translate "Username" %}:</strong> {{ user.username }}</p>
|
||||||
<p><strong>{% translate "E-Mail" %}:</strong> {{ user.email }}</p>
|
<p><strong>{% translate "E-Mail" %}:</strong> {{ user.email }}</p>
|
||||||
@ -15,8 +17,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h2>{% trans 'Profil verwalten' %}</h2>
|
|
||||||
<div class="container-cards">
|
<div class="container-cards">
|
||||||
|
<h2>{% trans 'Profil verwalten' %}</h2>
|
||||||
<div class="container-comment-form">
|
<div class="container-comment-form">
|
||||||
<p>
|
<p>
|
||||||
<a class="btn2" href="{% url 'password_change' %}">{% translate "Change password" %}</a>
|
<a class="btn2" href="{% url 'password_change' %}">{% translate "Change password" %}</a>
|
||||||
@ -77,4 +79,5 @@
|
|||||||
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
|
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
x
Reference in New Issue
Block a user