diff --git a/python/web/media/styles/scaffold.css b/python/web/media/styles/scaffold.css index 7ea3da9..17f47e9 100644 --- a/python/web/media/styles/scaffold.css +++ b/python/web/media/styles/scaffold.css @@ -76,6 +76,20 @@ img.aligncenter { text-shadow: 1px 1px 1px #44A4BD; } +.shelf { + color: #27606E; + font-family: verdana, sans-serif, arial, courier new; + text-align: center; +} + +.caption { + color: #27606E; + font-family: verdana, sans-serif, arial, courier new; + text-align: center; + font-weight: bolder; + text-shadow: 1px 1px 1px #44A4BD; +} + .links { float: center; color: #27606E; @@ -99,7 +113,7 @@ img.aligncenter { } .input { - width: 320px; + width: 300px; } .heading { diff --git a/python/web/templates/base/main.html b/python/web/templates/base/main.html index 4d10e3b..f933b4e 100644 --- a/python/web/templates/base/main.html +++ b/python/web/templates/base/main.html @@ -15,18 +15,14 @@ Hyllekart | Kategorier | Bøker | - Forfattere og andre personer
- -
- {% block content %} - {% endblock %} -

-
-
+ Forfattere og andre personer
+
+ {% block content %} + {% endblock %} diff --git a/python/web/templates/book/view.html b/python/web/templates/book/view.html index b8aedb5..71824c5 100644 --- a/python/web/templates/book/view.html +++ b/python/web/templates/book/view.html @@ -21,7 +21,7 @@
{% endfor %} {% if book.category %} - Kategori: {{ book.category }}
+Kategori: {{ book.category }}
{% endif %} {% if book.shelves %} Hylle: {{ book.shelves }}
diff --git a/python/web/templates/map/index.html b/python/web/templates/map/index.html index 3670d7a..4704288 100644 --- a/python/web/templates/map/index.html +++ b/python/web/templates/map/index.html @@ -7,7 +7,9 @@ Hyllekart {% block content %} {% for shelf in shelf_lists %} - + +
+ {% for row in shelf.1 %} {% for column in row %} @@ -22,7 +24,11 @@ Hyllekart {% endfor %}
Hylle {% if forloop.last %}B{% else %}A{% endif %}
-
  • {{ shelf_name }}
  • + + {% endfor %} +
    +
    +
    {% endblock %}