diff --git a/partitioncloud/static/style.css b/partitioncloud/static/style.css index 33666de..2950b50 100644 --- a/partitioncloud/static/style.css +++ b/partitioncloud/static/style.css @@ -147,7 +147,7 @@ input[type=submit] { border-width: 1px; margin: 3px; width: 178px; - box-shadow: 1px 1px 1px #7f7f7f; + box-shadow: 2px 2px 2px #7f7f7f; } .partition-thumbnail { @@ -172,8 +172,13 @@ input[type=submit] { } #partitions-grid { - display: flex; - overflow-x: scroll; + display: grid; + grid-template-columns: repeat(auto-fill, 200px); + justify-content: center; +} + +#partitions-grid a { + text-decoration: none; } #search-partitions-grid { @@ -316,7 +321,7 @@ td { .edit-button { float: right; - transform: translateX(-10%); + transform: translateX(-80%) translateY(-150%); padding: 2%; border-color: black; @@ -325,6 +330,7 @@ td { border-width: 1px; box-shadow: 1px 2px 2px #7f7f7f; + background-color: #e2e2e2; } #paroles { diff --git a/partitioncloud/templates/albums/album.html b/partitioncloud/templates/albums/album.html index 7e8b9f1..b3aa713 100644 --- a/partitioncloud/templates/albums/album.html +++ b/partitioncloud/templates/albums/album.html @@ -33,20 +33,23 @@ {% block content %} {% if partitions|length != 0 %} +

{% for partition in partitions | reverse %} - +
+
- {% if partition["user_id"] == g.user.id or g.user.access_level == 1 %} -
✏️
- {% endif %}
{{ partition["name"] }}
{{ partition["author"] }}
+ {% if partition["user_id"] == g.user.id or g.user.access_level == 1 %} +
✏️
+ {% endif %} +
{% endfor %}
{% else %}