gallery blueimp
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block content %}
|
||||
<LINK href="{{ url_for('static', filename='gallery/css/blueimp-gallery.min.css')}}" rel="stylesheet" type="text/css">
|
||||
|
||||
<link rel="stylesheet" href="/Gallery/css/blueimp-gallery.min.css">
|
||||
<script src="/Gallery/js/blueimp-gallery.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='gallery/js/blueimp-gallery.min.js')}}"></script>
|
||||
<style>
|
||||
#links a {
|
||||
margin-left: -2px;
|
||||
margin-right:-2px;
|
||||
}
|
||||
</style>
|
||||
<div id="blueimp-gallery" class="blueimp-gallery">
|
||||
</style>
|
||||
|
||||
<h1>{{post.title}}</h1>
|
||||
|
||||
{{ post.html|safe }}
|
||||
|
||||
<div id="blueimp-gallery" class="blueimp-gallery">
|
||||
<div class="slides"></div>
|
||||
<h3 class="title"></h3>
|
||||
<a class="prev">‹</a>
|
||||
@@ -19,11 +24,10 @@
|
||||
<ol class="indicator"></ol>
|
||||
</div>
|
||||
|
||||
<h1>{{post.title}}</h1>
|
||||
<div id="links">
|
||||
{% for d in il %}
|
||||
<a href="/{{pth}}/{{d}}">
|
||||
<img src="/{{pth}}/{{d}}" width="80" height="80" alt="">
|
||||
{% for d in filelists.image_list %}
|
||||
<a href="{{d.url}}">
|
||||
<img src="{{d.url}}" width="80" height="80" alt="">
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<nav class="breadcrumb" style="background-color: #FFF">
|
||||
{% for b in pagebreadcrumbs %}
|
||||
<a href="{{url_for('page',name=b.path)}}" class="breadcrumb-item">{{b.title}} </a>
|
||||
{% for b in filelists.breadcrumbs %}
|
||||
<a href="{#url_for('page',name=b.path)#}{{b.url}}" class="breadcrumb-item">{{b.title}} </a>
|
||||
{% endfor %}
|
||||
<a href="{{url_for('page',name=post.path)}}" class="breadcrumb-item active">{{post.title}} </a>
|
||||
</nav>
|
||||
|
||||
@@ -4,15 +4,14 @@
|
||||
|
||||
<h1>{{post.title}}</h1>
|
||||
{{post.date}}
|
||||
{% if spi | length > 0 %}
|
||||
{% if filelists.sub_index_pages | length > 0 %}
|
||||
<hr/>
|
||||
<b id="up_head"> Unterseiten: </b>
|
||||
<ul class="nav flex-column flex-sm-row " labeledby="up_head">
|
||||
{% for d in spi %}
|
||||
{% for d in filelists.sub_index_pages %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('page',name=d['path'])}}" class="nav-link">
|
||||
<h6> {{d.title}} <small class="text-muted">{{'/'.join(d.path.split('/')[-2:-1])}} </small>
|
||||
</h6>
|
||||
<a href="{{d.url}}" class="nav-link">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.desc}} </small> </h6>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
@@ -23,28 +22,32 @@
|
||||
{{ post.html|safe }}
|
||||
|
||||
|
||||
{% if sp|length > 0 %}
|
||||
{% if filelists.sub_pages |length > 0 %}
|
||||
<ul class="nav flex-column flex-sm-row" labeledby="inf_head">
|
||||
{% for d in sp %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('page',name=d['path'])}}" class="nav-link text-info">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.path.split('/')[-1]}} </small>
|
||||
</h6>
|
||||
{% for d in filelists.sub_pages %}
|
||||
<li class="nav-item">
|
||||
<a href="{{d.url}}" class="nav-link text-info">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.desc}} </small>
|
||||
</h6>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if filelists.list_files |length > 0 %}
|
||||
|
||||
<hr/>
|
||||
|
||||
<b id="inf_head">Files:</b>
|
||||
<ul>
|
||||
{% for d in ld %}
|
||||
<li>
|
||||
<a href="{{url_for('page', name=d)}}">{{d}} </a>
|
||||
|
||||
</li>
|
||||
{% for d in filelists.list_files %}
|
||||
<li>
|
||||
<a href="{{d.url}}">{{d}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user