Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
766509d2
Commit
766509d2
authored
Feb 15, 2018
by
Andreas Valder
Browse files
fixed some syntax errors
parent
2818004f
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/changelog.html
View file @
766509d2
{% from 'macros.html' import preview %}
{% extends "base.html" %}
{% block content %}
<div
class=
"
panel
-group"
>
<div
class=
"
panel panel-default
"
>
<div
class=
"
panel
-head
ing
"
>
<span
class=
"
panel
-title"
>
Changelog
</span>
<div
class=
"
card
-group"
>
<div
class=
"
card
"
>
<div
class=
"
card
-head
er
"
>
<span
class=
"
card
-title"
>
Changelog
</span>
</div>
<div
class=
"
panel
-body"
>
<div
class=
"
card
-body"
>
<p>
Hier werden alle Änderungen an Kursen/Veranstaltungen/Videos etc. geloggt und können Rückgängig gemacht werden.
</p>
<ul
class=
"pagination
pull
-right"
>
<ul
class=
"pagination
float
-right"
>
<li
class=
"page-item"
>
<a
class=
"page-link"
href=
"{{url_for('changelog', page=page-1) }}"
>
<span
aria-hidden=
"true"
>
«
</span>
...
...
@@ -47,7 +47,7 @@
<td
style=
"white-space: nowrap;"
>
{{i.path}}
</td>
<td>
"{{i.value_old}}"
</td>
<td>
"{{i.value_new}}"
</td>
<td><button
onclick=
"moderator.api.set('{{i.path}}',atob('{{i.value_old|base64encode }}'));alert('done');"
class=
"btn btn-
default
"
>
undo
</button></td>
<td><button
onclick=
"moderator.api.set('{{i.path}}',atob('{{i.value_old|base64encode }}'));alert('done');"
class=
"btn btn-
secondary
"
>
undo
</button></td>
</tr>
{% endfor %}
</table>
...
...
templates/sortlog.html
View file @
766509d2
{% from 'macros.html' import moderator_delete %}
{% extends "base.html" %}
{% block content %}
<div
class=
"
panel
-group"
>
<div
class=
"
panel panel-default
"
>
<div
class=
"
panel
-head
ing
"
>
<span
class=
"
panel
-title"
>
Sortierlog
<a
class=
"btn btn-
default
"
href=
"{{url_for('sort_now', ref=request.url)}}"
>
Jetzt einsortieren
</a>
<button
class=
"btn btn-
default
"
onclick=
"$('button[data-path^=\'sorterrorlog.\'][data-path$=\'.deleted\']').each(function (e) { moderator.api.set($(this).data('path'),1,false); }); window.location.reload();"
>
Alle Fehler entfernen
</button>
<div
class=
"
card
-group"
>
<div
class=
"
card
"
>
<div
class=
"
card
-head
er
"
>
<span
class=
"
card
-title"
>
Sortierlog
<a
class=
"btn btn-
secondary
"
href=
"{{url_for('sort_now', ref=request.url)}}"
>
Jetzt einsortieren
</a>
<button
class=
"btn btn-
secondary
"
onclick=
"$('button[data-path^=\'sorterrorlog.\'][data-path$=\'.deleted\']').each(function (e) { moderator.api.set($(this).data('path'),1,false); }); window.location.reload();"
>
Alle Fehler entfernen
</button>
</span>
</div>
<div
class=
"
panel
-body"
>
<div
class=
"
card
-body"
>
<p>
Hier werden die hochgeladenen Videos einsortiert und geloggt wo jede Datei einsortiert wurde.
</p>
</div>
{% if sorterrorlog %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment