Create modal install-user-plugin dialog, update template text

This commit is contained in:
billz
2024-12-21 22:42:34 -08:00
parent c3968ba42e
commit 2cb66660c5
3 changed files with 61 additions and 36 deletions

View File

@@ -3,19 +3,17 @@
<h4 class="mt-3"><?php echo _("Plugins") ;?></h4>
<?php if (!RASPI_MONITOR_ENABLED) : ?>
<?php echo CSRFTokenFieldTag() ?>
<div class="row">
<div class="form-group col-lg-8 col-md-8">
<label>
<?php echo _("The following user plugins are available to extend RaspAP's functionality."); ?>
</label>
<div class="small mt-3">
<?php echo _("Choose <strong>Install</strong> to download and activate a plugin from the list. <strong>Uninstall</strong> removes an existing plugin."); ?>
<div class="small mt-2">
<?php echo _("Choose <strong>Details</strong> for more information and to install a plugin. <strong>Uninstall</strong> removes an existing plugin."); ?>
</div>
<?php echo $pluginsTable; ?>
</div>
</div>
<?php endif ?>
</div>