From 1adfa144ae0abf4ebc754142a8a1fac28576bef0 Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Wed, 5 Oct 2016 02:00:54 +0200
Subject: [PATCH] fixed margin for footer; fixed sortlog limit

---
 sorter.py           | 1 +
 templates/base.html | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sorter.py b/sorter.py
index bed871c..5146cb0 100644
--- a/sorter.py
+++ b/sorter.py
@@ -15,6 +15,7 @@ def sort_log():
 			JOIN lectures ON lectures.id = sortlog.lecture_id
 			JOIN courses ON courses.id = lectures.course_id 
 			ORDER BY sortlog.`when` DESC
+			LIMIT 50
 		'''))
 
 
diff --git a/templates/base.html b/templates/base.html
index 0244e70..0ecb0e4 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -121,7 +121,7 @@
 		</div>
 		<footer class="footer hidden-print">
 			<div class="container-fluid">
-				<ul class="list-inline">
+				<ul class="list-inline" style="margin-top: 5px;">
 					<li>
 						<a href="http://www.fsmpi.rwth-aachen.de/">Fachschaft I/1</a>
 					</li>
-- 
GitLab