Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Pages #489

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion boulder_base.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,4 +408,10 @@ ucb-people-list-block:
js/ucb-people-list-block.js: {}
css:
theme:
css/block/ucb-people-list-block.css: {}
css/block/ucb-people-list-block.css: {}

ucb-user-profile:
version: 1.x
css:
theme:
css/ucb-user-profile.css: {}
5 changes: 5 additions & 0 deletions css/ucb-user-profile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.ucb-user-profile-documentation {
display: flex;
flex-direction: column;
padding-top: 10px;
}
9 changes: 9 additions & 0 deletions templates/layout/page--user.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
{#{% endif %}#}


{{ attach_library('boulder_base/ucb-user-profile') }}
<div class="layout-container ucb-page-container">
{{ block("page_header", "page.html.twig") }}
<div class="ucb-page-content">
Expand All @@ -62,8 +63,16 @@
<div class="layout-content container">
<div class="ucb-user-profile-container">
{{ page.content }}
<div class="ucb-user-profile-documentation">
<h2>Documentation and Status </h2>
<a class = "ucb-user-profile-doc-link" href = "https://github.com/CuBoulder/Documentation"> Help Documentation </a>
<a class = "ucb-user-profile-doc-link" href = "https://status.pantheon.io"> Pantheon Status </a>
</div>
</div>
</div>{# /.layout-content #}

<div class="layout-content container">
</div>
</main>
</div>
{{ block("page_footer", "page.html.twig") }}
Expand Down