Merge pull request #37583 from nextcloud/fix/37174-place-heading-inside_of_the_main_content
Move heading to the main content
This commit is contained in:
commit
8eb9505294
|
@ -57,9 +57,6 @@ p($theme->getTitle());
|
|||
</div>
|
||||
|
||||
<header role="banner" id="header">
|
||||
<h1 class="hidden-visually" id="page-heading-level-1">
|
||||
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
|
||||
</h1>
|
||||
<div class="header-left">
|
||||
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
|
||||
aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>"
|
||||
|
@ -89,6 +86,9 @@ p($theme->getTitle());
|
|||
</form>
|
||||
|
||||
<main id="content" class="app-<?php p($_['appid']) ?>">
|
||||
<h1 class="hidden-visually" id="page-heading-level-1">
|
||||
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
|
||||
</h1>
|
||||
<?php print_unescaped($_['content']); ?>
|
||||
</main>
|
||||
<div id="profiler-toolbar"></div>
|
||||
|
|
Loading…
Reference in New Issue