From 361ce0927a396a4ea2b1257f0fec77aee7d3fb14 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Thu, 17 Jul 2025 18:09:24 +0100 Subject: [PATCH] appview/pages: divide base layout using 12-col grid Change-Id: wlppustpmrrqlvsrukntllwsswvqxspx content occupies 8 columns on medium screens and above, and blocks are defined for left and right sides of content, with col spans of 2 each (and contentAfter). Signed-off-by: oppiliappan --- appview/pages/templates/layouts/base.html | 61 ++++++++++++++++--- appview/pages/templates/layouts/repobase.html | 2 +- 2 files changed, 54 insertions(+), 9 deletions(-) diff --git a/appview/pages/templates/layouts/base.html b/appview/pages/templates/layouts/base.html index d8a7b48..657a7ec 100644 --- a/appview/pages/templates/layouts/base.html +++ b/appview/pages/templates/layouts/base.html @@ -15,19 +15,64 @@ {{ block "extrameta" . }}{{ end }} -
-
+
+
+ {{ block "topbarLeft" . }} {{ end }} +
+
{{ block "topbar" . }} - {{ template "layouts/topbar" . }} + {{ template "layouts/topbar" . }} {{ end }}
-
{{ block "content" . }}{{ end }}
-
- {{ block "footer" . }} - {{ template "layouts/footer" . }} - {{ end }} +
+ {{ block "topbarRight" . }} {{ end }} +
+
+ +
+ {{ block "contentLayout" . }} +
+
+ {{ block "contentLeft" . }} {{ end }} +
+
+ {{ block "content" . }}{{ end }} +
+
+ {{ block "contentRight" . }} {{ end }} +
+
+ {{ end }} + + {{ block "contentAfterLayout" . }} +
+
+ {{ block "contentAfterLeft" . }} {{ end }} +
+
+ {{ block "contentAfter" . }}{{ end }} +
+
+ {{ block "contentAfterRight" . }} {{ end }} +
+
+ {{ end }} +
+ +
+
+ {{ block "footerLeft" . }} {{ end }} +
+
+ {{ block "footer" . }} + {{ template "layouts/footer" . }} + {{ end }}
+
+ {{ block "footerRight" . }} {{ end }} +
+ {{ end }} diff --git a/appview/pages/templates/layouts/repobase.html b/appview/pages/templates/layouts/repobase.html index a223495..60099e4 100644 --- a/appview/pages/templates/layouts/repobase.html +++ b/appview/pages/templates/layouts/repobase.html @@ -25,7 +25,7 @@