Added documentation and faq section.

This commit is contained in:
Emanuel Schuetze 2012-07-18 22:38:16 +02:00
parent 7f8d6347ac
commit 7421628da4
8 changed files with 66 additions and 19 deletions

View File

@ -9,6 +9,10 @@ body {
}
.navbar .nav > li > a {
color: #cccccc;
font-size: 14px;
}
.navbar .nav.pull-right > li > a {
font-size: 12px;
}
.hero-unit {
margin-top: -15px;

View File

@ -38,7 +38,8 @@
<ul class="nav">
<li class="{% block mainmenu_about %}{% endblock %}"><a href="{% url about %}">{% trans "Über OpenSlides" %}</a></li>
<li class="{% block mainmenu_download %}{% endblock %}"><a href="{% url download %}">{% trans "Download" %}</a></li>
<li class="{% block mainmenu_support %}{% endblock %}"><a href="{% url support %}">{% trans "Support & Dokumentation" %}</a></li>
<li class="{% block mainmenu_support %}{% endblock %}"><a href="{% url support %}">{% trans "Support" %}</a></li>
<li class="{% block mainmenu_documentation %}{% endblock %}"><a href="{% url documentation %}">{% trans "Dokumentation" %}</a></li>
<li class="{% block mainmenu_development %}{% endblock %}"><a href="{% url development %}">{% trans "Entwicklung" %}</a></li>
</ul>
<ul class="nav pull-right">

View File

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% load i18n %}
{% block mainmenu_documentation %}active{% endblock %}
{% block submenu %}
<div class="subnav subnav-fixed">
<ul class="nav nav-pills">
<li class="{% block submenu_documentation %}{% endblock %}"><a href="{% url documentation %}">Handbuch</a></li>
<li class="{% block submenu_faq %}{% endblock %}"><a href="{% url faq %}">FAQ</a></li>
</ul>
</div>
{% endblock %}

View File

@ -1,15 +0,0 @@
{% extends "base.html" %}
{% load i18n %}
{% block mainmenu_support %}active{% endblock %}
{% block submenu %}
<div class="subnav subnav-fixed">
<ul class="nav nav-pills">
<li class="{% block submenu_support %}{% endblock %}"><a href="{% url support %}">Professioneller Support</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Handbuch</a></li>
</ul>
</div>
{% endblock %}

View File

@ -0,0 +1,21 @@
{% extends "base_documentation.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {% trans "Handbuch" %}{% endblock %}
{% block headline %}{% trans "Handbuch" %}{% endblock %}
{% block submenu_documentation %}active{% endblock %}
{% block lead %}
{% endblock %}
{% block content %}
<div class="row">
<div class="span6">
<p>TODO</p>
</div>
</div>
<p><br></p>
<p><br></p>
{% endblock %}

View File

@ -0,0 +1,21 @@
{% extends "base_documentation.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {% trans "FAQ" %}{% endblock %}
{% block headline %}{% trans "FAQ" %}{% endblock %}
{% block submenu_faq %}active{% endblock %}
{% block lead %}
{% endblock %}
{% block content %}
<div class="row">
<div class="span6">
<p>TODO</p>
</div>
</div>
<p><br></p>
<p><br></p>
{% endblock %}

View File

@ -1,11 +1,11 @@
{% extends "base_support.html" %}
{% extends "base.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - Support{% endblock %}
{% block headline %}Support{% endblock %}
{% block submenu_support %}active{% endblock %}
{% block mainmenu_support %}active{% endblock %}
{% block lead %}
Die Intevation GmbH bietet Ihnen professionellen Support beim Einsatz von OpenSlides auf Ihrer Veranstaltung an.

View File

@ -18,9 +18,10 @@ urlpatterns = i18n_patterns('',
url(r'^about/press$', TemplateView.as_view(template_name="press.html"), name='press',),
url(r'^download/$', TemplateView.as_view(template_name="download.html"), name='download',),
url(r'^support/$', TemplateView.as_view(template_name="support.html"), name='support',),
url(r'^documentation/$', TemplateView.as_view(template_name="documentation.html"), name='documentation',),
url(r'^faq/$', TemplateView.as_view(template_name="faq.html"), name='faq',),
url(r'^development/$', TemplateView.as_view(template_name="development.html"), name='development',),
url(r'^contact/$', 'website.views.contact', name='contact',),
#url(r'^contact/$', TemplateView.as_view(template_name="contact.html"), name='contact',),
url(r'^demo/$', TemplateView.as_view(template_name="demo.html"), name='demo',),
url(r'^impressum/$', TemplateView.as_view(template_name="impressum.html"), name='impressum',),
)