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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user