diff --git a/opentech/apply/dashboard/templates/dashboard/dashboard.html b/opentech/apply/dashboard/templates/dashboard/dashboard.html index 73fead516f52b250612d4e7706efe9dee2e00f93..a1e56450f741d3740cc0454fcda688144f5ebe06 100644 --- a/opentech/apply/dashboard/templates/dashboard/dashboard.html +++ b/opentech/apply/dashboard/templates/dashboard/dashboard.html @@ -9,8 +9,9 @@ {% block page_header %} <h1 class="gamma heading heading--no-margin heading--bold">Dashboard</h1> {% endblock %} - <a href="{% url 'wagtailadmin_home' %}" class="button button--primary {{ class }}}"> + <a href="{% url 'wagtailadmin_home' %}" class="button button--primary button--arrow-pixels-white"> Apply admin + <svg><use xlink:href="#arrow-head-pixels--solid"></use></svg> </a> </div> </div> diff --git a/opentech/apply/users/templates/users/account.html b/opentech/apply/users/templates/users/account.html index 6c854cbe158f56f89e25efe8a7dfd37ef5e65d37..6156b72af9b21fcf4911d151201ffd5c8a16cf0b 100644 --- a/opentech/apply/users/templates/users/account.html +++ b/opentech/apply/users/templates/users/account.html @@ -5,8 +5,12 @@ {% block content %} <div class="admin-bar"> - <div class="admin-bar__inner wrapper--search"> + <div class="admin-bar__inner admin-bar__inner--with-button"> <h3 class="admin-bar__heading">Welcome {{ user }}</h3> + <a href="{% url 'dashboard:dashboard' %}" class="button button--primary button--arrow-pixels-white"> + Go to dashboard + <svg><use xlink:href="#arrow-head-pixels--solid"></use></svg> + </a> </div> </div> diff --git a/opentech/static_src/src/sass/apply/components/_button.scss b/opentech/static_src/src/sass/apply/components/_button.scss index 2af3e6fb2549cb31143ac360967636833ee55bd1..dee9b0ebcad1b84551ac64c352fd2ed15a691746 100644 --- a/opentech/static_src/src/sass/apply/components/_button.scss +++ b/opentech/static_src/src/sass/apply/components/_button.scss @@ -196,4 +196,16 @@ border: 1px solid $color--light-blue; } } + + &--arrow-pixels-white { + display: flex; + align-items: center; + + svg { + width: 10px; + height: 14px; + margin-left: 10px; + fill: $color--white; + } + } }