port to new django, AI automated
This commit is contained in:
@@ -1,72 +1,65 @@
|
||||
{% load sekizai_tags staticfiles %}
|
||||
{% load sekizai_tags static %}
|
||||
|
||||
{% include "bootstrapTheme/bootstrapTheme.html" %}
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Blechreiz</title>
|
||||
<title>Blechreiz</title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
|
||||
{% render_block "css" %}
|
||||
{% render_block "js" %}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% render_block "css" %}
|
||||
</head>
|
||||
|
||||
<body class="pull_top">
|
||||
|
||||
<!-- Menu -->
|
||||
<div class="{% block navbar_options %}navbar navbar-inverse navbar-static-top {% endblock %}">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
{% if not request.device.android %}
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse" type="button">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a class="brand" href="/">
|
||||
<img alt="Blechreiz" src="{{STATIC_URL}}img/blechreiz_logo.png">
|
||||
</a>
|
||||
|
||||
<div {% if not request.device.android %}class="nav-collapse collapse"{% endif %}>
|
||||
<ul class="nav pull-right">
|
||||
{% block menu_contents %}
|
||||
<li><a href="/">HOME</a></li>
|
||||
<li><a href="/events"> Termine</a></li>
|
||||
<li><a href="/messages">Forum</a></li>
|
||||
<li><a href="/musicians">Adressbuch</a></li>
|
||||
<!-- <li><a href="/scores"> Noten</a></li> -->
|
||||
{% endblock %}
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
{{user.username|capfirst}}
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/musicians/profile">Eigenes Profil</a></li>
|
||||
<li><a href="/eventplanner_gcal/manage">Google Kalender</a></li>
|
||||
<li><a href="/musicians/changePassword">Passwort ändern</a> </li>
|
||||
<li><a href="/musicians/logout">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<!-- Menu -->
|
||||
<div class="{% block navbar_options %}navbar navbar-inverse navbar-static-top {% endblock %}">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
{% if not request.device.android %}
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse" type="button">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a class="brand" href="/">
|
||||
<img alt="Blechreiz" src="{% static 'img/blechreiz_logo.png' %}">
|
||||
</a>
|
||||
|
||||
<div {% if not request.device.android %}class="nav-collapse collapse"{% endif %}>
|
||||
<ul class="nav pull-right">
|
||||
{% block menu_contents %}
|
||||
<li><a href="/">HOME</a></li>
|
||||
<li><a href="/events/">Termine</a></li>
|
||||
<li><a href="/messages/">Forum</a></li>
|
||||
<li><a href="/musicians/">Adressbuch</a></li>
|
||||
<!-- <li><a href="/scores/">Noten</a></li> -->
|
||||
{% endblock %}
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
{{ user.username|capfirst }}
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/musicians/profile/">Eigenes Profil</a></li>
|
||||
<li><a href="/eventplanner_gcal/manage/">Google Kalender</a></li>
|
||||
<li><a href="/musicians/changePassword/">Passwort ändern</a></li>
|
||||
<li><a href="/musicians/logout/">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Menu -->
|
||||
<!-- End Menu -->
|
||||
|
||||
|
||||
|
||||
{% block content %} {% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
<!-- footer -->
|
||||
<footer id="footer">
|
||||
@@ -75,24 +68,15 @@
|
||||
<div class="span12">
|
||||
<div class="row copyright">
|
||||
<div class="span12">
|
||||
© 2018 Blechreiz, Martin Bauer
|
||||
© 2014 Blechreiz, Martin Bauer
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
{% render_block "js" %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
{% extends "website/base.html" %}
|
||||
|
||||
{% load sekizai_tags staticfiles %}
|
||||
|
||||
{% block navbar_options %} navbar transparent navbar-inverse navbar-fixed-top {% endblock %}
|
||||
|
||||
{% load sekizai_tags static %}
|
||||
{% block navbar_options %} navbar transparent navbar-inverse navbar-fixed-top {% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% include "website/slider_intern_area.html" %}
|
||||
{% include "eventplanner/countdown.inc.html" %}
|
||||
{% include "eventplanner/routeToEventMap.inc.html" %}
|
||||
|
||||
{% include "website/slider_intern_area.html" %}
|
||||
{% include "eventplanner/countdown.inc.html" %}
|
||||
{% include "eventplanner/routeToEventMap.inc.html" %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,32 +1,121 @@
|
||||
|
||||
|
||||
|
||||
{% addtoblock "css" strip %} <link id="base-style" href="{{STATIC_URL}}css/perfectum-style.css" rel="stylesheet"> {% endaddtoblock %}
|
||||
{% addtoblock "css" strip %} <link id="base-style-responsive" href="{{STATIC_URL}}css/perfectum-style-responsive.css" rel="stylesheet"> {% endaddtoblock %}
|
||||
{% load sekizai_tags static %}
|
||||
{% addtoblock "css" strip %}
|
||||
<link
|
||||
id="base-style"
|
||||
href="{{STATIC_URL}}/css/perfectum-style.css"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
{% endaddtoblock %} {% addtoblock "css" strip %}
|
||||
<link
|
||||
id="base-style-responsive"
|
||||
href="{{STATIC_URL}}/css/perfectum-style-responsive.css"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
{% endaddtoblock %}
|
||||
|
||||
<div class="span2 main-menu-span">
|
||||
<div class="nav-collapse sidebar-nav">
|
||||
<ul class="nav nav-tabs nav-stacked main-menu">
|
||||
<li><a href="index.html"><i class="icon-home icon-white"></i><span class="hidden-tablet"> Dashboard</span></a></li>
|
||||
<li><a href="ui.html"><i class="icon-eye-open icon-white"></i><span class="hidden-tablet"> UI Features</span></a></li>
|
||||
<li><a href="form.html"><i class="icon-edit icon-white"></i><span class="hidden-tablet"> Forms</span></a></li>
|
||||
<li><a href="chart.html"><i class="icon-list-alt icon-white"></i><span class="hidden-tablet"> Charts</span></a></li>
|
||||
<li>
|
||||
<a class="dropmenu" href="#"><i class="fa-icon-folder-close-alt"></i><span class="hidden-tablet"> Dropdown</span></a>
|
||||
<ul>
|
||||
<li><a class="submenu" href="submenu.html"><i class="fa-icon-file-alt"></i><span class="hidden-tablet"> Sub Menu 1</span></a></li>
|
||||
<li><a class="submenu" href="submenu.html"><i class="fa-icon-file-alt"></i><span class="hidden-tablet"> Sub Menu 2</span></a></li>
|
||||
<li><a class="submenu" href="submenu.html"><i class="fa-icon-file-alt"></i><span class="hidden-tablet"> Sub Menu 3</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="typography.html"><i class="icon-font icon-white"></i><span class="hidden-tablet"> Typography</span></a></li>
|
||||
<li><a href="gallery.html"><i class="icon-picture icon-white"></i><span class="hidden-tablet"> Gallery</span></a></li>
|
||||
<li><a href="table.html"><i class="icon-align-justify icon-white"></i><span class="hidden-tablet"> Tables</span></a></li>
|
||||
<li><a href="calendar.html"><i class="icon-calendar icon-white"></i><span class="hidden-tablet"> Calendar</span></a></li>
|
||||
<li><a href="grid.html"><i class="icon-th icon-white"></i><span class="hidden-tablet"> Grid</span></a></li>
|
||||
<li><a href="file-manager.html"><i class="icon-folder-open icon-white"></i><span class="hidden-tablet"> File Manager</span></a></li>
|
||||
<li><a href="icon.html"><i class="icon-star icon-white"></i><span class="hidden-tablet"> Icons</span></a></li>
|
||||
<li><a href="login.html"><i class="icon-lock icon-white"></i><span class="hidden-tablet"> Login Page</span></a></li>
|
||||
</ul>
|
||||
</div><!--/.well -->
|
||||
</div><!--/span-->
|
||||
<div class="nav-collapse sidebar-nav">
|
||||
<ul class="nav nav-tabs nav-stacked main-menu">
|
||||
<li>
|
||||
<a href="index.html"
|
||||
><i class="icon-home icon-white"></i
|
||||
><span class="hidden-tablet"> Dashboard</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="ui.html"
|
||||
><i class="icon-eye-open icon-white"></i
|
||||
><span class="hidden-tablet"> UI Features</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="form.html"
|
||||
><i class="icon-edit icon-white"></i
|
||||
><span class="hidden-tablet"> Forms</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="chart.html"
|
||||
><i class="icon-list-alt icon-white"></i
|
||||
><span class="hidden-tablet"> Charts</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropmenu" href="#"
|
||||
><i class="fa-icon-folder-close-alt"></i
|
||||
><span class="hidden-tablet"> Dropdown</span></a
|
||||
>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="submenu" href="submenu.html"
|
||||
><i class="fa-icon-file-alt"></i
|
||||
><span class="hidden-tablet"> Sub Menu 1</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a class="submenu" href="submenu.html"
|
||||
><i class="fa-icon-file-alt"></i
|
||||
><span class="hidden-tablet"> Sub Menu 2</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a class="submenu" href="submenu.html"
|
||||
><i class="fa-icon-file-alt"></i
|
||||
><span class="hidden-tablet"> Sub Menu 3</span></a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="typography.html"
|
||||
><i class="icon-font icon-white"></i
|
||||
><span class="hidden-tablet"> Typography</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="gallery.html"
|
||||
><i class="icon-picture icon-white"></i
|
||||
><span class="hidden-tablet"> Gallery</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="table.html"
|
||||
><i class="icon-align-justify icon-white"></i
|
||||
><span class="hidden-tablet"> Tables</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="calendar.html"
|
||||
><i class="icon-calendar icon-white"></i
|
||||
><span class="hidden-tablet"> Calendar</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="grid.html"
|
||||
><i class="icon-th icon-white"></i
|
||||
><span class="hidden-tablet"> Grid</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="file-manager.html"
|
||||
><i class="icon-folder-open icon-white"></i
|
||||
><span class="hidden-tablet"> File Manager</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="icon.html"
|
||||
><i class="icon-star icon-white"></i
|
||||
><span class="hidden-tablet"> Icons</span></a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="login.html"
|
||||
><i class="icon-lock icon-white"></i
|
||||
><span class="hidden-tablet"> Login Page</span></a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--/.well -->
|
||||
</div>
|
||||
<!--/span-->
|
||||
|
||||
@@ -1,125 +1,118 @@
|
||||
{% load sekizai_tags staticfiles %}
|
||||
|
||||
|
||||
|
||||
{% comment %}
|
||||
Displays a slider linking to
|
||||
/events
|
||||
/messages
|
||||
/addressbook
|
||||
Requires context "hasParticipationSetForAllEvents"
|
||||
to diplay if a user has finished the event planning
|
||||
{% endcomment %}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{% addtoblock "css" %}
|
||||
{% load sekizai_tags static %} {% comment %} Displays a slider linking to
|
||||
/events /messages /addressbook Requires context
|
||||
"hasParticipationSetForAllEvents" to diplay if a user has finished the event
|
||||
planning {% endcomment %} {% addtoblock "css" %}
|
||||
|
||||
<style>
|
||||
.slide .info {
|
||||
position: absolute;
|
||||
top: 260px;
|
||||
left: 8%;
|
||||
width: 24%;
|
||||
display: none;
|
||||
z-index: 10;
|
||||
}
|
||||
.slide .info a {
|
||||
text-transform: uppercase;
|
||||
color: rgb(255, 255, 255);
|
||||
background: none repeat scroll 0% 0% rgb(166, 3, 3);
|
||||
font-size: 25px;
|
||||
font-weight: bolder;
|
||||
padding: 15px 24px;
|
||||
border: 0px none;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
transition:
|
||||
background 0.2s linear 0s,
|
||||
box-shadow 0.2s linear 0s;
|
||||
}
|
||||
.slide .info .subtitle {
|
||||
margin: 25px;
|
||||
font-size: 20px;
|
||||
font-style: italic;
|
||||
}
|
||||
.slide .info .subtitlebg {
|
||||
background: none repeat scroll 0% 0% rgb(243, 243, 243);
|
||||
padding: 10px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.slide .info {
|
||||
position: absolute;
|
||||
top: 260px;
|
||||
left: 8%;
|
||||
width: 24%;
|
||||
display: none;
|
||||
z-index: 10;
|
||||
}
|
||||
.slide .info a {
|
||||
text-transform: uppercase;
|
||||
color: rgb(255, 255, 255);
|
||||
background: none repeat scroll 0% 0% rgb(166, 3, 3);
|
||||
font-size: 25px;
|
||||
font-weight: bolder;
|
||||
padding: 15px 24px;
|
||||
border: 0px none;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
transition: background 0.2s linear 0s, box-shadow 0.2s linear 0s;
|
||||
}
|
||||
.slide .info .subtitle {
|
||||
margin: 25px;
|
||||
font-size: 20px;
|
||||
font-style: italic;
|
||||
}
|
||||
.slide .info .subtitlebg
|
||||
{
|
||||
background: none repeat scroll 0% 0% rgb(243, 243, 243);
|
||||
padding: 10px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
border-radius: 8px;
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 979px) {
|
||||
.slide .info a {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.slide .info .subtitle {
|
||||
font-size: 16px;
|
||||
}
|
||||
.slide .info .subtitlebg {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 979px) {
|
||||
.slide .info a {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.slide .info .subtitle {
|
||||
font-size: 16px;
|
||||
}
|
||||
.slide .info .subtitlebg {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
{% endaddtoblock %}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="feature_slider" class="">
|
||||
<article
|
||||
class="slide"
|
||||
id="slide_news"
|
||||
style="background: url('{{STATIC_URL}}/img/slides/aqua.jpg') repeat-x top center;"
|
||||
>
|
||||
<img
|
||||
class="asset left-30 sp600 t150 z1"
|
||||
src="{{STATIC_URL}}/img/google_cal.png"
|
||||
/>
|
||||
<div class="info">
|
||||
<a href="/eventplanner_gcal/manage">GoogleCalendar</a>
|
||||
<div class="subtitle subtitlebg">
|
||||
Jetzt auch auf dem Handy im Google Kalender Termine planen
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="slide" id="slide_news" style="background: url('{{STATIC_URL}}img/slides/aqua.jpg') repeat-x top center;">
|
||||
<article
|
||||
class="slide"
|
||||
id="slide_eventManagement"
|
||||
style="background: url('{{STATIC_URL}}/img/slides/andi2.jpg') repeat-x top center;"
|
||||
>
|
||||
<div class="info">
|
||||
<a href="/events">Einsatzplanung</a>
|
||||
|
||||
<img class="asset left-30 sp600 t150 z1" src="{{STATIC_URL}}img/google_cal.png" />
|
||||
<div class="info">
|
||||
<a href="/eventplanner_gcal/manage">GoogleCalendar</a>
|
||||
<div class="subtitle subtitlebg">Jetzt auch auf dem Handy im Google Kalender Termine planen</div>
|
||||
</div>
|
||||
<div class="subtitle subtitlebg">
|
||||
{% if hasParticipationSetForAllEvents %} Sehr gut - du hast dich
|
||||
für alles eingetragen {% else %} Du hast dich noch nicht für
|
||||
alle Termine eingetragen!! {% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
<article class="slide" id="slide_eventManagement"
|
||||
style="background: url('{{STATIC_URL}}img/slides/andi2.jpg') repeat-x top center;">
|
||||
|
||||
<div class="info">
|
||||
<a href="/events">Einsatzplanung</a>
|
||||
|
||||
<div class="subtitle subtitlebg">
|
||||
{% if hasParticipationSetForAllEvents %}
|
||||
Sehr gut - du hast dich für alles eingetragen
|
||||
{% else %}
|
||||
Du hast dich noch nicht für alle Termine eingetragen!!
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
<article class="slide" id="slide_messages" style="background: url('{{STATIC_URL}}img/backgrounds/silver.jpg') repeat-x top center;">
|
||||
<img class="asset left-30 sp600 t120 z1" src="{{STATIC_URL}}img/slides/gruppe.png" />
|
||||
<div class="info">
|
||||
<a href="/messages">Forum</a>
|
||||
<div class="subtitle">Nachricht an alle schreiben...</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="slide" id="adressbook"
|
||||
style="background: url('{{STATIC_URL}}img/slides/spielen2.jpg') repeat-x top center;">
|
||||
<div class="info">
|
||||
<a href="/musicians">Adressbuch</a>
|
||||
<div class="subtitle subtitlebg">Geburtstage, Telefonnummern, ...</div>
|
||||
</div>
|
||||
</article>
|
||||
<article
|
||||
class="slide"
|
||||
id="slide_messages"
|
||||
style="background: url('{{STATIC_URL}}/img/backgrounds/silver.jpg') repeat-x top center;"
|
||||
>
|
||||
<img
|
||||
class="asset left-30 sp600 t120 z1"
|
||||
src="{{STATIC_URL}}/img/slides/gruppe.png"
|
||||
/>
|
||||
<div class="info">
|
||||
<a href="/messages">Forum</a>
|
||||
<div class="subtitle">Nachricht an alle schreiben...</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article
|
||||
class="slide"
|
||||
id="adressbook"
|
||||
style="background: url('{{STATIC_URL}}/img/slides/spielen2.jpg') repeat-x top center;"
|
||||
>
|
||||
<div class="info">
|
||||
<a href="/musicians">Adressbuch</a>
|
||||
<div class="subtitle subtitlebg">
|
||||
Geburtstage, Telefonnummern, ...
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user