Added card and portal modules

This commit is contained in:
Stephan Hagedorn 2021-03-14 21:47:11 +01:00
parent 32215de810
commit f7dd7c93e3
9 changed files with 365 additions and 65 deletions

View file

@ -1,4 +1,4 @@
<!-- index.njk -->
<!-- card.page -->
{% set pageBase = "../" %}
{% set pageId = "card" %}
{% set pageClass = "html_card" %}

View file

@ -13,6 +13,6 @@
{% block main %}
<div id="root" class="overflow">
<h1 class="txt_hero txt_center txt_gradient">HIPPIE</h1>
<h1 class="txt_hero txt_center txt_gradient">HIPPIE</h1>
</div>
{% endblock %}

View file

@ -0,0 +1,37 @@
<!-- portal.page -->
{% set pageBase = "../" %}
{% set pageId = "index" %}
{% set bodyClass = "body_portal" %}
{% extends "demo/_default.njk" %}
{% import "demo/macros/_gates.njk" as gate %}
{% block title %}Portal{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block body %}
<div class="portal">
{{ gate.list(
'Tor mit Symbol und Liste',
'../demo', {
src: '/art/demo/flag_websafe_128x80.gif',
alt: 'Flag of Interaktionsweise'
}, [
{
name: '1',
href: 'http://domain.tld',
img: '../art/bullet.gif'
}, {
name: 'Zwei',
href: 'http://domain.tld',
img: '../art/bullet.gif'
}
]
) }}
{{ gate.simple('Tor', '../demo') }}
</div>
{% endblock %}