feat: Change frame screens

- Move page title to template
- Remove redundant title blocks
- Base frame pages on correct template
- Base ui index on default template
This commit is contained in:
sthag 2025-10-25 09:34:30 +02:00
parent ac8f55a7c9
commit d9f7ae1ff9
5 changed files with 6 additions and 40 deletions

View file

@ -7,19 +7,8 @@ tags:
{% set pageId = "init" %} {% set pageId = "init" %}
{% set bodyClass = "body_intro" %} {% set bodyClass = "body_intro" %}
{% extends "hippie/_app.njk" %} {% extends "hippie/_app_frame.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %} {% import "hippie/macros/_placeholder.njk" as ph %}
{% block title %}
{{ title }}
{% endblock %}
{% block links %}
<link href="{{ pageBase }}css/ui.css" media="all" rel="stylesheet"/>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block body %} {% block body %}
<div id="loader" class="step op_show"> <div id="loader" class="step op_show">

View file

@ -4,20 +4,10 @@ tags:
- demoExample - demoExample
- index - index
--- ---
{% extends "hippie/_app.njk" %} {% extends "demo/_default.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %} {% import "hippie/macros/_placeholder.njk" as ph %}
{% block title %} {% block title %}{{ title }}{% endblock %}
{{ title }}
{% endblock %}
{% block links %}
<link href="{{ pageBase }}css/ui.css" media="all" rel="stylesheet"/>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block body %} {% block body %}
<div class="sec_main_center"> <div class="sec_main_center">

View file

@ -6,21 +6,9 @@ tags:
{% set pageId = page.fileSlug %} {% set pageId = page.fileSlug %}
{% set bodyClass = "body_new" %} {% set bodyClass = "body_new" %}
{% extends "hippie/_app.njk" %} {% extends "hippie/_app_frame.njk" %}
{% import "hippie/macros/_header.njk" as header %} {% import "hippie/macros/_header.njk" as header %}
{% block title %}{{ title }}
{% endblock %}
{% block links %}
{{ super() }}
<link href="{{ pageBase }}css/ui.css" media="all" rel="stylesheet"/>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block body %} {% block body %}
{{ header.status(hippie, new) }} {{ header.status(hippie, new) }}
<header class="area menu io"> <header class="area menu io">

View file

@ -7,9 +7,6 @@ tags:
{% extends "hippie/_app_frame.njk" %} {% extends "hippie/_app_frame.njk" %}
{% block title %}{{ title }}
{% endblock %}
{% block body %} {% block body %}
{{ io.frameHeader('title-bar') }} {{ io.frameHeader('title-bar') }}
<main class="io"></main> <main class="io"></main>

View file

@ -6,6 +6,8 @@
{{ super() }} {{ super() }}
{% endblock %} {% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block links %} {% block links %}
{{ super() }} {{ super() }}
<link href="/vendor/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet"> <link href="/vendor/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet">