stadtratmonitor/app/views/layouts/application.html.slim

40 lines
1.5 KiB
Text
Raw Normal View History

doctype html
html
2016-02-18 08:48:28 +01:00
head
title Stadtratmonitor Leipzig
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'vendor/modernizr'
= csrf_meta_tags
= auto_discovery_link_tag(:rss, params.merge(format: :rss))
2016-02-18 08:48:28 +01:00
body
.row
.small-12.columns
.clearfix
2018-03-31 17:22:42 +02:00
h1[id="title" class="left"] = link_to 'Stadtratmonitor Leipzig', search_path
div(class="right")
div(class="left") = link_to 'Suche', search_path
2018-03-31 19:40:50 +02:00
div(class="left header_indent") = link_to 'Glossar', glossary_url
2018-03-31 17:22:42 +02:00
div(class="right header_indent") = link_to 'Impressum', impressum_url
div(class="clear")
div(class="clear")
2016-02-18 08:48:28 +01:00
- flash.each do |name, msg|
= content_tag :div, msg, class: name
= yield
2018-04-02 11:03:42 +02:00
javascript:
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//localhost:8085/";
_paq.push(['setTrackerUrl', u+'piwik.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+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->