css, templates

This commit is contained in:
Andreas Stephanides
2017-02-01 22:27:19 +01:00
parent 130f2ac1c6
commit aa8532c70d
18 changed files with 14740 additions and 0 deletions

40
templates/post.html Normal file
View File

@@ -0,0 +1,40 @@
<LINK href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<div class="container">
<div class="row">
<div class="col-12">
<h1>{{post.title}}</h1>
{{post.date}}
{{ post.html|safe }}
<br>
Unterordner:
<ul>
{% for d in spi %}
<li>
<a href="{{url_for('post',name=d['path'])}}">{{d.title}} {{'/'.join(d.path.split('/')[-2:-1])}}</a>
</li>
{% endfor %}
</ul>
<hr>
Info:
<ul>
{% for d in sp %}
<li>
<a href="{{url_for('post',name=d.path)}}">{{d.title}} </a>
</li>
{% endfor %}
</ul>
Files:
<ul>
{% for d in ld %}
<li>
<a href="{{d}}">{{d}} </a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>

6
templates/posts.html Normal file
View File

@@ -0,0 +1,6 @@
{% for post in posts %}
<a href="{{ url_for('post', name=post.path.replace('posts/', '')) }}">
{{ post.title }}
</a>
<small>{{ post.date }}</small>
{% endfor %}

19
templates/u1.html Normal file
View File

@@ -0,0 +1,19 @@
{{post.title}}
{{ post.html|safe }}
<br>
<ul>
{% for d in sp %}
<li>
<a href="{{url_for('post',name=d.path)}}">{{d.title}} </a>
</li>
{% endfor %}
</ul>
<ul>
{% for d in ld %}
<li>
<a href="{{d}}">{{d}} </a>
</li>
{% endfor %}
</ul>