231 lines
7.4 KiB
PHP
Executable File
231 lines
7.4 KiB
PHP
Executable File
<div class="hud-shell" x-data="hudClock()" x-init="start()">
|
|
|
|
<header class="hud-topbar">
|
|
<div class="flex items-center gap-3">
|
|
<div class="w-8 h-8 rounded-lg bg-primary/20 border border-primary/40 flex items-center justify-center">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-primary" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3l1.5 4.5h4.5l-3.6 2.7 1.4 4.5L12 12l-3.8 2.7 1.4-4.5L6 7.5h4.5z"/>
|
|
</svg>
|
|
</div>
|
|
<div class="flex flex-col">
|
|
<span class="text-sm font-light tracking-[0.4em] text-white pl-[0.4em]">F O X</span>
|
|
<span class="text-[10px] text-white/40 -mt-0.5 flex items-center gap-1.5">
|
|
<span class="w-1 h-1 rounded-full bg-emerald-400 shadow-[0_0_4px_rgb(52_211_153)]"></span>
|
|
System Online
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="hidden md:flex items-center gap-6 font-mono text-white/80">
|
|
<div class="flex flex-col items-center leading-tight">
|
|
<span class="text-2xl tabular-nums" x-text="time">--:--:--</span>
|
|
<span class="text-[10px] text-white/40 uppercase tracking-widest" x-text="date"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-3 text-white/80">
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($weather['temperature'] !== null): ?>
|
|
<span class="font-mono text-sm"><?php echo e(number_format($weather['temperature'], 1, ',', '')); ?> °C</span>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
<span class="text-xs uppercase tracking-widest text-white/40"><?php echo e($weather['city']); ?></span>
|
|
</div>
|
|
</header>
|
|
|
|
|
|
<main class="hud-main">
|
|
<aside class="hud-col-left">
|
|
<?php
|
|
$__split = function ($name, $params = []) {
|
|
return [$name, $params];
|
|
};
|
|
[$__name, $__params] = $__split('widgets.system-stats', []);
|
|
|
|
$__key = null;
|
|
|
|
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2437216617-0', $__key);
|
|
|
|
$__html = app('livewire')->mount($__name, $__params, $__key);
|
|
|
|
echo $__html;
|
|
|
|
unset($__html);
|
|
unset($__key);
|
|
unset($__name);
|
|
unset($__params);
|
|
unset($__split);
|
|
if (isset($__slots)) unset($__slots);
|
|
?>
|
|
<?php
|
|
$__split = function ($name, $params = []) {
|
|
return [$name, $params];
|
|
};
|
|
[$__name, $__params] = $__split('widgets.uptime', []);
|
|
|
|
$__key = null;
|
|
|
|
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2437216617-1', $__key);
|
|
|
|
$__html = app('livewire')->mount($__name, $__params, $__key);
|
|
|
|
echo $__html;
|
|
|
|
unset($__html);
|
|
unset($__key);
|
|
unset($__name);
|
|
unset($__params);
|
|
unset($__split);
|
|
if (isset($__slots)) unset($__slots);
|
|
?>
|
|
<?php
|
|
$__split = function ($name, $params = []) {
|
|
return [$name, $params];
|
|
};
|
|
[$__name, $__params] = $__split('widgets.weather', []);
|
|
|
|
$__key = null;
|
|
|
|
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2437216617-2', $__key);
|
|
|
|
$__html = app('livewire')->mount($__name, $__params, $__key);
|
|
|
|
echo $__html;
|
|
|
|
unset($__html);
|
|
unset($__key);
|
|
unset($__name);
|
|
unset($__params);
|
|
unset($__split);
|
|
if (isset($__slots)) unset($__slots);
|
|
?>
|
|
<?php
|
|
$__split = function ($name, $params = []) {
|
|
return [$name, $params];
|
|
};
|
|
[$__name, $__params] = $__split('widgets.screen-preview', []);
|
|
|
|
$__key = null;
|
|
|
|
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2437216617-3', $__key);
|
|
|
|
$__html = app('livewire')->mount($__name, $__params, $__key);
|
|
|
|
echo $__html;
|
|
|
|
unset($__html);
|
|
unset($__key);
|
|
unset($__name);
|
|
unset($__params);
|
|
unset($__split);
|
|
if (isset($__slots)) unset($__slots);
|
|
?>
|
|
</aside>
|
|
|
|
<section class="hud-col-center">
|
|
<?php
|
|
$__split = function ($name, $params = []) {
|
|
return [$name, $params];
|
|
};
|
|
[$__name, $__params] = $__split('widgets.fox-avatar', []);
|
|
|
|
$__key = null;
|
|
|
|
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2437216617-4', $__key);
|
|
|
|
$__html = app('livewire')->mount($__name, $__params, $__key);
|
|
|
|
echo $__html;
|
|
|
|
unset($__html);
|
|
unset($__key);
|
|
unset($__name);
|
|
unset($__params);
|
|
unset($__split);
|
|
if (isset($__slots)) unset($__slots);
|
|
?>
|
|
</section>
|
|
|
|
<aside class="hud-col-right">
|
|
<div class="glass overflow-hidden h-full flex flex-col">
|
|
<div class="px-5 py-3 border-b border-white/10 flex items-center justify-between flex-shrink-0">
|
|
<h3 class="text-xs uppercase tracking-widest text-white/50 font-medium">Conversation</h3>
|
|
<a href="/chat" class="text-[10px] text-white/40 hover:text-primary transition uppercase tracking-widest">
|
|
Vollbild →
|
|
</a>
|
|
</div>
|
|
<div class="flex-1 overflow-hidden">
|
|
<?php
|
|
$__split = function ($name, $params = []) {
|
|
return [$name, $params];
|
|
};
|
|
[$__name, $__params] = $__split('chat', []);
|
|
|
|
$__key = null;
|
|
|
|
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2437216617-5', $__key);
|
|
|
|
$__html = app('livewire')->mount($__name, $__params, $__key);
|
|
|
|
echo $__html;
|
|
|
|
unset($__html);
|
|
unset($__key);
|
|
unset($__name);
|
|
unset($__params);
|
|
unset($__split);
|
|
if (isset($__slots)) unset($__slots);
|
|
?>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
</main>
|
|
</div>
|
|
|
|
<?php
|
|
$__assetKey = '2437216617-0';
|
|
|
|
ob_start();
|
|
?>
|
|
<script>
|
|
document.addEventListener('alpine:init', () => {
|
|
Alpine.data('hudClock', () => ({
|
|
time: '',
|
|
date: '',
|
|
interval: null,
|
|
|
|
start() {
|
|
this.tick();
|
|
this.interval = setInterval(() => this.tick(), 1000);
|
|
},
|
|
|
|
tick() {
|
|
const now = new Date();
|
|
this.time = now.toLocaleTimeString('de-AT', { hour12: false });
|
|
this.date = now.toLocaleDateString('de-AT', {
|
|
weekday: 'short', day: '2-digit', month: 'short', year: 'numeric'
|
|
});
|
|
},
|
|
|
|
destroy() {
|
|
if (this.interval) clearInterval(this.interval);
|
|
},
|
|
}));
|
|
});
|
|
</script>
|
|
<?php
|
|
$__output = ob_get_clean();
|
|
|
|
// If the asset has already been loaded anywhere during this request, skip it...
|
|
if (in_array($__assetKey, \Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys)) {
|
|
// Skip it...
|
|
} else {
|
|
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys[] = $__assetKey;
|
|
|
|
// Check if we're in a Livewire component or not and store the asset accordingly...
|
|
if (isset($this)) {
|
|
\Livewire\store($this)->push('assets', $__output, $__assetKey);
|
|
} else {
|
|
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$nonLivewireAssets[$__assetKey] = $__output;
|
|
}
|
|
}
|
|
?>
|
|
<?php /**PATH /var/www/resources/views/livewire/dashboard.blade.php ENDPATH**/ ?>
|