diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-12-01 14:34:23 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:45:41 +0100 |
commit | 887c9e05de88f81ed6f0cb88bd185c05b1a22076 (patch) | |
tree | 5fdd405133148fdba12ff6ea6a8cd9e4f27007d2 /apps/files/templates | |
parent | 36b6a7c77199d17c0147fc27cd0cc54a2b7d5020 (diff) | |
download | nextcloud-server-887c9e05de88f81ed6f0cb88bd185c05b1a22076.tar.gz nextcloud-server-887c9e05de88f81ed6f0cb88bd185c05b1a22076.zip |
Port Files navigation to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/appnavigation.php | 3 | ||||
-rw-r--r-- | apps/files/templates/index.php | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 5684c3d0d32..9da3f764a7f 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -1,4 +1,5 @@ -<div id="app-navigation" role="navigation"> +<div id="app-navigation-files" role="navigation"></div> +<div class="hidden"> <ul class="with-icon" tabindex="0"> <?php diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 016e6f32c70..80eca84ed65 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -8,6 +8,10 @@ <label id="view-toggle" for="showgridview" tabindex="0" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" title="<?php p($_['showgridview'] ? $l->t('Show list view') : $l->t('Show grid view'))?>"></label> + <!-- New files vue container --> + <div id="app-content-vue" class="hidden"></div> + + <!-- Legacy views --> <?php foreach ($_['appContents'] as $content) { ?> <div id="app-content-<?php p($content['id']) ?>" class="hidden viewcontainer"> <?php print_unescaped($content['content']) ?> |