Skip to content
Snippets Groups Projects
Commit da21a276 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'feature/formal-things' into dev-1.1.1

# Conflicts:
#	schoolapps/dashboard/urls.py
#	schoolapps/dashboard/views.py
#	schoolapps/templates/partials/footer.html
parents 1e1927b1 a4bfeba1
No related branches found
No related tags found
1 merge request!86Merge school-apps
© 2018 by Jonathan Weth, Frank-Poetzsch-Heffter, Computer-AG, Katharineum zu Lübeck
© 2019 by Hangzhi Yu, Julian Leucker, Jonathan Weth, Frank Poetzsch-Heffter, Computer-AG, Katharineum zu Lübeck
\ No newline at end of file
© 2018 by [Jonathan Weth](mailto:wethjo@katharineum.de), [Frank-Poetzsch-Heffter](mailto:p-h@katharineum.de)
© 2019 by [Hangzhi Yu](mailto:yuha@katharineum.de), [Julian Leucker](mailto:leuckeju@katharineum.de), [Jonathan Weth](mailto:wethjo@katharineum.de), [Frank-Poetzsch-Heffter](mailto:p-h@katharineum.de)
\ No newline at end of file
......@@ -2,6 +2,6 @@
SchoolApps ist ein modulares System zum Bereitstellen von speziellen Anwendungen für den Schulalltag. Besonderer Fokus liegt dabei auf dem Stundenplansystem.
© 2018 by Jonathan Weth, Frank-Poetzsch-Heffter, Computer-AG, Katharineum zu Lübeck
© 2018 by Jonathan Weth, Frank-Poetzsch-Heffter
© 2019 by Hangzhi Yu, Julian Leucker, Jonathan Weth, Frank Poetzsch-Heffter, Computer-AG, Katharineum zu Lübeck
\ No newline at end of file
© 2019 by Hangzhi Yu, Julian Leucker, Jonathan Weth, Frank Poetzsch-Heffter
\ No newline at end of file
......@@ -30,4 +30,5 @@ urlpatterns += [
path("tools", tools_views.tools, name="tools"),
path("tools/clear-cache", tools_views.tools_clear_cache, name="tools_clear_cache"),
path("tools/clear-cache/<str:id>", tools_views.tools_clear_cache, name="tools_clear_single_cache"),
path('about/', views.about, name='about')
]
def about(request):
return render(request, "common/about.html", context={"components": OPEN_SOURCE_COMPONENTS})
with open("../COPYRIGHT.md", "r") as f:
COPYRIGHT = f.read()
COPYRIGHT_SHORT = "© 2018–2019 Mitglieder der Computer-AG, Katharineum zu Lübeck"
VERSION = '1.1-dev "Aebli"'
LICENSE_APACHE_2 = "Apache 2.0 License"
LICENSE_BSD = "2-Clause BSD License"
LICENSE_BSD_3 = "3-Clause BSD License"
LICENSE_MIT = "MIT License"
LICENSE_GPL_V2 = "GNU General Public License v2.0"
LICENSE_GPL_V3 = "GNU General Public License v3.0"
OPEN_SOURCE_COMPONENTS = [
# ("Docker (u.a. Engine, CLI, docker-compose)", "https://github.com/docker", LICENSE_APACHE_2,
# "https://github.com/docker/docker/blob/master/LICENSE"),
("Django", "https://www.djangoproject.com/", "Django BSD License",
"https://github.com/django/django/blob/master/LICENSE"),
("Python 3", "https://www.python.org/", "PSF LICENSE AGREEMENT FOR PYTHON",
"https://docs.python.org/3/license.html"),
("jQuery", "https://jquery.com/", LICENSE_MIT, "https://github.com/jquery/jquery/blob/master/LICENSE.txt"),
("pip", "https://pypi.org/project/pip/", LICENSE_MIT, "https://github.com/pypa/pip/blob/master/LICENSE.txt"),
("Requests", "https://requests.kennethreitz.org/", LICENSE_APACHE_2,
"https://github.com/psf/requests/blob/master/LICENSE"),
("django-widget-tweaks", "https://github.com/jazzband/django-widget-tweaks", LICENSE_MIT,
"https://github.com/jazzband/django-widget-tweaks/blob/master/LICENSE"),
("Materialize CSS", "https://materializecss.com/", LICENSE_MIT,
"https://github.com/Dogfalo/materialize/blob/master/LICENSE"),
("Material Design Icons", "http://google.github.io/material-design-icons/", LICENSE_APACHE_2,
"https://github.com/google/material-design-icons/blob/master/LICENSE"),
("highlight.js", "https://highlightjs.org/", LICENSE_BSD_3,
"https://github.com/highlightjs/highlight.js/blob/master/LICENSE"),
("React", "https://reactjs.org/", LICENSE_MIT, "https://github.com/facebook/react/blob/master/LICENSE"),
("mysqlclient", "https://github.com/PyMySQL/mysqlclient-python", LICENSE_GPL_V2,
"https://github.com/PyMySQL/mysqlclient-python/blob/master/LICENSE"),
("django-auth-ldap", "https://github.com/django-auth-ldap/django-auth-ldap", LICENSE_BSD,
"https://github.com/django-auth-ldap/django-auth-ldap/blob/master/LICENSE"),
("django-dbsettings", "https://github.com/zlorf/django-dbsettings", LICENSE_BSD_3,
"https://github.com/zlorf/django-dbsettings/blob/master/LICENSE"),
("Django PDB", "https://github.com/HassenPy/django-pdb", "Public Domain", ""),
("Django Material", "https://github.com/viewflow/django-material", LICENSE_BSD_3,
"https://github.com/viewflow/django-material/blob/master/LICENSE.txt"),
("Django Filter", "https://github.com/carltongibson/django-filter", LICENSE_BSD_3,
"https://github.com/carltongibson/django-filter/blob/master/LICENSE"),
("django-react-templatetags", "https://github.com/Frojd/django-react-templatetags", LICENSE_MIT,
"https://github.com/Frojd/django-react-templatetags/blob/develop/LICENSE"),
("martor", "https://github.com/agusmakmun/django-markdown-editor", LICENSE_GPL_V3,
"https://github.com/agusmakmun/django-markdown-editor/blob/master/LICENSE"),
("Babel", "https://babeljs.io/", LICENSE_MIT, "https://github.com/babel/babel/blob/master/LICENSE")
]
OPEN_SOURCE_COMPONENTS.sort(key=lambda elem: elem[0].lower())
def meta_processor(request):
return {'COPYRIGHT': COPYRIGHT, "COPYRIGHT_SHORT": COPYRIGHT_SHORT, "VERSION": VERSION}
......@@ -80,6 +80,7 @@ TEMPLATES = [
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django_react_templatetags.context_processors.react_context_processor',
'meta.meta_processor',
],
},
},
......
{% load martortags %}
{% include "partials/header.html" %}
<main>
<div class="card">
<div class="card-content">
<span class="card-title">Entwickler und Copyright</span>
<p>{{ COPYRIGHT|linebreaksbr|safe_markdown }}</p>
<br>
<p>
GitHub:
<a href="https://github.com/Katharineum/school-apps">https://github.com/Katharineum/school-apps</a>
</p>
<p>
Kontakt:
<a href="mailto:support@katharineum.de">support@katharineum.de</a>
</p>
</div>
</div>
<div class="card">
<div class="card-content">
<span class="card-title">Lizenz</span>
Dieses Programm ist Freie Software: Sie können es unter den Bedingungen
der GNU General Public License, wie von der Free Software Foundation,
Version 3 der Lizenz, weiter verteilen und/oder modifizieren.
Dieses Programm wird in der Hoffnung bereitgestellt, dass es nützlich sein wird, jedoch
OHNE JEDE GEWÄHR,; sogar ohne die implizite
Gewähr der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
Siehe die GNU General Public License für weitere Einzelheiten.
Im folgenden finden Sie eine Kopie der GNU General Public License Version 3. Weitere Informationen sowie die
Lizenz finden Sie auch unter
<a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>
.
</div>
</div>
<div class="card">
<div class="card-content">
<span class="card-title">Verwendete Open-Source-Komponenten</span>
Folgende Open-Source-Komponenten wurden in SchoolApps benutzt:
<ul class="collection">
{% for component in components %}
<li class="collection-item">
<h6>{{ component.0 }}</h6>
<p style="margin-bottom: 10px;">
<a href="{{ component.1 }}">{{ component.1 }}</a>
· Lizensiert unter der
<a href="{{ component.3 }}">{{ component.2 }}</a>
</p>
</li>
{% endfor %}
</ul>
Ein Anspruch auf Vollständigkeit wird nicht erhoben.
</div>
</div>
</main>
{% include "partials/footer.html" %}
\ No newline at end of file
......@@ -5,52 +5,62 @@
<div class="container">
<div class="row no-margin footer-row-large">
<div class="col l6 s12 no-pad-left height-inherit">
<p class="white-text valign-bot no-margin">
Version 1.1 "Aebli" &middot;
Licensed under <a class="blue-text text-lighten-4"
href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GNU GPL 3.0</a>
<p class="white-text valign-bot">
<a href="{% url "about" %}" class="blue-text text-lighten-4">Über Schoolapps · Entwickler, Copyright
und Lizenz
</a>
</p>
</div>
<div class="col xl15 l6 offset-xl01 s12 no-pad-right">
<ul class="no-margin right">
<a class="blue-text text-lighten-4 btn-flat no-pad-left" href="https://katharineum-zu-luebeck.de"><i
class="material-icons footer-icon left">home</i> Homepage</a>
class="material-icons footer-icon left">home</i> Homepage
</a>
<a class="blue-text text-lighten-4 btn-flat" href="https://forum.katharineum.de"><i
class="material-icons footer-icon left">account_balance</i> Forum</a>
class="material-icons footer-icon left">account_balance</i> Forum
</a>
<a class="blue-text text-lighten-4 btn-flat" href="https://nimbus.katharineum.de"><i
class="material-icons footer-icon left">cloud</i> Nimbus</a>
class="material-icons footer-icon left">cloud</i> Nimbus
</a>
<a class="blue-text text-lighten-4 btn-flat no-pad-right" href="https://webmail.katharineum.de"><i
class="material-icons footer-icon left">email</i> Webmail</a>
class="material-icons footer-icon left">email</i> Webmail
</a>
</ul>
</div>
</div>
<div class="row no-margin footer-row-small">
<span class="white-text no-margin make-it-higher">
Version 1.1 "Aebli" &middot;
Licensed under <a class="blue-text text-lighten-4"
href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GNU GPL 3.0</a>
</span>
<span class="white-text make-it-higher">
<a href="{% url "about" %}" class="blue-text text-lighten-4">Über Schoolapps · Entwickler, Copyright
und Lizenz
</a>
</span>
<ul class="no-margin footer-ul">
<a class="blue-text text-lighten-4 btn-flat no-pad-left" href="https://katharineum-zu-luebeck.de"><i
class="material-icons footer-icon left">home</i> Homepage</a>
<a class="blue-text text-lighten-4 btn-flat" href="https://forum.katharineum.de"><i
class="material-icons footer-icon left">account_balance</i> Forum</a>
<a class="blue-text text-lighten-4 btn-flat" href="https://nimbus.katharineum.de"><i
class="material-icons footer-icon left">cloud</i> Nimbus</a>
<a class="blue-text text-lighten-4 btn-flat no-pad-right" href="https://webmail.katharineum.de"><i
class="material-icons footer-icon left">email</i> Webmail</a>
</ul>
<a class="blue-text text-lighten-4 btn-flat no-pad-left" href="https://katharineum-zu-luebeck.de"><i
class="material-icons footer-icon left">home</i> Homepage
</a>
<a class="blue-text text-lighten-4 btn-flat" href="https://forum.katharineum.de"><i
class="material-icons footer-icon left">account_balance</i> Forum
</a>
<a class="blue-text text-lighten-4 btn-flat" href="https://nimbus.katharineum.de"><i
class="material-icons footer-icon left">cloud</i> Nimbus
</a>
<a class="blue-text text-lighten-4 btn-flat no-pad-right" href="https://webmail.katharineum.de"><i
class="material-icons footer-icon left">email</i> Webmail
</a>
</ul>
</div>
</div>
<div class="footer-copyright">
<div class="container">
<span class="left">© 2018–{% now "Y" %} Computer-AG, Katharineum zu Lübeck</span>
<span class="left">Version {{ VERSION }} &middot; {{ COPYRIGHT_SHORT }}</span>
<span class="right">
<span id="doit"></span>
<a class="blue-text text-lighten-4" href="https://katharineum-zu-luebeck.de/impressum/">Impressum</a>
·
<a class="blue-text text-lighten-4" href="https://katharineum-zu-luebeck.de/datenschutzerklaerung/">Datenschutzerklärung</a>
<a class="blue-text text-lighten-4" href="https://katharineum-zu-luebeck.de/datenschutzerklaerung/">
Datenschutzerklärung
</a>
</span>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment