Skip to content

Commit

Permalink
pkp#4684 HTML adjustments for default theme mobile nav menu
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Jul 16, 2019
1 parent 173fff9 commit 5d72005
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions templates/frontend/components/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{if !$pageTitleTranslated}{capture assign="pageTitleTranslated"}{translate key=$pageTitle}{/capture}{/if}
{include file="frontend/components/headerHead.tpl"}
<body class="pkp_page_{$requestedPage|escape|default:"index"} pkp_op_{$requestedOp|escape|default:"index"}{if $showingLogo} has_site_logo{/if}" dir="{$currentLocaleLangDir|escape|default:"ltr"}">

{include file="frontend/components/skipLinks.tpl"}

<div class="pkp_structure_page">
Expand All @@ -32,11 +32,10 @@
<header class="pkp_structure_head" id="headerNavigationContainer" role="banner">
<div class="pkp_head_wrapper">

{* Test *}
<div class="wrapper">

<div class="pkp_site_name_wrapper">
<button class="toggle"></button>
<button class="toggle">
<span>Open Menu</span>
</button>
{* Logo or site title. Only use <h1> heading on the homepage.
Otherwise that should go to the page title. *}
{if $requestedOp == 'index'}
Expand Down Expand Up @@ -94,13 +93,11 @@
</nav>
{/if}

</div>
<nav class="pkp_navigation_user_wrapper" id="navigationUserWrapper" aria-label="{translate|escape key="common.navigation.user"}">
{load_menu name="user" id="navigationUser" ulClass="pkp_navigation_user" liClass="profile"}
</nav>

</div><!-- mobile menu -->

</div>

</div><!-- .pkp_head_wrapper -->
</header><!-- .pkp_structure_head -->

Expand Down

0 comments on commit 5d72005

Please sign in to comment.