From 90d8c132152d29e482edb7ded51748499477c115 Mon Sep 17 00:00:00 2001
From: "Julian M. Kunkel"
Date: Sun, 6 May 2018 00:46:11 +0100
Subject: [PATCH] =?UTF-8?q?Anpassungen=20f=C3=BCr=20Reading?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dev/Dockerfile | 2 +-
src/courses/views.py | 7 +-
.../templates/frontend/attribution.html | 55 ++++++--
src/frontend/templates/frontend/footer.html | 6 +-
src/frontend/templates/frontend/index.html | 124 ------------------
src/frontend/templates/frontend/navbar.html | 15 +--
src/main/settings.py | 2 +-
src/main/urls.py | 2 +-
src/rest/urls.py | 4 +-
src/rest/views.py | 95 +++++++-------
10 files changed, 108 insertions(+), 204 deletions(-)
diff --git a/dev/Dockerfile b/dev/Dockerfile
index 59ef584..73f66d6 100644
--- a/dev/Dockerfile
+++ b/dev/Dockerfile
@@ -6,7 +6,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y apache2
RUN rm /etc/apache2/sites-enabled/000-default.conf
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql libapache2-mod-wsgi-py3
# make for testing
-RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y virtualenv make sudo
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y virtualenv make sudo gcc
RUN ln -s /data/dev/apache-local.conf /etc/apache2/sites-enabled/
#RUN a2enmod rewrite
diff --git a/src/courses/views.py b/src/courses/views.py
index 5e0ab69..67a9a16 100644
--- a/src/courses/views.py
+++ b/src/courses/views.py
@@ -123,12 +123,11 @@ def slide(request, cid, seid, slid):
pass
- print(user_solution, file=sys.stderr)
-
+ #print(user_solution, file=sys.stderr)
result = request
- print(result, file=sys.stderr)
- print(dir(result), file=sys.stderr)
+ #print(result, file=sys.stderr)
+ #print(dir(result), file=sys.stderr)
# determine next slide, as necessary for the navigation
next_slide = {'course': course, 'section': None, 'slide': None}
diff --git a/src/frontend/templates/frontend/attribution.html b/src/frontend/templates/frontend/attribution.html
index 78daca7..73f5b6f 100644
--- a/src/frontend/templates/frontend/attribution.html
+++ b/src/frontend/templates/frontend/attribution.html
@@ -75,9 +75,42 @@
+ Platform
+
+
+ The platform was initially created as a funded project of the Hamburg Open Online University.
+
+ Please see the project details here.
+
+
@@ -89,17 +122,17 @@
Created by Lloyd Humphreys:
+
- Created by alessandra antonetti:
+ Created by alessandra antonetti:
- Cycle
@@ -108,14 +141,14 @@
- Created by Arthur Shlain:
+ Created by Arthur Shlain:
- Created by Creative Stall:
+ Created by Creative Stall:
- Server
@@ -130,7 +163,7 @@
Software
-
+
Several open source software projects enable the platform to operate. This section is dedicated to acknowledge the most important.
@@ -141,13 +174,13 @@
-
+
- Platform
+ Impressum
|
- Impressum
- |
- Contact
+ Contact
|
Attribution
diff --git a/src/frontend/templates/frontend/index.html b/src/frontend/templates/frontend/index.html
index c9cb333..a7ae6f0 100644
--- a/src/frontend/templates/frontend/index.html
+++ b/src/frontend/templates/frontend/index.html
@@ -44,19 +44,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{% include "frontend/footer.html" %}
-
-
-
-
-
-
-
-
-
-
-
-
-