You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
8.3 KiB

<!doctype html>
<html lang="en">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> - {% block title %}Welcome!{% endblock %}</title>
<!-- Bootstrap + helpers2 -->
<link rel="stylesheet"
<link rel="shortcut icon" href="/u/static/images/favicon.ico"/>
<link rel="stylesheet" href="/u/static/generic-header.css"/>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
(function() {
var u="//";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
<!-- End Matomo Code -->
<!-- Google analytics -->
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
ga('create', 'UA-62285904-1', 'auto');
ga('send', 'pageview');
<!-- End Google Analytics -->
object-fit: cover;
.carousel-caption {
right: 5%;
text-align: right;
left: auto;
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
.carousel-item img, video {
height: 280px;
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
.carousel-item img, video {
height: 300px;
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
.carousel-item img, video {
height: 400px;
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
.carousel-item img, video {
height: 450px;
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
.carousel-item img, video {
height: 900px;
{% if this.header_background_color %}
{% set nav_style = 'background-color:' + this.header_background_color + ';' %}
{% set nav_classes = this.nav_classes %}
{% else %}
{% set nav_classes = 'navbar-light bg-light' %}
{% endif %}
<nav class="navbar navbar-expand-lg {{ nav_classes }}" style="{{ nav_style }}">
<a class="navbar-brand" href="">
{% if 'navbar-dark' in nav_classes %}
<img src="/u/image/ungleich-logo-white.svg" width="100px" alt="ungleich" style='padding-top: 0.5rem; padding-bottom: 0.8rem;'>
{% else %}
<img src="/u/image/ungleich-logo-black.svg" width="100px" alt="ungleich" style='padding-top: 0.5rem; padding-bottom: 0.8rem;'>
{% endif %}
<button class="navbar-toggler" type="button"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
<!-- MENU HERE -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="/u/products/">PRODUCTS</a>
<li class="nav-item">
<a class="nav-link" href="/u/projects/">PROJECTS</a>
<li class="nav-item">
<a class="nav-link" href="/u/offers/">OFFERS</a>
<li class="nav-item">
<a class="nav-link" href="/blog/">OLD BLOG</a>
<li class="nav-item">
<a class="nav-link" href="/u/blog/">BLOG</a>
<li class="nav-item">
<a class="nav-link" href="/u/projects/open-chat/">CHAT
<li class="nav-item">
<a class="nav-link" href="/u/events/">EVENTS</a>
<form class="form-inline my-2 my-lg-0"
action="" method="get">
<input class="form-control mr-sm-2" type="search"
placeholder="Search" name="query" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
{# Priority:
If slider given, take slider.
If headline1/2/3 given, take the headline.
Else default to boxed title + subtitle
{% if this.slide %}
<!-- Start of Slider -->
<div id="head-carousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
{% for slide in this.slide.blocks %}
{% if loop.index0 == 0 %}<li data-target="#head-carousel" data-slide-to="0" class="active"></li>{% else %}<li data-target="#head-carousel" data-slide-to="{{ loop.index0 }}"></li>{% endif %}
{% endfor %}
<div class="carousel-inner">
{{ this.slide }}
<div class="d-none d-sm-none d-md-block">
<a class="carousel-control-prev" href="#head-carousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
<a class="carousel-control-next" href="#head-carousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
<!-- End of Slider-->
{% elif this.headline1 or this.headline2 or this.headline3 %}
<div class="jumbotron jumbotron-fluid" style="background-color: {{this.header_background_color}};">
<div class="container-fluid">
<h1 class="display-1 generic-header {{this.header_text_color}}" style="font-weight: bolder;">
{% if this.headline1 %}
{% endif %}
{% if this.headline2 %}
{% endif %}
{% if this.headline3 %}
{% endif %}
{% else %}
<div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
<div class="col-md-5 p-lg-5 mx-auto my-5">
<h1 class="display-4 font-weight-normal">{{ self.title() }}</h1>
<p class="lead font-weight-normal">
{% block subtitle %}{% endblock %}
<div class="product-device shadow-sm d-none d-md-block"></div>
<div class="product-device product-device-2 shadow-sm d-none d-md-block"></div>
{% endif %}
{% block content %}{% endblock %}
<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">Copyright
<a class=footer-link href="">ungleich
glarus ag</a>. All prices excluding VAT if not specified otherwise.</span>
<!-- slow javascript at the end -->
<script type="text/javascript"
<script type="text/javascript"
<script type="text/javascript"
<script type="text/javascript">
$("div.carousel-item")[0].classList += " active";