Commit 0de13221 authored by Andreas Valder's avatar Andreas Valder Committed by Andreas Valder
Browse files

started working on #26

parent 725931d3
......@@ -353,7 +353,7 @@ def auth(): # For use with nginx auth_request
def stats():
return render_template('stats.html')
@register_navbar('Changelog', 'book')
def changelog():
......@@ -397,7 +397,7 @@ def new_featured():
return redirect(request.values['ref'])
return id, 200
@app.route('/sitemap.xml', methods=['GET'])
def sitemap():
# static pages
......@@ -414,6 +414,11 @@ def sitemap():
return Response(render_template('sitemap.xml', pages=pages), 200, {'Content-Type': 'application/atom+xml'} )
@register_navbar('Sortierlog', 'sort-by-attributes-alt')
def sortlog():
return render_template('sortlog.html')
import feeds
import importer
......@@ -6,6 +6,7 @@
<div class="panel-heading">
<h1 class="panel-title">Changelog</h1>
<p>Hier werden alle Änderungen an Kursen/Veranstaltungen/Videos etc. geloggt und können Rückgängig gemacht werden.</p>
<div class="table-responsive">
<table class="table table-condensed">
{% from 'macros.html' import preview %}
{% extends "base.html" %}
{% block content %}
<div class="panel-group">
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title">Sortierlog</h1>
<p>Hier werden die hochgeladenen Videos einsortiert und geloggt wo jede Datei einsortiert wurde.</p>
<div class="table-responsive">
<table class="table table-condensed">
<th>Video id</th>
{% for i in changelog %}
{% endfor %}
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment