feat: Move files

- Template app is now part of hippie and not demo anymore
- Update includes
- Settings module is now called frame
This commit is contained in:
sthag 2025-06-22 17:40:23 +02:00
parent 0a27169a1b
commit 24efcefab3
9 changed files with 101 additions and 62 deletions

View file

@ -7,7 +7,7 @@ tags:
{% set pageId = "init" %} {% set pageId = "init" %}
{% set pageClass = "html_ui" %} {% set pageClass = "html_ui" %}
{% extends "demo/_app.njk" %} {% extends "hippie/_app.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %} {% import "hippie/macros/_placeholder.njk" as ph %}
{% block title %} {% block title %}
{{ title }} {{ title }}

View file

@ -7,7 +7,7 @@ tags:
{% set pageClass = "h_full_view" %} {% set pageClass = "h_full_view" %}
{% set bodyClass = "body_ui" %} {% set bodyClass = "body_ui" %}
{% extends "demo/_app.njk" %} {% extends "hippie/_app.njk" %}
{% block title %}{{ title }} {% block title %}{{ title }}
{% endblock %} {% endblock %}

View file

@ -6,7 +6,7 @@ tags:
{% set pageClass = "html_ui" %} {% set pageClass = "html_ui" %}
{% set bodyClass = "body_ui" %} {% set bodyClass = "body_ui" %}
{% extends "demo/_app.njk" %} {% extends "hippie/_app.njk" %}
{% block title %}{{ title }} {% block title %}{{ title }}
{% endblock %} {% endblock %}

View file

@ -7,7 +7,7 @@ tags:
{% set pageClass = "html_ui" %} {% set pageClass = "html_ui" %}
{% extends "demo/_app.njk" %} {% extends "hippie/_app.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %} {% import "hippie/macros/_placeholder.njk" as ph %}
{% block title %} {% block title %}

View file

@ -7,7 +7,7 @@ tags:
{% set pageClass = "h_full_view" %} {% set pageClass = "h_full_view" %}
{% set bodyClass = "body_new" %} {% set bodyClass = "body_new" %}
{% extends "demo/_app.njk" %} {% extends "hippie/_app.njk" %}
{% import "hippie/macros/_header.njk" as header %} {% import "hippie/macros/_header.njk" as header %}
{% block title %}{{ title }} {% block title %}{{ title }}

View file

@ -0,0 +1,93 @@
@mixin nav-spacer($name, $size, $orientation) {
.spacer.#{$name} {
width: $size;
}
}
.body_frame {
@extend %flex-column;
@extend .body_ui;
background-color: $color_back_basic;
position: relative;
height: 100%;
header,
aside,
footer {
border: 1px solid transparent;
}
&>header {
background-color: rgba(0, 0, 0, .1);
}
main {
@extend %flex-row;
flex: 1;
aside {
// background-color: rgba(255, 255, 255, .1);
}
section {
&>header,
&>footer {
background-color: transparentize($color_back_io, .5);
&:hover {
background-color: $color_back_io;
}
}
}
section,
section>div {
flex: 1;
}
section {
@extend %flex-column;
gap: 0;
}
}
}
#content {
background-color: $color_back_io;
&>table {
width: 100%;
margin: 0;
border: 0;
tr:hover td {
background-color: $color_highlight_basic;
}
th {
border: 1px solid $color_border_io;
}
td {
border-width: 0 1px;
border-style: solid;
border-color: $color_border_io;
}
}
}
.io {
.spacer {
margin: 0;
border: $border_dotted;
padding: 0;
opacity: .25;
}
@include nav-spacer('a', $space_double, false);
@include nav-spacer('b', $space_small, false);
}

View file

@ -1,54 +0,0 @@
@mixin nav-spacer($name, $size, $orientation) {
.spacer.#{$name} {
width: $size;
}
}
.body_setting {
@extend .body_ui;
background-color: $color_back_basic;
}
#frame {
@extend %flex-column;
position: relative;
height: 100%;
header,
aside,
footer {
border: 1px solid transparent;
}
&>header {
background-color: rgba(0, 0, 0, .1);
}
main {
@extend %flex-row;
flex: 1;
aside {
background-color: rgba(255, 255, 255, .1);
}
section {
flex: 1;
}
}
}
.io {
.spacer {
margin: 0;
border: $border_dotted;
padding: 0;
opacity: .25;
}
@include nav-spacer('a', $space_double, false);
@include nav-spacer('b', $space_small, false);
}

View file

@ -191,7 +191,7 @@ $color_gui_back: $color_dark;
font-family: $family_text_mono; font-family: $family_text_mono;
} }
@import "modules/ui/frame_module";
@import "modules/ui/new_module"; @import "modules/ui/new_module";
@import "modules/ui/settings_module";
@import "modules/ui/drag_module"; @import "modules/ui/drag_module";
@import "modules/ui/form_module"; @import "modules/ui/form_module";

View file

@ -1,4 +1,4 @@
<!-- demo.app.template --> <!-- app.template -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de" class="{{ pageClass }}" id="{{ pageId }}"> <html lang="de" class="{{ pageClass }}" id="{{ pageId }}">
<head> <head>
@ -9,7 +9,7 @@
{%- block title %}{% endblock %}{{ hippie.titlePostfix }}</title> {%- block title %}{% endblock %}{{ hippie.titlePostfix }}</title>
{% block meta %} {% block meta %}
{% include "demo/partials/_meta.njk" %} {% include "hippie/partials/_head_meta.njk" %}
<base href="/"> <base href="/">
{% endblock %} {% endblock %}