mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-07 08:48:40 +00:00
Add download to tables
This commit is contained in:
parent
2c614ffe85
commit
adf1c48cfb
|
|
@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table id="accountList" class="table darkred">
|
||||
<caption><?= $this->getHtml('Groups') ?></caption>
|
||||
<caption><?= $this->getHtml('Groups') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table id="groupTable" class="box table darkred">
|
||||
<caption><?= $this->getHtml('Groups') ?></caption>
|
||||
<caption><?= $this->getHtml('Groups') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
@ -143,7 +143,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table class="box table darkred">
|
||||
<caption><?= $this->getHtml('Permissions') ?></caption>
|
||||
<caption><?= $this->getHtml('Permissions') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<table id="groupList" class="box table darkred">
|
||||
<caption><?= $this->getHtml('Groups') ?></caption>
|
||||
<caption><?= $this->getHtml('Groups') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table class="box table darkred wf-100">
|
||||
<caption><?= $this->getHtml('Accounts') ?></caption>
|
||||
<caption><?= $this->getHtml('Accounts') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||
|
|
@ -100,7 +100,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table id="groupPermissions" class="box table darkred wf-100">
|
||||
<caption><?= $this->getHtml('Permissions') ?></caption>
|
||||
<caption><?= $this->getHtml('Permissions') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
@ -194,7 +194,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<table class="box table darkred wf-100">
|
||||
<caption><?= $this->getHtml('AuditLog') ?></caption>
|
||||
<caption><?= $this->getHtml('AuditLog') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ $installed = $this->app->moduleManager->getInstalledModules();
|
|||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table id="moduleList" class="table darkred">
|
||||
<caption><?= $this->getHtml('Modules') ?></caption>
|
||||
<caption><?= $this->getHtml('Modules') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', 0, 0); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||
|
|
|
|||
|
|
@ -58,19 +58,31 @@ if ($nav !== null) {
|
|||
<button id="fModuleDeactivateButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::DEACTIVATE ?>"><?= $this->getHtml('Deactivate'); ?></button>
|
||||
</form>
|
||||
<?php elseif (isset($installed[$id])) : ?>
|
||||
<form id="fModuleUninstall" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleUninstallButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::UNINSTALL ?>"><?= $this->getHtml('Uninstall'); ?></button>
|
||||
</form>
|
||||
<form id="fModuleActivate" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleActivateButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::ACTIVATE ?>"><?= $this->getHtml('Activate'); ?></button>
|
||||
</form>
|
||||
<div class="ipt-wrap">
|
||||
<div class="ipt-first">
|
||||
<form id="fModuleUninstall" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleUninstallButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::UNINSTALL ?>"><?= $this->getHtml('Uninstall'); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="ipt-second">
|
||||
<form id="fModuleActivate" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleActivateButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::ACTIVATE ?>"><?= $this->getHtml('Activate'); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php elseif (isset($modules[$id])) : ?>
|
||||
<form id="fModuleInstall" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleInstallButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::INSTALL ?>"><?= $this->getHtml('Install'); ?></button>
|
||||
</form>
|
||||
<form id="fModuleDelete" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleDeleteButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::DELETE ?>"><?= $this->getHtml('Delete'); ?></button>
|
||||
</form>
|
||||
<div class="ipt-wrap">
|
||||
<div class="ipt-first">
|
||||
<form id="fModuleInstall" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleInstallButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::INSTALL ?>"><?= $this->getHtml('Install'); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="ipt-second">
|
||||
<form id="fModuleDelete" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/module/status?module=' . $id); ?>" method="POST">
|
||||
<button id="fModuleDeleteButton" name="status" type="submit" value="<?= ModuleStatusUpdateType::DELETE ?>"><?= $this->getHtml('Delete'); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user