diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 19:06:52 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-17 18:30:41 +0100 |
commit | b9906fb21e9f1aadf14e473b8c26a2ec7537fa11 (patch) | |
tree | 3b068eb999c675760d715e78da2d5eee8668cb44 /apps/files/templates | |
parent | 9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55 (diff) | |
download | nextcloud-server-b9906fb21e9f1aadf14e473b8c26a2ec7537fa11.tar.gz nextcloud-server-b9906fb21e9f1aadf14e473b8c26a2ec7537fa11.zip |
feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/appnavigation.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 9da3f764a7f..f316ccbf773 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -9,51 +9,7 @@ $pinned = NavigationListElements($item, $l, $pinned); } ?> - - <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> - <li id="quota" class="pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>"> - <a href="#" class="icon-quota svg quota-navigation-item"> - <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%s used', [$_['usage']])); ?></p> - </a> - </li> - <?php else: ?> - <li id="quota" class="has-tooltip pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>" - title="<?php p($l->t('%s%%', [round($_['usage_relative'])])); ?>"> - <a href="#" class="icon-quota svg quota-navigation-item"> - <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']])); ?></p> - <div class="quota-navigation-item__container"> - <progress value="<?php p($_['usage_relative']); ?>" max="100" class="<?= ($_['usage_relative'] > 80) ? 'warn' : '' ?>"></progress> - </div> - </a> - </li> - <?php endif; ?> </ul> - <div id="app-settings"> - <div id="app-settings-header"> - <button class="settings-button" - data-apps-slide-toggle="#app-settings-content"> - <?php p($l->t('Files settings')); ?> - </button> - </div> - <div id="app-settings-content"> - <div id="files-app-settings"></div> - <div id="files-setting-showhidden"> - <input class="checkbox" id="showhiddenfilesToggle" - checked="checked" type="checkbox"> - <label for="showhiddenfilesToggle"><?php p($l->t('Show hidden files')); ?></label> - </div> - <div id="files-setting-cropimagepreviews"> - <input class="checkbox" id="cropimagepreviewsToggle" - checked="checked" type="checkbox"> - <label for="cropimagepreviewsToggle"><?php p($l->t('Crop image previews')); ?></label> - </div> - <label for="webdavurl"><?php p($l->t('WebDAV')); ?></label> - <input id="webdavurl" type="text" readonly="readonly" - value="<?php p($_['webdav_url']); ?>"/> - <em><a href="<?php echo link_to_docs('user-webdav') ?>" target="_blank" rel="noreferrer noopener"><?php p($l->t('Use this address to access your Files via WebDAV')) ?> ↗</a></em> - </div> - </div> - </div> |