-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added django apps to manage and render parts, some from other repos
- Loading branch information
EsGeh
authored and
EsGeh
committed
Nov 12, 2019
1 parent
2f7cb9b
commit e2495d2
Showing
11 changed files
with
357 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,42 @@ | ||
Django==2.2 | ||
psycopg2-binary | ||
Django==2.1.11 | ||
psycopg2-binary == 2.7.7 | ||
dj-database-url==0.5.0 | ||
django-auth-ldap==2.0.0 | ||
django-classy-tags==0.9.0 | ||
django-cms==3.6.0 | ||
django-filer==1.5.0 | ||
django-formtools==2.1 | ||
django-js-asset==1.2.2 | ||
django-mptt==0.10.0 | ||
django-polymorphic==2.0.3 | ||
django-sekizai==1.0.0 | ||
django-treebeard==4.3 | ||
djangocms-admin-style==1.4.0 | ||
djangocms-attributes-field==1.1.0 | ||
djangocms-column==1.9.0 | ||
djangocms-file==2.3.0 | ||
djangocms-installer==1.1.1 | ||
djangocms-link==2.5.0 | ||
djangocms-picture==2.1.3 | ||
djangocms-snippet==2.1.0 | ||
djangocms-style==2.2.0 | ||
djangocms-text-ckeditor==3.7.0 | ||
djangocms-video==2.1.1 | ||
easy-thumbnails==2.6 | ||
html5lib==1.0.1 | ||
lxml==4.4.1 | ||
Pillow==6.1.0 | ||
pyasn1==0.4.6 | ||
pyasn1-modules==0.2.6 | ||
python-ldap==3.2.0 | ||
pytz==2019.2 | ||
six==1.12.0 | ||
sqlparse==0.3.0 | ||
tzlocal==2.0.0 | ||
Unidecode==1.0.23 | ||
webencodings==0.5.1 | ||
git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaauthors | ||
git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaforthcoming | ||
git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoapublications | ||
git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaseries | ||
git+git://github.molgen.mpg.de/EditionOpenAccess/django-opds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from cms.plugin_base import CMSPluginBase | ||
from cms.plugin_pool import plugin_pool | ||
from cms.models.pluginmodel import CMSPlugin | ||
from django.utils.translation import ugettext_lazy as _ | ||
|
||
@plugin_pool.register_plugin | ||
class EOASeries(CMSPluginBase): | ||
model = CMSPlugin | ||
render_template = "eoaseries.html" | ||
cache = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from cms.app_base import CMSApp | ||
from cms.apphook_pool import apphook_pool | ||
|
||
@apphook_pool.register | ||
class EOASeriesApphook(CMSApp): | ||
app_name = "eoaseries" # must match the application namespace | ||
name = "EOA Series Apphook" | ||
|
||
def get_urls(self, page=None, language=None, **kwargs): | ||
return ["eoaseries.urls"] | ||
|
||
@apphook_pool.register | ||
class EOAAuthorsApphook(CMSApp): | ||
app_name = "eoaauthors" # must match the application namespace | ||
name = "EOA Authors Apphook" | ||
|
||
def get_urls(self, page=None, language=None, **kwargs): | ||
return ["eoaauthors.urls"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{% load cms_tags menu_tags sekizai_tags staticfiles %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<title>{% block title %}Edition Open Access{% endblock title %}</title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
{% block metatags %}{% endblock metatags %} | ||
{% block hyperimage %}{% endblock hyperimage %} | ||
<link rel="shortcut icon" href="{% static 'assets/images/favicon.png' %}"/> | ||
<link rel="apple-touch-icon" href="{% static 'assets/images/favicon-apple.png' %}"/> | ||
<link href="{% static '852a3afcc3d6f07ad520.app.css' %}" rel="stylesheet"/> | ||
{% render_block "css" %} | ||
</head> | ||
<body> | ||
{% cms_toolbar %} | ||
<div class="page"> | ||
<div class="content"> | ||
<div class="mobile-header__background"></div> | ||
<header class="header"> | ||
<div class="header__content"> | ||
<div class="blocklogo container"> | ||
<div class="blocklogo__logo"> | ||
<a href="{% page_url 'intropage' %}"> | ||
<img class="blocklogo__img" src="{% static 'assets/images/mprl_logo_281x165.png' %}" alt="logo" data-object-fit="cover"/> | ||
</a> | ||
</div> | ||
</div> | ||
<nav class="nav"> | ||
<a class="nav-toggle" href="#"> | ||
<span class="nav-toggle__item"></span> | ||
<span class="nav-toggle__item"></span> | ||
<span class="nav-toggle__item"></span> | ||
</a> | ||
<div class="nav__wrapper"> | ||
<div class="container"> | ||
<ul class="nav__menu"> | ||
<!-- <li class="nav__item"> --> | ||
{% show_menu 0 100 100 100 %} | ||
<li class="nav__item nav-search" id="nav-search"> | ||
<form class="nav-search-form"> | ||
<input class="nav-search__input" placeholder="Search" type="search" value="" name="search" id="search"/> | ||
<input class="nav-search__submit" type="submit" value=""/> | ||
</form> | ||
</li> | ||
<li class="nav__item nav-footer"> | ||
<a class="nav__link nav-footer__link" href="{% page_url 'contact' %}">Contact</a><a class="nav__link nav-footer__link" href="{% page_url 'imprint' %}">Imprint</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
<nav class="breadcrumbs container"> | ||
<ul class="breadcrumbs__items"> | ||
{% block breadcrumb %} | ||
{% show_breadcrumb %} | ||
{% endblock %} | ||
</ul> | ||
</nav> | ||
</div> | ||
</header> | ||
<!-- <main class="main"> <div class="container"> <div class="main-content"> --> | ||
{% block content %}{% endblock content %} | ||
<!-- </div> </div> </main> --> | ||
</div> | ||
<footer class="footer"> | ||
<div class="footer__content"> | ||
<div class="footer-menu"><a href="{% page_url 'contact' %}">Contact</a><a href="{% page_url 'imprint' %}">Imprint</a><a class="share" href="#">Share<span>this Page</span></a></div> | ||
<div class="footer-logo"><a href="https://mpiwg-berlin.mpg.de/"> | ||
<h2>Max Planck Institute for the History of Science</h2></a></div> | ||
</div> | ||
</footer> | ||
</div> | ||
{% block hyperimagebottom %}{% endblock hyperimagebottom %} | ||
<script type="text/javascript" src="{% static '852a3afcc3d6f07ad520.app.js' %}"></script> | ||
{% render_block "js" %} | ||
</body> | ||
</html> |
Oops, something went wrong.