ungleich-staticcms/templates/layout-2020.html

167 lines
6.4 KiB
HTML
Raw Normal View History

2019-12-30 22:09:33 +00:00
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2020-11-29 10:26:10 +00:00
<title>{% block title %}Welcome!{% endblock %} - ungleich.ch</title>
2019-12-31 00:39:46 +00:00
<!-- Bootstrap + helpers2 -->
<link rel="stylesheet"
href="/u/static/bootstrap-4.4.1-dist/css/bootstrap.min.css">
2020-04-29 20:53:07 +00:00
<link rel="stylesheet"
href="/u/static/css/ungleich.css">
2019-12-31 00:39:46 +00:00
2020-01-03 18:41:45 +00:00
<link rel="shortcut icon" href="/u/static/images/favicon.ico"/>
2020-01-20 10:09:35 +00:00
<link rel="stylesheet" href="/u/static/generic-header.css"/>
2019-12-30 22:09:33 +00:00
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.ungleich.ch/";
_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);
})();
</script>
<!-- End Matomo Code -->
2020-01-04 13:48:38 +00:00
<!-- Google analytics -->
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62285904-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
2019-12-30 22:09:33 +00:00
</head>
<body>
{% if this.header_background_color %}
{% set nav_style = 'background-color:' + this.header_background_color + ';' %}
{% set nav_classes = this.nav_classes %}
2020-01-20 10:09:35 +00:00
{% else %}
{% set nav_classes = 'navbar-light bg-light' %}
{% endif %}
<nav class="navbar navbar-expand-lg {{ nav_classes }}" style="{{ nav_style }}">
2020-01-25 16:35:08 +00:00
<a class="navbar-brand" href="https://ungleich.ch">
{% 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;'>
2020-01-25 16:35:08 +00:00
{% else %}
<img src="/u/image/ungleich-logo-black.svg" width="100px" alt="ungleich" style='padding-top: 0.5rem; padding-bottom: 0.8rem;'>
2020-01-25 16:35:08 +00:00
{% endif %}
</a>
2019-12-30 22:09:33 +00:00
<button class="navbar-toggler" type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- MENU HERE -->
2019-12-30 22:09:33 +00:00
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
2020-01-28 21:24:49 +00:00
<a class="nav-link" href="/u/products/">PRODUCTS</a>
2019-12-30 22:09:33 +00:00
</li>
<li class="nav-item">
2020-01-28 21:24:49 +00:00
<a class="nav-link" href="/u/projects/">PROJECTS</a>
</li>
2020-01-04 16:56:10 +00:00
<li class="nav-item">
2020-02-26 14:31:33 +00:00
<a class="nav-link" href="/u/offers/">OFFERS</a>
2020-01-04 16:56:10 +00:00
</li>
<li class="nav-item">
<a class="nav-link" href="/blog/">OLD BLOG</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/u/blog/">BLOG</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/u/projects/open-chat/">CHAT
WITH US</a>
</li>
2020-01-20 11:58:36 +00:00
<li class="nav-item">
2020-01-28 21:24:49 +00:00
<a class="nav-link" href="/u/events/">EVENTS</a>
2020-01-20 11:58:36 +00:00
</li>
2020-06-01 13:30:06 +00:00
<li class="nav-item">
<a class="nav-link" href="/u/contact/">CONTACT</a>
</li>
2019-12-30 22:09:33 +00:00
</ul>
<form class="form-inline my-2 my-lg-0"
action="https://search.ungleich.ch/yacysearch.html" method="get">
2021-09-19 14:12:30 +00:00
<input class="form-control p-2 mr-sm-2" type="search"
2019-12-30 22:09:33 +00:00
placeholder="Search" name="query" aria-label="Search">
2021-09-19 14:12:30 +00:00
<button class="btn btn-outline-success my-2 my-sm-0 btn-sm" type="submit">Search</button>
2019-12-30 22:09:33 +00:00
</form>
</div>
</nav>
2020-04-23 18:41:43 +00:00
{# Priority:
If slider given, take slider.
If headline1/2/3 given, take the headline.
Else default to boxed title + subtitle
#}
{% if this.headline1 or this.headline2 or this.headline3 %}
2020-04-29 20:53:07 +00:00
<div class="jumbotron jumbotron-fluid headlinebold" 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 %}
{{this.headline1}}
{% endif %}
{% if this.headline2 %}
<br/>{{this.headline2}}
{% endif %}
{% if this.headline3 %}
<br/>{{this.headline3}}
{% endif %}
</h1>
</div>
</div>
2020-01-20 10:09:35 +00:00
{% else %}
2021-09-19 15:11:31 +00:00
<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 %}
</p>
2019-12-30 22:09:33 +00:00
</div>
2021-09-19 15:11:31 +00:00
<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>
</div>
2020-01-20 10:09:35 +00:00
{% endif %}
2019-12-30 22:09:33 +00:00
2019-12-30 22:54:13 +00:00
{% block content %}{% endblock %}
2019-12-30 22:09:33 +00:00
<hr/>
2019-12-30 22:09:33 +00:00
<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">Copyright
2020-01-02 19:25:31 +00:00
<a class=footer-link href="https://ungleich.ch">ungleich
2020-12-03 13:33:46 +00:00
glarus ag</a>. All prices excluding VAT if not specified
otherwise. Looking for an overview? Checkout the
<a href="/u/sitemap/">sitemap.</a>
</span>
2019-12-30 22:09:33 +00:00
</div>
</footer>
2019-12-31 00:39:46 +00:00
<!-- slow javascript at the end -->
<script type="text/javascript"
src="/u/static/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript"
src="/u/static/popper.js-1.16.0/dist/esm/popper.min.js"></script>
<script type="text/javascript"
src="/u/static/bootstrap-4.4.1-dist/js/bootstrap.min.js"></script>
2019-12-30 22:09:33 +00:00
</body>
</html>