add table + resizablejq

This commit is contained in:
2018-07-03 17:44:53 +02:00
parent 8f1bbd2135
commit 911b7e78be
19 changed files with 1579 additions and 262 deletions
+5 -5
View File
@@ -47,9 +47,9 @@
{% endblock %} #}
{% block body %}
{% for module in page.collection() if module.template != 'modular/hero' %}
<div id="{{ _self.pageLinkName(module.menu) }}">
{{ module.content }}
</div>
{% endfor %}
{% for module in page.collection if module.template != 'modular/hero' %}
<div id="{{ _self.pageLinkName(module.menu) }}">
{{ module.content }}
</div>
{% endfor %}
{% endblock %}
@@ -1,6 +1,6 @@
{% set grid_size = theme_var('grid-size') %}
{% set image = page.media.images|first %}
<section id="modular-text" class="section {{ page.header.class}} bg-gray">
{{ content }}
</section>
<section id="modular-text" class="{{ page.header.class}}">
{{ content }}
</section>
@@ -7,19 +7,19 @@
{% block head %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include 'partials/metadata.html.twig' %}
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
<link rel="canonical" href="{{ page.url(true, true) }}" />
{% block stylesheets %}
{% do assets.addCss('theme://css-compiled/template.css') %}
{% do assets.addCss('theme://css/jquery-ui.css') %}
{% do assets.addCss('theme://css-compiled/template.css') %}
{% endblock %}
{{ assets.css() }}
{% block javascripts %}
@@ -27,32 +27,26 @@
{% do assets.addJs('theme://js/jquery-ui.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
{% endblock %}
{{ assets.js() }}
{% endblock head %}
</head>
<body id="top" class="{% block body_classes %}{{ body_classes }}{% endblock %}">
<div id="page-wrapper">
<body id="top">
<div id="page">
{% block header %}
<section id="header" class="section">
<section class="container {{ grid_size }}">
<nav class="navbar">
<section class="navbar-section logo">
<a href="{{ home_url }}" class="navbar-brand mr-10">{% include('@images/grav-logo.svg') %}</a>
</section>
<a href="{{ home_url }}" class="navbar-brand mr-10">{{site.title}}</a>
<section class="navbar-section">
<nav class="dropmenu animated">
{% block header_navigation %}
{% include 'partials/navigation.html.twig' %}
{% endblock %}
<nav>
{% block header_navigation %}
{% include 'partials/navigation.html.twig' %}
{% endblock %}
</nav>
{% if config.plugins.login.enabled and grav.user.username %}
<span class="login-status-wrapper"><i class="fa fa-user"></i> {% include 'partials/login-status.html.twig' %}</span>
{% endif %}
</section>
</nav>
</section>
</section>