Changes to content

Removed some stale screens.
This commit is contained in:
Stephan 2019-03-31 20:49:00 +02:00
parent 6095870ce3
commit 50a1a6d925
4 changed files with 60 additions and 352 deletions

View file

@ -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"
}
]
}

View file

@ -1,10 +1,10 @@
<!-- nav.main.macro -->
{% macro main(data, active='') %}
<nav>
<ul>
{% for link in data %}
<li{%if active == link.text %} class="active_txt"{% endif %}>{%if active == link.text %}{{ link.text }}{%else%}<a href="{{ link.href }}">{{ link.text }}</a>{% endif %}</li>
{% endfor %}
</ul>
</nav>
{% endmacro %}
<!-- nav.main.macro -->
{% macro main(data, active='') %}
<nav>
<ul>
{% for link in data %}
<li{%if active == link.text %} class="active_txt"{% endif %}>{%if active == link.text %}{{ link.text }}{%else%}<a href="{{ link.href }}">{{ link.text }}</a>{% endif %}</li>
{% endfor %}
</ul>
</nav>
{% endmacro %}