mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +02:00
chore: update CI to v4.6.3 + all php and js dependencies
This commit is contained in:
parent
96b2df15b0
commit
346c00e7b5
206 changed files with 6239 additions and 5336 deletions
|
|
@ -5,16 +5,16 @@ use Modules\Plugins\Core\PluginStatus;
|
|||
?>
|
||||
<article class="flex flex-col p-4 rounded-xl relative bg-elevated border-3 <?= $plugin->getStatus() === PluginStatus::ACTIVE ? 'border-accent-base' : 'border-subtle' ?>">
|
||||
<div class="self-end -mb-6">
|
||||
<?php if($plugin->getStatus() === PluginStatus::ACTIVE): ?>
|
||||
<?php if ($plugin->getStatus() === PluginStatus::ACTIVE): ?>
|
||||
<?php // @icon("check-fill")?>
|
||||
<x-Pill variant="success" icon="check-fill" class="lowercase" size="small"><?= lang('Plugins.active') ?></x-Pill>
|
||||
<?php elseif($plugin->getStatus() === PluginStatus::INACTIVE): ?>
|
||||
<?php elseif ($plugin->getStatus() === PluginStatus::INACTIVE): ?>
|
||||
<?php // @icon("close-fill")?>
|
||||
<x-Pill variant="default" icon="close-fill" class="lowercase" size="small"><?= lang('Plugins.inactive') ?></x-Pill>
|
||||
<?php elseif($plugin->getStatus() === PluginStatus::INVALID): ?>
|
||||
<?php elseif ($plugin->getStatus() === PluginStatus::INVALID): ?>
|
||||
<?php // @icon("alert-fill")?>
|
||||
<x-Pill variant="warning" icon="alert-fill" class="lowercase" size="small"><?= lang('Plugins.invalid') ?></x-Pill>
|
||||
<?php elseif($plugin->getStatus() === PluginStatus::INCOMPATIBLE): ?>
|
||||
<?php elseif ($plugin->getStatus() === PluginStatus::INCOMPATIBLE): ?>
|
||||
<?php // @icon("alert-fill")?>
|
||||
<x-Pill variant="danger" icon="alert-fill" class="lowercase" size="small" hint="<?= lang('Plugins.incompatible_hint', [
|
||||
'minCastopodVersion' => $plugin->getMinCastopodVersion(),
|
||||
|
|
@ -45,12 +45,12 @@ use Modules\Plugins\Core\PluginStatus;
|
|||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="flex gap-x-2">
|
||||
<?php if($plugin->getStatus() === PluginStatus::ACTIVE): ?>
|
||||
<?php if ($plugin->getStatus() === PluginStatus::ACTIVE): ?>
|
||||
<form class="flex justify-end" method="POST" action="<?= route_to('plugins-deactivate', $plugin->getVendor(), $plugin->getPackage()) ?>">
|
||||
<?= csrf_field() ?>
|
||||
<x-Button type="submit" variant="danger" size="small"><?= lang('Plugins.deactivate') ?></x-Button>
|
||||
</form>
|
||||
<?php elseif($plugin->getStatus() === PluginStatus::INACTIVE): ?>
|
||||
<?php elseif ($plugin->getStatus() === PluginStatus::INACTIVE): ?>
|
||||
<form class="flex flex-col items-end justify-end gap-2" method="POST" action="<?= route_to('plugins-activate', $plugin->getVendor(), $plugin->getPackage()) ?>">
|
||||
<?= csrf_field() ?>
|
||||
<x-Button type="submit" variant="secondary" size="small"><?= lang('Plugins.activate') ?></x-Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue