diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-01-13 08:48:13 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-01-14 09:18:43 +0100 |
commit | dff4412251293a85c667749b27d112f49e60e667 (patch) | |
tree | 23df9e6f3910c7ec6058c042da45e6087b97779c | |
parent | 182acb1e299f71623609bde7ebca21f71985befd (diff) | |
download | nextcloud-server-dff4412251293a85c667749b27d112f49e60e667.tar.gz nextcloud-server-dff4412251293a85c667749b27d112f49e60e667.zip |
fix(apps): Add back `<main>` element to dashboard and settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/dashboard/src/DashboardApp.vue | 4 | ||||
-rw-r--r-- | apps/settings/templates/settings/frame.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue index 1208e7b7ded..cafcdfa7fec 100644 --- a/apps/dashboard/src/DashboardApp.vue +++ b/apps/dashboard/src/DashboardApp.vue @@ -3,7 +3,7 @@ - SPDX-License-Identifier: AGPL-3.0-or-later --> <template> - <div id="app-dashboard"> + <main id="app-dashboard"> <h2>{{ greeting.text }}</h2> <ul class="statuses"> <li v-for="status in sortedRegisteredStatus" @@ -127,7 +127,7 @@ </div> </div> </NcModal> - </div> + </main> </template> <script> diff --git a/apps/settings/templates/settings/frame.php b/apps/settings/templates/settings/frame.php index 30d74efdc7d..4a49ab17ae8 100644 --- a/apps/settings/templates/settings/frame.php +++ b/apps/settings/templates/settings/frame.php @@ -66,6 +66,6 @@ script('core', 'setupchecks'); </ul> </nav> </div> -<div id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>> +<main id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>> <?php print_unescaped($_['content']); ?> -</div> +</main> |