diff --git a/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php b/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php index 896946d..92fe167 100644 --- a/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php +++ b/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php @@ -21,6 +21,8 @@ # SPDX-License-Identifier: AGPL-3.0-or-later */ $api_url = "https://" . preg_replace('/^nextcloud\./', 'api.', $_SERVER['HTTP_HOST']); + $profile_url = "https://" . preg_replace('/^nextcloud\./', 'sso.', $_SERVER['HTTP_HOST']) . "/auth/realms/master/account"; + $showsettings = in_array($_['user_uid'], ['admin', 'ddadmin']) ? true : false; // Remove user menu Settings item for non-administrator users if(!array_key_exists('core_apps', $_["settingsnavigation"])){ @@ -72,6 +74,26 @@ $getUserAvatar = static function (int $size) use ($_): string { .newFileMenu > ul:nth-child(1) > li:nth-child(3) { order: 1; } + #header .header-right>div>.menu:after { + display:none; + } + .ddicon { + position: relative; + left: 8px; + top: 9px; + } + .ddiconcontainer { + margin-right: 16px; + width: 36px; + height: 36px; + background-color: #f0f0f0; + position: relative; + border-radius: 5px; + left: -7px; + } + #expanddiv { + padding: .5rem .7rem; + } @@ -137,15 +159,33 @@ $getUserAvatar = static function (int $size) use ($_): string {