diff --git a/core/static/sas/album.scss b/core/static/sas/album.scss index 2b176d2d..88272792 100644 --- a/core/static/sas/album.scss +++ b/core/static/sas/album.scss @@ -1,3 +1,7 @@ +.main { + box-sizing: border-box; + padding: 10px; +} .navbar { margin-top: 10px; @@ -131,6 +135,7 @@ @media (max-width: 500px) { width: calc(50% - 5px); + height: 108px; } @media (max-width: 300px) { @@ -170,6 +175,7 @@ @media (max-width: 500px) { width: 100%; + height: 100%; } &:hover > .text { diff --git a/core/static/user/user_detail.scss b/core/static/user/user_detail.scss index 1c7b663a..043d7d7f 100644 --- a/core/static/user/user_detail.scss +++ b/core/static/user/user_detail.scss @@ -1,8 +1,11 @@ .main { + box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; + margin-top: 0 !important; + padding: 10px; width: 100%; } diff --git a/core/static/user/user_preferences.scss b/core/static/user/user_preferences.scss index bf481d17..715fbf05 100644 --- a/core/static/user/user_preferences.scss +++ b/core/static/user/user_preferences.scss @@ -4,7 +4,7 @@ gap: 2px; &-general { - >p { + > p { display: flex; flex-direction: row-reverse; justify-content: left; @@ -38,4 +38,12 @@ margin-top: 10px !important; max-width: 100px; } +} + +.justify { + text-align: justify; +} + +.main { + padding: 10px; } \ No newline at end of file diff --git a/core/static/user/user_tools.scss b/core/static/user/user_tools.scss index ede8eb7e..fb10c042 100644 --- a/core/static/user/user_tools.scss +++ b/core/static/user/user_tools.scss @@ -1,5 +1,6 @@ main { box-sizing: border-box; + padding: 10px; } .container { @@ -9,9 +10,7 @@ main { justify-content: center; gap: 10px; - - >div { - padding: 10px; + > div { border-radius: 10px; background-color: rgba(0, 0, 0, .05); width: 210px; diff --git a/core/templates/core/user_pictures.jinja b/core/templates/core/user_pictures.jinja index 830590e4..7621394e 100644 --- a/core/templates/core/user_pictures.jinja +++ b/core/templates/core/user_pictures.jinja @@ -9,6 +9,7 @@ {% endblock %} {% block content %} +
{% trans trombi=user.trombi_user.trombi %}You already choose to be in that Trombi: {{ trombi }}.{% endtrans %}
-
- {% trans %}Go to my Trombi tools{% endtrans %}
-
{% trans trombi=user.trombi_user.trombi %}You already choose to be in that Trombi: {{ trombi }}.{% endtrans %}
+
+ {% trans %}Go to my Trombi tools{% endtrans %}
+
{% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually - add a student card yourself, you'll need a NFC reader. We store the UID of the card which is 14 characters long.{% - endtrans %}
-{% endif %} + {% if profile.customer.student_cards.exists() %} ++ {% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually + add a student card yourself, you'll need a NFC reader. We store the UID of the card which is 14 characters long.{% endtrans %} +
+ {% endif %} - -{% endif %} + + {% endif %} +{% trans %}You must be logged in to see the SAS.{% endtrans %}
- {% else %} -