Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Fix formatting

Fix formatting
  • Loading branch information
CamLamb committed May 14, 2024
1 parent 39c0701 commit 8ccb9f9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 48 deletions.
78 changes: 39 additions & 39 deletions src/core/templates/includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,46 @@
<a href="/" class="govuk-header__link govuk-header__link--homepage">
<span class="govuk-header__logotype govuk-header__logotype--ws">
<img aria-hidden="true"
src="{% webpack_static 'dbt-logo.png' %}"
srcset="{% webpack_static '[email protected]' %} 2x" {# /PS-IGNORE #}
alt="Department for Business & Trade logo" />
<span class="govuk-visually-hidden">Department for Business & Trade</span>
</span>
</a>
</div>
<div class="govuk-header__content gov-grid-column-two-thirds">
<a href="/"
class="govuk-header__link govuk-header__link--ws govuk-header__service-name govuk-header__service-name--ws">
Digital Workspace
</a>
</div>
{% include 'includes/profile_panel.html' %}
<button type="button"
class="govuk-header__menu-button govuk-header__menu-button--ws govuk-js-header-toggle"
aria-controls="navigation"
aria-label="Show or hide Top Level Navigation"
hidden>Menu</button>
src="{% webpack_static 'dbt-logo.png' %}"
srcset="{% webpack_static '[email protected]' %} 2x"
alt="Department for Business & Trade logo" />
<span class="govuk-visually-hidden">Department for Business & Trade</span>
</span>
</a>
</div>
<div class="govuk-header__content gov-grid-column-two-thirds">
<a href="/"
class="govuk-header__link govuk-header__link--ws govuk-header__service-name govuk-header__service-name--ws">
Digital Workspace
</a>
</div>
{% include 'includes/profile_panel.html' %}
<button type="button"
class="govuk-header__menu-button govuk-header__menu-button--ws govuk-js-header-toggle"
aria-controls="navigation"
aria-label="Show or hide Top Level Navigation"
hidden>Menu</button>
</div>

<div class="nav-and-profile-bar">
<div class="govuk-width-container flex">
{% if USER_IS_AUTHENTICATED %}
<nav aria-label="Top Level Navigation" class="govuk-header__navigation">
{% main_menu max_levels=1 template="menus/main_menu.html" apply_active_classes=True %}
</nav>
<div class="site-search">
{% if not search_url %}
{% url 'search:all' as search_url %}
{% endif %}
{% include 'search/partials/search_form.html' with placeholder="Search pages and people" search_url=search_url %}
</div>
{% endif %}
</div>
<div class="nav-and-profile-bar">
<div class="govuk-width-container flex">
{% if USER_IS_AUTHENTICATED %}
<nav aria-label="Top Level Navigation" class="govuk-header__navigation">
{% main_menu max_levels=1 template="menus/main_menu.html" apply_active_classes=True %}
</nav>
<div class="site-search">
{% if not search_url %}
{% url 'search:all' as search_url %}
{% endif %}
{% include 'search/partials/search_form.html' with placeholder="Search pages and people" search_url=search_url %}
</div>
{% endif %}
</div>
</header>
{% if FEATURE_FLAGS.new_homepage %}
{% else %}
{% if USER_IS_AUTHENTICATED %}
{% site_alert %}
{% endif %}
</div>
</header>
{% if FEATURE_FLAGS.new_homepage %}
{% else %}
{% if USER_IS_AUTHENTICATED %}
{% site_alert %}
{% endif %}
{% endif %}
18 changes: 9 additions & 9 deletions src/core/templates/wagtailadmin/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
{% load render_bundle webpack_static from webpack_loader %}
{% block branding_logo %}
<img src="{% webpack_static 'dbt-logo-white.png' %}"
srcset="{% webpack_static '[email protected]' %} 2x" {# /PS-IGNORE #}
alt="Department for Business & Trade logo"
class="wide">
<span class="wide">Digital Workspace CMS</span>
<img src="{% webpack_static 'dbt-mark-white.png' %}"
alt="Department for Business & Trade logomark"
class="slim">
<span class="slim">CMS</span>
{% endblock branding_logo %}
srcset="{% webpack_static '[email protected]' %} 2x" {# /PS-IGNORE #}
alt="Department for Business & Trade logo"
class="wide">
<span class="wide">Digital Workspace CMS</span>
<img src="{% webpack_static 'dbt-mark-white.png' %}"
alt="Department for Business & Trade logomark"
class="slim">
<span class="slim">CMS</span>
{% endblock branding_logo %}

0 comments on commit 8ccb9f9

Please sign in to comment.