diff --git a/static/icons/logout.svg b/static/icons/logout.svg new file mode 100644 index 00000000..37af95e0 --- /dev/null +++ b/static/icons/logout.svg @@ -0,0 +1 @@ + diff --git a/styles/components/_topbar.scss b/styles/components/_topbar.scss index e56a95fa..2f3750a5 100644 --- a/styles/components/_topbar.scss +++ b/styles/components/_topbar.scss @@ -49,7 +49,13 @@ flex-grow: 1; flex-direction: row; align-items: stretch; - justify-content: space-between; + justify-content: flex-end; + + .topbar__link { + &:first-child { + margin-right: auto; + } + } &.topbar__context--workspace { background-color: $color-primary; diff --git a/templates/header.html b/templates/header.html deleted file mode 100644 index 35feff12..00000000 --- a/templates/header.html +++ /dev/null @@ -1,11 +0,0 @@ -
- -
diff --git a/templates/navigation/topbar.html b/templates/navigation/topbar.html index 814bc31f..f560df6e 100644 --- a/templates/navigation/topbar.html +++ b/templates/navigation/topbar.html @@ -9,13 +9,17 @@
{% set topbar_link = url_for("workspaces.show_workspace", workspace_id=workspace.id) if workspace else url_for("atst.home") %} - {{ ("Workspace " + workspace.name) if workspace else "JEDI" }} + {{ ("Workspace " + workspace.name) if workspace else "JEDI Cloud" }} {{ g.current_user.first_name + " " + g.current_user.last_name }} {{ Icon('avatar', classes='topbar__link-icon') }} + + + {{ Icon('logout', classes='topbar__link-icon') }} +