From dc53acaf8c289e0edf37a2da092a6927d4ff7267 Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Thu, 15 Feb 2018 20:42:03 +0100 Subject: [PATCH] changed all h1 headings to spans --- templates/500.html | 2 +- templates/changelog.html | 2 +- templates/courses.html | 6 +++--- templates/dbstatus.html | 4 ++-- templates/import_campus.html | 10 +++++----- templates/index.html | 8 ++++---- templates/jobs_overview.html | 8 ++++---- templates/lecture.html | 2 +- templates/login.html | 2 +- templates/notifications.html | 2 +- templates/search.html | 4 ++-- templates/sortlog.html | 4 ++-- templates/stats.html | 2 +- templates/timetable.html | 8 ++++---- 14 files changed, 32 insertions(+), 32 deletions(-) diff --git a/templates/500.html b/templates/500.html index ccd2a1b..4a535ba 100644 --- a/templates/500.html +++ b/templates/500.html @@ -2,7 +2,7 @@ {% block content %} <div class="panel panel-danger"> <div class="panel-heading"> - <h1 class="panel-title">Interner Fehler</h1> + <span class="panel-title">Interner Fehler</span> </div> <div class="row panel-body"> <div class="col-xs-12"> diff --git a/templates/changelog.html b/templates/changelog.html index 87db02f..b319fc4 100644 --- a/templates/changelog.html +++ b/templates/changelog.html @@ -4,7 +4,7 @@ <div class="panel-group"> <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Changelog</h1> + <span class="panel-title">Changelog</span> </div> <div class="panel-body"> <p>Hier werden alle Änderungen an Kursen/Veranstaltungen/Videos etc. geloggt und können Rückgängig gemacht werden.</p> diff --git a/templates/courses.html b/templates/courses.html index 5d486d9..b032e66 100644 --- a/templates/courses.html +++ b/templates/courses.html @@ -58,10 +58,10 @@ <div class="card-header"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion-{{ g.grouper|tagid }}" href="#{{g.grouper|tagid}}" style="color: #222;"> {% if groupedby == 'semester' %} - <h3 class="panel-title">{{g.grouper|semester(long=True)}} ({{g.list|length}} Veranstaltungen) - </h3> + <span class="panel-title">{{g.grouper|semester(long=True)}} ({{g.list|length}} Veranstaltungen) + </span> {% else %} - <h1 class="panel-title">{{g.grouper}}</h1> + <span class="panel-title">{{g.grouper}}</span> {% endif %} </a> </div> diff --git a/templates/dbstatus.html b/templates/dbstatus.html index e5c0ea6..06dc7bd 100644 --- a/templates/dbstatus.html +++ b/templates/dbstatus.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block content %} <div class="card"> - <div class="card-header"><h1 class="card-title">Cluster</b></h1></div> + <div class="card-header"><span class="card-title">Cluster</b></span></div> <ul class="list-group"> {% for clustername, clusternodes in clusters.items() %} <li class="list-group-item"><strong>{{vars[clusternodes|first]['wsrep_cluster_name']}}</strong> ({{statuses[clusternodes|first]['wsrep_cluster_status']}}, Größe={{statuses[clusternodes|first]['wsrep_cluster_size']}}, Konfiguration={{statuses[clusternodes|first]['wsrep_cluster_conf_id']}}) @@ -17,7 +17,7 @@ </div> {% for host, status in statuses.items() %} <div class="card" id="{{host|tagid}}"> - <div class="card-header"><h1 class="card-title">{{vars[host]['wsrep_node_name']}}</h1></div> + <div class="card-header"><span class="card-title">{{vars[host]['wsrep_node_name']}}</span></div> <div class="row" style="margin: 0px;"> <div class="col-xs-6 table-responsive"> <table class="table"> diff --git a/templates/import_campus.html b/templates/import_campus.html index 11e0e87..f0996ab 100644 --- a/templates/import_campus.html +++ b/templates/import_campus.html @@ -4,7 +4,7 @@ <div class="panel-group"> <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Campus Import für <strong>{{course.title}}</strong> <span><a href="{{url_for('course', handle=course.handle)}}" class="btn btn-default" >Zur Veranstaltungsseite</a><span> </h1> + <span class="panel-title">Campus Import für <strong>{{course.title}}</strong> <span><a href="{{url_for('course', handle=course.handle)}}" class="btn btn-default" >Zur Veranstaltungsseite</a><span> </span> </div> <div class="panel-body"> <div> @@ -51,12 +51,12 @@ </div> <div class="panel panel-default"> <div class="panel-heading" style="height:50px"> - <h1 class="panel-title"> + <span class="panel-title"> Termine im Campus die nicht bei uns sind: <ul class="list-inline pull-right"> <li><button class="btn btn-default" onclick="$('.newlecture').click(); alert('done');">alle anlegen</button></li> </ul> - </h1> + </span> </div> <ul class="list-group-item"> {% for i in newevents|sort(attribute='time') %} @@ -81,7 +81,7 @@ </div> <div class="panel panel-default"> <div class="panel-heading" style="height:50px"> - <h1 class="panel-title"> + <span class="panel-title"> Termine bei uns die nicht im Campus sind: <ul class="list-inline pull-right"> <li><button class="btn btn-default" onclick="deleteall(); alert('done');">alle entfernen</button></li> @@ -99,7 +99,7 @@ } </script> </ul> - </h1> + </span> </div> <ul class="list-group-item"> {% for i in deletedlectures|sort(attribute='time') %} diff --git a/templates/index.html b/templates/index.html index 9003975..0c86f63 100644 --- a/templates/index.html +++ b/templates/index.html @@ -71,7 +71,7 @@ {% for item in featured %} <div class="card m-1"> <div class="card-header"> - <h3 class="card-title"> + <span class="card-title"> {{ moderator_editor(('featured',item.id,'title'), item.title) }} {{ moderator_checkbox(('featured',item.id,'visible'), item.visible) }} {% if ismod() %} <span class="btn-group float-right" role="group"> @@ -88,7 +88,7 @@ {{ moderator_delete(['featured',item.id,'deleted']) }} </span> {% endif %} - </h3> + </span> </div> {{ featured_content(item) }} </div> @@ -97,7 +97,7 @@ <div class="col-md-6 p-0"> <div class="card m-1"> <div class="card-header"> - <h3 class="card-title">Nächste Aufnahmen</h3> + <span class="card-title">Nächste Aufnahmen</span> </div> {% if upcomming|length > 0 %} <ul class="list-group"> @@ -122,7 +122,7 @@ </div> <div class="card m-1"> <div class="card-header"> - <h3 class="card-title">Neueste Videos <a class="fa fa-rss-square float-right" aria-hidden="true" href="{{url_for('feed')}}" style="text-decoration: none"></a></h3> + <span class="card-title">Neueste Videos <a class="fa fa-rss-square float-right" aria-hidden="true" href="{{url_for('feed')}}" style="text-decoration: none"></a></span> </div> <ul class="list-group videopreview"> {% for i in latestvideos %} diff --git a/templates/jobs_overview.html b/templates/jobs_overview.html index 0c75413..b75816b 100644 --- a/templates/jobs_overview.html +++ b/templates/jobs_overview.html @@ -60,9 +60,9 @@ {% block content %} <div class="card m-1"> <div class="card-header"> - <h1 class="card-title"> + <span class="card-title"> Worker - </h1> + </span> </div> <div class="card-collapse collapse in"> <div class="card-body"> @@ -91,12 +91,12 @@ </div> <div class="card m-1"> <div class="card-header"> - <h1 class="card-title"> + <span class="card-title"> Jobs <a class="btn btn-light" href="javascript:$('#modal_addjob').modal()" >Job(s) erzeugen</a> <a class="btn btn-light" href="{{url_for('jobs_action', action='clear_failed', ref=request.url)}}" >Alle fehlgeschlagenen Jobs löschen</a> <a class="btn btn-light" href="{{url_for('jobs_action', action='retry_failed', ref=request.url)}}" >Alle fehlgeschlagenen Jobs neustarten</a> - </h1> + </span> </div> <div class="card-body"> <div> diff --git a/templates/lecture.html b/templates/lecture.html index 1f9d584..a11c1aa 100644 --- a/templates/lecture.html +++ b/templates/lecture.html @@ -77,7 +77,7 @@ {% if ismod() %} <div class="card m-1"> <div class="card-header"> - <a data-toggle="collapse" href="#statscard" class="plotlyresize"><h3 class="card-title">Statistiken</h3></a> + <a data-toggle="collapse" href="#statscard" class="plotlyresize"><span class="card-title">Statistiken</span></a> </div> <div class="ard-body collapse out card-collapse" id="statscard"> <div class="row m-1"> diff --git a/templates/login.html b/templates/login.html index 110b5f3..9919c38 100644 --- a/templates/login.html +++ b/templates/login.html @@ -2,7 +2,7 @@ {% block content %} <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Login für Moderatoren</h1> + <span class="panel-title">Login für Moderatoren</span> </div> <div class="panel-body input-group"> <form method="post" action="login"> diff --git a/templates/notifications.html b/templates/notifications.html index fda6851..a0b6221 100644 --- a/templates/notifications.html +++ b/templates/notifications.html @@ -4,7 +4,7 @@ <div class="panel-group"> <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Benachrichtigungen</h1> + <span class="panel-title">Benachrichtigungen</span> </div> <div class="panel-body"> <p>Benachrichtigungen für <code>{{ user.fsacc }}@{{ config['MAIL_SUFFIX'] }}</code> aktivieren: {{ moderator_checkbox(['users',user.id,'mail_notifications'], user.mail_notifications) }}</p> Für Veranstaltungen, bei denen du als <b>Zuständiger</b> eingetragen bist, benachrichtigen, wenn ... diff --git a/templates/search.html b/templates/search.html index d426b2b..7eeb1e2 100644 --- a/templates/search.html +++ b/templates/search.html @@ -4,7 +4,7 @@ {% block content %} <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Veranstaltungen</h1> + <span class="panel-title">Veranstaltungen</span> </div> {% if courses == [] %} <div class="panel-body">Nichts gefunden!</div> @@ -18,7 +18,7 @@ </div> <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Videos</h1> + <span class="panel-title">Videos</span> </div> {% if lectures == [] %} <div class="panel-body">Nichts gefunden!</div> diff --git a/templates/sortlog.html b/templates/sortlog.html index 1c680fe..74530b7 100644 --- a/templates/sortlog.html +++ b/templates/sortlog.html @@ -4,10 +4,10 @@ <div class="panel-group"> <div class="panel panel-default"> <div class="panel-heading"> - <h1 class="panel-title">Sortierlog + <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> - </h1> + </span> </div> <div class="panel-body"> <p>Hier werden die hochgeladenen Videos einsortiert und geloggt wo jede Datei einsortiert wurde.</p> diff --git a/templates/stats.html b/templates/stats.html index 89071b6..1c31508 100644 --- a/templates/stats.html +++ b/templates/stats.html @@ -2,7 +2,7 @@ {% block content %} <div class="card"> <div class="card-header"> - <h1 class="card-title">Gesamt</h1> + <span class="card-title">Gesamt</span> </div> <div class="card-body"> <div class="row col-xs-12"> diff --git a/templates/timetable.html b/templates/timetable.html index dea7ce3..c3c6eed 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -3,13 +3,13 @@ <div class="card"> <div class="hidden-print card-header"> {% if user %} - <h3 class="card-title">personalisierter Drehplan für {{ user.realname }} + <span class="card-title">personalisierter Drehplan für {{ user.realname }} <a class="float-right fa fa-calendar" aria-hidden="true" href="{{ url_for('ical_user', user=user.id) }}" style="text-decoration: none"></a> - </h3> + </span> {% else %} - <h3 class="card-title">Drehplan + <span class="card-title">Drehplan <a class="float-right fa fa-calendar" aria-hidden="true" href="{{ url_for('ical_all') }}" style="text-decoration: none"></a> - </h3> + </span> {% endif %} </div> <div class="hidden-print"> -- GitLab