Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="flex items-center py-4 border-y border-gray-200"
class="flex items-center py-4 border-y border-gray-200 justify-between"
>
<!-- period filters -->
<app-widget-period
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/modules/dashboard/pages/dashboard-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@
<div class="flex justify-center">
<div class="home-content px-8">
<div
class="py-8 -mx-4 px-4 sticky -top-6 bg-gray-50 z-20"
class="py-8 -mx-4 px-4 sticky -top-6 bg-gray-50 z-20 flex items-center justify-between"
>
<h4
class="leading-8 font-semibold transition-all duration-100"
:class="scrolled ? 'text-base' : 'text-xl'"
>
{{ currentTenant?.name }} team overview
</h4>
<div class=" text-sm flex items-center gap-2">
<i class="text-gray-500 ri-time-line text-base" />
<span class="text-gray-500">Data on this page is refreshed every 15 min.</span>
</div>
</div>

<div
Expand Down
22 changes: 14 additions & 8 deletions frontend/src/modules/report/pages/report-view-page-public.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,26 @@
<div
class="max-w-5xl flex flex-grow mx-auto items-center justify-between px-6 lg:px-8"
>
<div class="mb-6 mt-4">
<div class="mb-6 mt-4 w-full">
<div
v-if="currentTenant.name"
class="font-medium text-brand-500 text-sm mb-2"
>
{{ currentTenant.name }}
</div>
<h1 class="text-lg font-semibold">
{{
report.isTemplate
? currentTemplate.name
: report.name
}}
</h1>
<div class="flex items-center justify-between">
<h1 class="text-lg font-semibold">
{{
report.isTemplate
? currentTemplate.name
: report.name
}}
</h1>
<div class=" text-sm flex items-center gap-2">
<i class="text-gray-500 ri-time-line text-base" />
<span class="text-gray-500">Data on this page is refreshed every 15 min.</span>
</div>
</div>
</div>

<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
{{ currentTemplate.name }}
</h1>
<div class="flex items-center gap-9">
<div class=" text-sm flex items-center gap-2">
<i class="text-gray-500 ri-time-line text-base" />
<span class="text-gray-500">Data on this page is refreshed every 15 min.</span>
</div>
<div
v-if="report.public"
class="flex items-center gap-2"
Expand Down