From 50a1a6d9257b272e076c2e3b5bac39c7d17b2793 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 31 Mar 2019 20:49:00 +0200 Subject: [PATCH] Changes to content Removed some stale screens. --- source/screens/demo/os.njk | 145 ------------------ source/screens/demo/tests.njk | 139 ----------------- source/templates/demo/data.json | 108 ++++++------- .../{demo => hippie}/macros/_nav.njk | 20 +-- 4 files changed, 60 insertions(+), 352 deletions(-) delete mode 100644 source/screens/demo/os.njk delete mode 100644 source/screens/demo/tests.njk rename source/templates/{demo => hippie}/macros/_nav.njk (96%) diff --git a/source/screens/demo/os.njk b/source/screens/demo/os.njk deleted file mode 100644 index 43baa82..0000000 --- a/source/screens/demo/os.njk +++ /dev/null @@ -1,145 +0,0 @@ - -{% set pageId = "os" %} - -{% extends "demo/_extended.njk" %} - -{% block title %}OS{% endblock %} -{% block head %} -{{ super() }} -{% endblock %} - -{% block main %} -
-
- - - - - - -
-
- -
- -
-
-
-
-

Dateiname 1

-

Auszeichnung 1

-
-
-
-
-
-

Dateiname 2

-

Auszeichnung 2

-
-
-
-
-
-

Dateiname 3

-

Auszeichnung 3

-
-
-
-
-
-

Dateiname 4

-

Auszeichnung 4

-
-
-
-
- - - - - - - - - - - -
Objektname 1Objektpfad 1
Objektname 2Objektpfad 2
-
-
-

Status

-
-
-
-
-{% endblock %} - -{% block script %} -{{ super() }} - - - -{% endblock %} diff --git a/source/screens/demo/tests.njk b/source/screens/demo/tests.njk deleted file mode 100644 index d2da875..0000000 --- a/source/screens/demo/tests.njk +++ /dev/null @@ -1,139 +0,0 @@ - -{% set pageId = "tests" %} -{% set pageClass = "h_full_view" %} - -{% extends "demo/_default.njk" %} -{% import "demo/macros/_nav.njk" as nav %} - -{% block title %}Tests{% endblock %} -{% block head %} -{{ super() }} - -{% endblock %} - -{% block body %} -

Caps Lock

-
- - -
- Caps Lock is ON. -
-
- -

Navigation

-{{ nav.main(data.demoadditionallinks, 'Tests') }} - -
-

Number Game

-

-

-

- - - -
-{% endblock %} - -{% block script %} -{{ super() }} - - -{% endblock %} diff --git a/source/templates/demo/data.json b/source/templates/demo/data.json index 9301bbd..4b968fb 100644 --- a/source/templates/demo/data.json +++ b/source/templates/demo/data.json @@ -1,58 +1,50 @@ -{ - "demoadditionallinks": [ - { - "href": "/demo.html", - "text": "Index" - }, - { - "href": "/demo/intro.html", - "text": "Intro" - }, - { - "href": "/demo/elements.html", - "text": "Elements" - }, - { - "href": "/demo/examples.html", - "text": "Examples" - }, - { - "href": "/demo/tests.html", - "text": "Tests" - } - ], - "demolinks": [ - { - "href": "demo/blank.html", - "text": "Blank" - }, - { - "href": "demo/maintenance.html", - "text": "Maintenance" - }, - { - "href": "demo/error/304.html", - "text": "304" - }, - { - "href": "demo/error/404.html", - "text": "404" - }, - { - "href": "demo/error/403.html", - "text": "403" - }, - { - "href": "demo/error/400.html", - "text": "400" - }, - { - "href": "demo/error/500.html", - "text": "500" - }, - { - "href": "demo/os.html", - "text": "OS" - } - ] -} +{ + "demoadditionallinks": [ + { + "href": "/demo.html", + "text": "Index" + }, + { + "href": "/demo/intro.html", + "text": "Intro" + }, + { + "href": "/demo/elements.html", + "text": "Elements" + }, + { + "href": "/demo/examples.html", + "text": "Examples" + } + ], + "demolinks": [ + { + "href": "demo/blank.html", + "text": "Blank" + }, + { + "href": "demo/maintenance.html", + "text": "Maintenance" + }, + { + "href": "demo/error/304.html", + "text": "304" + }, + { + "href": "demo/error/404.html", + "text": "404" + }, + { + "href": "demo/error/403.html", + "text": "403" + }, + { + "href": "demo/error/400.html", + "text": "400" + }, + { + "href": "demo/error/500.html", + "text": "500" + } + ] +} diff --git a/source/templates/demo/macros/_nav.njk b/source/templates/hippie/macros/_nav.njk similarity index 96% rename from source/templates/demo/macros/_nav.njk rename to source/templates/hippie/macros/_nav.njk index cec0068..0178835 100644 --- a/source/templates/demo/macros/_nav.njk +++ b/source/templates/hippie/macros/_nav.njk @@ -1,10 +1,10 @@ - -{% macro main(data, active='') %} - -{% endmacro %} + +{% macro main(data, active='') %} + +{% endmacro %}