From 0033ece2d630e37b1e5804574e2b2277037fd4c5 Mon Sep 17 00:00:00 2001 From: Jacob Korf Date: Tue, 19 Sep 2023 08:37:24 -0600 Subject: [PATCH 1/3] css library for user page --- boulder_base.libraries.yml | 8 +++++++- css/ucb-user-profile.css | 5 +++++ templates/layout/page--user.html.twig | 9 +++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 css/ucb-user-profile.css diff --git a/boulder_base.libraries.yml b/boulder_base.libraries.yml index 9f2f5c23..b87f2f14 100644 --- a/boulder_base.libraries.yml +++ b/boulder_base.libraries.yml @@ -408,4 +408,10 @@ ucb-people-list-block: js/ucb-people-list-block.js: {} css: theme: - css/block/ucb-people-list-block.css: {} \ No newline at end of file + css/block/ucb-people-list-block.css: {} + +ucb-user-profile: + version: 1.x + css: + theme: + css/ucb-user-profile.css: {} \ No newline at end of file diff --git a/css/ucb-user-profile.css b/css/ucb-user-profile.css new file mode 100644 index 00000000..986538ca --- /dev/null +++ b/css/ucb-user-profile.css @@ -0,0 +1,5 @@ +.ucb-user-profile-documentation { + display: flex; + flex-direction: column; + padding-top: 10px; +} \ No newline at end of file diff --git a/templates/layout/page--user.html.twig b/templates/layout/page--user.html.twig index 3b3ec69d..8af2fea0 100755 --- a/templates/layout/page--user.html.twig +++ b/templates/layout/page--user.html.twig @@ -49,6 +49,7 @@ {#{% endif %}#} +{{ attach_library('boulder_base/ucb-user-profile') }}
{{ block("page_header", "page.html.twig") }}
@@ -62,8 +63,16 @@
{# /.layout-content #} + +
+
{{ block("page_footer", "page.html.twig") }} From 976e4faa36313ce8d2bd0802a147eb7f9cee4cd8 Mon Sep 17 00:00:00 2001 From: Jacob Korf Date: Tue, 19 Sep 2023 09:01:23 -0600 Subject: [PATCH 2/3] update links --- templates/layout/page--user.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/layout/page--user.html.twig b/templates/layout/page--user.html.twig index 8af2fea0..3f81a54c 100755 --- a/templates/layout/page--user.html.twig +++ b/templates/layout/page--user.html.twig @@ -65,8 +65,8 @@ {{ page.content }}
{# /.layout-content #} From eaa3529bcc49328f6f5b7c1c1c6c93b3bb701e8f Mon Sep 17 00:00:00 2001 From: Jacob Korf Date: Tue, 26 Sep 2023 10:07:16 -0600 Subject: [PATCH 3/3] updated status link --- templates/layout/page--user.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layout/page--user.html.twig b/templates/layout/page--user.html.twig index 3f81a54c..a1984d1e 100755 --- a/templates/layout/page--user.html.twig +++ b/templates/layout/page--user.html.twig @@ -66,7 +66,7 @@ {# /.layout-content #}