From 667595efa06cb518be6ee8a6da7e6ab2cf606d75 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 9 Feb 2023 19:48:16 +0100 Subject: [PATCH] UI: Layout update to dashboard and home cards --- .../blender_components/card_modules.tmpl | 2 +- .../blender_components/card_projects.tmpl | 2 +- .../blender_components/card_releases.tmpl | 2 +- templates/blender_components/card_repos.tmpl | 86 +++++++++---------- templates/custom/extra_links.tmpl | 40 +++++++++ templates/home.tmpl | 2 +- templates/user/dashboard/dashboard.tmpl | 70 +++++++++++++-- 7 files changed, 147 insertions(+), 57 deletions(-) diff --git a/templates/blender_components/card_modules.tmpl b/templates/blender_components/card_modules.tmpl index 3dba0c4..91b6142 100644 --- a/templates/blender_components/card_modules.tmpl +++ b/templates/blender_components/card_modules.tmpl @@ -1,4 +1,4 @@ -
+

Modules

diff --git a/templates/blender_components/card_projects.tmpl b/templates/blender_components/card_projects.tmpl index 6c63ea6..32c5b9d 100644 --- a/templates/blender_components/card_projects.tmpl +++ b/templates/blender_components/card_projects.tmpl @@ -1,4 +1,4 @@ -
+

Ongoing Projects

Focused activities to advance Blender.

diff --git a/templates/blender_components/card_releases.tmpl b/templates/blender_components/card_releases.tmpl index 87f0636..321129a 100644 --- a/templates/blender_components/card_releases.tmpl +++ b/templates/blender_components/card_releases.tmpl @@ -1,4 +1,4 @@ -
+

Release Status

Current and upcoming versions

diff --git a/templates/blender_components/card_repos.tmpl b/templates/blender_components/card_repos.tmpl index 248fc05..8b68bfa 100644 --- a/templates/blender_components/card_repos.tmpl +++ b/templates/blender_components/card_repos.tmpl @@ -1,55 +1,49 @@ -
-
-
- - - -
-
- -

Blender

-
-
-

The main repository for Blender's code and all its branches.

-
-
-
+
+
+ + + +
+
+ +

Blender

+
+
+

The main repository for Blender's code and all its branches.

+
+
-
-
- - - -
-
- -

User Manual

-
-
-

The official Blender manual, with references and examples.

-
-
-
+
+ + + +
+
+ +

User Manual

+
+
+

The official Blender manual, with references and examples.

+
+
-
-
- - - -
-
- -

Flamenco

-
-
-

Free and open source render management software.

-
-
-
+
+ + + +
+
+ +

Flamenco

+
+
+

Free and open source render management software.

+
+
diff --git a/templates/custom/extra_links.tmpl b/templates/custom/extra_links.tmpl index bf1dd2c..b6334fd 100644 --- a/templates/custom/extra_links.tmpl +++ b/templates/custom/extra_links.tmpl @@ -1 +1,41 @@ + + {{.locale.Tr "Report a Bug"}} diff --git a/templates/home.tmpl b/templates/home.tmpl index 195815f..69976b9 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -15,7 +15,7 @@

-
+

This portal hosts more than just the Blender sources, bug and patch tracker. Explore the other repositories and get involved!

diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index e3561a6..01fce76 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -2,14 +2,70 @@
{{template "user/dashboard/navbar" .}}
- {{template "blender_components/card_repos" .}} -
-
- {{template "blender_components/card_projects" .}} - {{template "blender_components/card_releases" .}} +
+
+ +
+
+
+
+ + + +
+
+ +

Blender

+
+
+

The main repository for Blender's code and all its branches.

+
+
+
+
+
+
+
+ + + +
+
+ +

User Manual

+
+
+

The official Blender manual, with references and examples.

+
+
+
+
+
+
+
+ + + +
+
+ +

Flamenco

+
+
+

Free and open source render management software.

+
+
+
+
+
+
+
+ + + {{/* template "blender_components/card_modules" . */}}
-
- {{template "blender_components/card_modules" .}} +
+ {{template "blender_components/card_releases" .}}
{{template "base/alert" .}}