dynamicweb/digitalglarus/templates/base_glarus.html

153 lines
5.5 KiB
HTML
Raw Normal View History

{% load staticfiles cms_tags menu_tags sekizai_tags menu_tags %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Digital Glarus - {% block title %}Welcome{% endblock %}</title>
<!-- Favicon -->
<link rel="shortcut icon" href="{% static 'digitalglarus/img/favicon.ico' %}"/>
<!-- Bootstrap Core CSS -->
<link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet">
<!-- Custom CSS -->
<link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet">
2016-04-23 17:00:20 +00:00
<link href="{% static 'digitalglarus/css/login.css' %}" rel="stylesheet">
<!-- Fonts -->
2016-03-22 00:21:50 +00:00
<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Josefin+Slab:100,300,400,600,700,100italic,300italic,400italic,600italic,700italic"
rel="stylesheet" type="text/css">
2016-04-23 17:00:20 +00:00
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"
rel="stylesheet" type="text/css">
{% render_block "css" postprocessor "compressor.contrib.sekizai.compress" %}
{% render_block "js" postprocessor "compressor.contrib.sekizai.compress" %}
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
2016-04-23 17:00:20 +00:00
2016-03-22 00:21:50 +00:00
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-62285904-2', 'auto');
ga('send', 'pageview');
2016-03-22 00:21:50 +00:00
</script>
</head>
<body>
2016-03-22 00:21:50 +00:00
{% cms_toolbar %}
2016-04-23 17:00:20 +00:00
<div class="pull-right u_P user">
{% if request.user.is_authenticated %}
<div class="user_loggedin">
<h4>{{ request.user.name }}
<a href="{% url 'logout_glarus' %}"><i class="fa fa-1x fa-sign-out"
aria-hidden="true"></i></a>
</h4>
</div>
{% else %}
<a href="{% url 'login_glarus' %}"><h4>Login</h4></a>
{% endif %}
</div>
2016-03-22 00:21:50 +00:00
<div class="brand">Digital Glarus</div>
<div class="address-bar">The Swiss IT Valley | Schwanden, 8762 GL Switzerland | From 2015.10.13</div>
2016-04-08 23:01:08 +00:00
<div>{% language_chooser "language_chooser.html" %}</div>
2016-03-22 00:21:50 +00:00
<!-- Navigation -->
<nav class="navbar navbar-default" role="navigation">
2016-04-23 17:00:20 +00:00
<div class="container">
2016-03-22 00:21:50 +00:00
<!-- Brand and toggle get grouped for better mobile display -->
2016-04-23 17:00:20 +00:00
2016-03-22 00:21:50 +00:00
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed -->
<a class="navbar-brand" href="index.html">Digital Glarus</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
2016-04-23 17:00:20 +00:00
{# <pre> {% filter force_escape %} {% debug %} {% endfilter %} </pre>#}
{# {% show_menu 0 0 0 1 %}#}
2016-04-09 06:51:20 +00:00
<li>
<a href="{% url 'pages-root' %}">Home</a>
</li>
2016-03-22 00:21:50 +00:00
{% show_menu_below_id "digital-glarus-page" 0 %}
<li>
<a href="{% url 'digitalglarus:supporters' %}">Supporters</a>
</li>
2016-04-09 06:51:20 +00:00
<li>
<a href="{% url 'digitalglarus:blog' %}">Blog</a>
</li>
2016-03-22 00:21:50 +00:00
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
2016-03-22 00:21:50 +00:00
</nav>
<div class="container">
{% block content %} {% endblock %}
</div>
<!-- /.container -->
2016-03-22 00:21:50 +00:00
<footer>
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<p class="text-center">Copyright &copy; <a href="http://www.ungleich.ch">ungleich GmbH
{% now "Y" %}</a></p>
2016-03-22 00:21:50 +00:00
</div>
</div>
</div>
</footer>
2016-03-22 00:21:50 +00:00
<!-- jQuery -->
<script src="{% static 'digitalglarus/js/jquery.js' %}"></script>
2016-03-22 00:21:50 +00:00
<!-- Bootstrap Core JavaScript -->
<script src="{% static 'digitalglarus/js/bootstrap.min.js' %}"></script>
<script src="{% static 'digitalglarus/js/digital.glarus.js' %}"></script>
2016-03-22 00:21:50 +00:00
<!-- Script to Activate the Carousel -->
<script>
$('.carousel').carousel({
2016-03-22 00:21:50 +00:00
interval: 5000 //changes the speed
})
2016-03-22 00:21:50 +00:00
</script>
</body>
</html>