Introduced a new Livewire component for statistics redirection and added a corresponding route to enhance navigation within the Proxmox extension. This update lays the groundwork for future statistics-related features.
109 lines
5.6 KiB
PHP
109 lines
5.6 KiB
PHP
<?php if (isset($component)) { $__componentOriginal166a02a7c5ef5a9331faf66fa665c256 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal166a02a7c5ef5a9331faf66fa665c256 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament-panels::components.page.index','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament-panels::page'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes([]); ?>
|
|
<?php
|
|
$__assetKey = '367579210-0';
|
|
|
|
ob_start();
|
|
?>
|
|
<script src="https://cdn.jsdelivr.net/npm/ansi_up@5.0.0/ansi_up.min.js"></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 if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(config('app.version') == 'beta'): ?>
|
|
<div>
|
|
<strong>Warning:</strong> You are using a beta version of the application. This can cause problems
|
|
</div>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
|
|
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(config('app.version') == 'beta' && config('settings.latest_commit') != config('app.commit')): ?>
|
|
<div class="flex flex-col gap-1">
|
|
<div>
|
|
<strong>Latest commit:</strong> <?php echo e(config('settings.latest_commit')); ?>
|
|
|
|
</div>
|
|
<div>
|
|
<strong>Your commit:</strong> <?php echo e(config('app.commit')); ?>
|
|
|
|
</div>
|
|
<p>See <a
|
|
href="https://paymenter.org/docs/installation/updating">https://paymenter.org/docs/installation/updating</a>
|
|
on how to update</p>
|
|
|
|
<p class="mt-2">OR try the web updater (This is a beta feature, use at your own risk)</p>
|
|
<div class="mt-2">
|
|
<?php echo e($this->update); ?>
|
|
|
|
</div>
|
|
</div>
|
|
<?php elseif(config('app.version') != config('settings.latest_version') && config('app.version') != 'beta'): ?>
|
|
<div class="flex flex-col gap-1">
|
|
<div>
|
|
<strong>Latest version:</strong> <?php echo e(config('settings.latest_version')); ?>
|
|
|
|
</div>
|
|
<div>
|
|
<strong>Your version:</strong> <?php echo e(config('app.version')); ?>
|
|
|
|
</div>
|
|
<!-- <p>See <a
|
|
href="https://paymenter.org/docs/installation/updating">https://paymenter.org/docs/installation/updating</a>
|
|
on how to update</p>
|
|
|
|
<p class="mt-2">OR try the web updater (This is a beta feature, use at your own risk)</p>
|
|
<div class="mt-2">
|
|
<?php echo e($this->update); ?>
|
|
|
|
</div>--><p>Do not inadvertently run any updates as this is a forked version of the software. Please refer to the documentation or support channels for guidance on updating.
|
|
Updating without proper instructions may lead to unexpected issues. Please refer to <b>Adekabang</b> for support and update instructions.
|
|
</p>
|
|
</div>
|
|
<?php else: ?>
|
|
<div class="flex flex-col gap-1">
|
|
<div>
|
|
<strong>Latest version:</strong> <?php echo e(config('settings.latest_version')); ?>
|
|
|
|
</div>
|
|
<div>
|
|
<strong>Your version:</strong> <?php echo e(config('app.version')); ?>
|
|
|
|
</div>
|
|
<p>You are up to date!</p>
|
|
</div>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
<code>
|
|
<pre id="update-result" class="mt-2" x-data="{ output: '' }" x-html="output" x-on:update-completed.window="output = (new AnsiUp()).ansi_to_html($event.detail[0].output);">
|
|
</pre>
|
|
</code>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal166a02a7c5ef5a9331faf66fa665c256)): ?>
|
|
<?php $attributes = $__attributesOriginal166a02a7c5ef5a9331faf66fa665c256; ?>
|
|
<?php unset($__attributesOriginal166a02a7c5ef5a9331faf66fa665c256); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal166a02a7c5ef5a9331faf66fa665c256)): ?>
|
|
<?php $component = $__componentOriginal166a02a7c5ef5a9331faf66fa665c256; ?>
|
|
<?php unset($__componentOriginal166a02a7c5ef5a9331faf66fa665c256); ?>
|
|
<?php endif; ?><?php /**PATH C:\Users\Owner\Virtnet.bond\resources\views\admin\pages\updates.blade.php ENDPATH**/ ?>
|