New sidebar layout

Update UI code to display a fixed location sidebar. The sidebar is
also of a fixed width instead of being a certain number columns
wide. The action dropdown is also now in a fixed location.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2018-12-25 03:39:22 -04:00
parent bd194a70cb
commit 9e4ebf4e04
6 changed files with 102 additions and 79 deletions

View File

@@ -1,6 +1,6 @@
{% load i18n %}
<div class="full-height scrollable" data-height-difference=230 id="carousel-container">
<div id="carousel-container">
{% for document_page in widget.value.pages.all %}
<div class="carousel-item">
<a href="{% url 'documents:document_page_view' document_page.pk %}">
@@ -17,7 +17,7 @@
Page {{ page_number }} of {{ total_pages }}
{% endblocktrans %}
</div>
</div>
</div>
{% empty %}
<p>{% trans 'No pages to display' %}</p>
{% endfor %}