diff --git a/dashboard/src/Index.vue b/dashboard/src/Index.vue index 6e6df7695..d7f279be1 100644 --- a/dashboard/src/Index.vue +++ b/dashboard/src/Index.vue @@ -184,12 +184,12 @@ onMounted(async () => {
- +
- + -
+
diff --git a/dashboard/src/components/Headerbar.vue b/dashboard/src/components/Headerbar.vue index a865f4abe..795095a4d 100644 --- a/dashboard/src/components/Headerbar.vue +++ b/dashboard/src/components/Headerbar.vue @@ -6,7 +6,7 @@ import { eachLimit } from 'async'; import { Button, Popover } from 'pankow'; import NotificationsModel from '../models/NotificationsModel.js'; -const props = defineProps(['profile', 'subscription']); +const props = defineProps(['config', 'profile', 'subscription']); const notificationModel = NotificationsModel.create(); const notificationButton = useTemplateRef('notificationButton'); @@ -53,7 +53,7 @@ async function refresh() { } onMounted(async () => { - await refresh(); + if (props.profile.isAtLeastAdmin) await refresh(); }); @@ -80,7 +80,14 @@ onMounted(async () => {
+ +
+
{{ $t(subscription.plan.id === 'free' ? 'settings.appstoreAccount.subscriptionSetupAction' : 'settings.appstoreAccount.subscriptionReactivateAction') }} @@ -91,7 +98,7 @@ onMounted(async () => {
+
@@ -99,7 +106,8 @@ onMounted(async () => { .headerbar { display: flex; - padding: 6px; + padding: 10px; + padding-bottom: 6px; align-items: center; gap: 15px; } @@ -116,6 +124,20 @@ onMounted(async () => { border-radius: var(--pankow-border-radius); } +.headerbar-logo img { + margin-right: 10px; + border-radius: var(--pankow-border-radius); +} + +.headerbar-logo, +.headerbar-logo:hover { + display: flex; + align-items: center; + color: var(--pankow-text-color); + text-decoration: none; +/* padding-left: 10px;*/ +} + .notification-item { margin-bottom: 10px; padding-bottom: 10px; diff --git a/dashboard/src/components/Sidebar.vue b/dashboard/src/components/Sidebar.vue index e9a382932..2aa93a9f4 100644 --- a/dashboard/src/components/Sidebar.vue +++ b/dashboard/src/components/Sidebar.vue @@ -117,6 +117,7 @@ onUnmounted(() => { .sidebar-logo img { margin-right: 10px; + border-radius: var(--pankow-border-radius); } .sidebar-logo, diff --git a/dashboard/src/views/AppsView.vue b/dashboard/src/views/AppsView.vue index 88fdefb40..a67feb497 100644 --- a/dashboard/src/views/AppsView.vue +++ b/dashboard/src/views/AppsView.vue @@ -201,7 +201,7 @@ onUnmounted(() => {