Adds breadcrumbs and navigation, moves QR code to its own page.
This commit is contained in:
parent
d9f4c6d597
commit
947b4ac59a
7 changed files with 93 additions and 27 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title is-large butter-title">{{ _('File Viewer') }}</h1>
|
||||
{% include 'breadcrumbs.html' %}
|
||||
|
||||
<h1 class="title is-large butter-title">{{ _('File Viewer') }}</h1>
|
||||
<div>
|
||||
<table class="table" style="margin: 0 auto">
|
||||
<thead>
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
<tr>
|
||||
<td><img src="{{ f.icon_url}}"></td>
|
||||
{% if f.is_dir %}
|
||||
<td><a href=".{{ f.relative_path}}">{{ f.name}}</a></td>
|
||||
<td><a href="/{{ request.endpoint}}/{{ f.relative_path}}">{{ f.name}}</a></td>
|
||||
{% endif %}
|
||||
|
||||
{% if f.is_file %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue