phases one of time logged now with log display
This commit is contained in:
@@ -13,24 +13,14 @@
|
||||
$tag = $url ? 'a' : 'button';
|
||||
@endphp
|
||||
|
||||
<li
|
||||
{{
|
||||
$attributes->class([
|
||||
'fi-topbar-item',
|
||||
'fi-active' => $active,
|
||||
])
|
||||
}}
|
||||
>
|
||||
<li {{ $attributes->class(['fi-topbar-item', 'fi-active' => $active]) }}>
|
||||
<{{ $tag }}
|
||||
@if ($url)
|
||||
{{ \Filament\Support\generate_href_html($url, $shouldOpenUrlInNewTab) }}
|
||||
@if ($url) {{ \Filament\Support\generate_href_html($url, $shouldOpenUrlInNewTab) }}
|
||||
@else
|
||||
type="button"
|
||||
@endif
|
||||
class="fi-topbar-item-btn"
|
||||
>
|
||||
type="button" @endif
|
||||
class="fi-topbar-item-btn">
|
||||
@if ($icon || $activeIcon)
|
||||
{{ \Filament\Support\generate_icon_html(($active && $activeIcon) ? $activeIcon : $icon, attributes: (new \Illuminate\View\ComponentAttributeBag)->class(['fi-topbar-item-icon'])) }}
|
||||
{{ \Filament\Support\generate_icon_html($active && $activeIcon ? $activeIcon : $icon, attributes: new \Illuminate\View\ComponentAttributeBag()->class(['fi-topbar-item-icon'])) }}
|
||||
@endif
|
||||
|
||||
<span class="fi-topbar-item-label">
|
||||
@@ -38,17 +28,13 @@
|
||||
</span>
|
||||
|
||||
@if (filled($badge))
|
||||
<x-filament::badge
|
||||
:color="$badgeColor"
|
||||
size="sm"
|
||||
:tooltip="$badgeTooltip"
|
||||
>
|
||||
<x-filament::badge :color="$badgeColor" size="sm" :tooltip="$badgeTooltip">
|
||||
{{ $badge }}
|
||||
</x-filament::badge>
|
||||
@endif
|
||||
|
||||
@if (! $url)
|
||||
{{ \Filament\Support\generate_icon_html(\Filament\Support\Icons\Heroicon::ChevronDown, alias: \Filament\View\PanelsIconAlias::TOPBAR_GROUP_TOGGLE_BUTTON, attributes: (new \Illuminate\View\ComponentAttributeBag)->class(['fi-topbar-group-toggle-icon'])) }}
|
||||
@if (!$url)
|
||||
{{ \Filament\Support\generate_icon_html(\Filament\Support\Icons\Heroicon::ChevronDown, alias: \Filament\View\PanelsIconAlias::TOPBAR_GROUP_TOGGLE_BUTTON, attributes: new \Illuminate\View\ComponentAttributeBag()->class(['fi-topbar-group-toggle-icon'])) }}
|
||||
@endif
|
||||
</{{ $tag }}>
|
||||
</{{ $tag }}>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user