Add "Licenze" and "Log Licenze" sections to admin panel
Introduced two new sections - "Licenze" and "Log Licenze" - to the admin sidebar and created corresponding controllers, views, modals, and scripts to support their functionality. These sections include filtering, listing, and basic interactions such as editing and deletion support.
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
<div class="modal fade" id="modal" data-form="modalForm" tabindex="-1" data-backdrop="false"
|
||||
role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
|
||||
<div class="modal-content">
|
||||
|
||||
<div id="modal-loader" class="overlay d-none justify-content-center align-items-center">
|
||||
<i class="fas fa-2x fa-sync fa-spin"></i>
|
||||
</div>
|
||||
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title flot-left" id="myModalLabel"><i
|
||||
class="fa fa-fw <?= ($this->iconTitle) ? $this->iconTitle : 'fa-pencil'; ?> modal_icon"></i>
|
||||
Email Template</h5>
|
||||
<button id="close-modal" type="button" class="close float-right" data-dismiss="modal"
|
||||
aria-hidden="true">×
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="modal-body pdb-0">
|
||||
|
||||
<form id="modalForm" name="modalForm" class="compact-form no-border-radius"
|
||||
action="<?= $this->url(array('controller' => 'index', 'action' => 'salva' . $this->resourceName), $this->moduleName, true); ?>"
|
||||
data-get="<?= $this->url(array('controller' => 'index', 'action' => 'get' . $this->resourceName), $this->moduleName, true); ?>"
|
||||
data-delete="<?= $this->url(array('controller' => 'index', 'action' => 'delete' . $this->resourceName, 'id' => $this->id), $this->moduleName, true); ?>"
|
||||
method="post" role="form">
|
||||
|
||||
<input type="hidden" value="" class="form-control" id="id" name="id" form="modalForm" required>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div id="ErrorDescription" class="alert alert-warning alert-sm d-none"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<div id="Codice" class="form-group row">
|
||||
<label for="Codice" class="col-sm-2 col-form-label">Codice</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" value="" class="form-control" id="Codice" placeholder="" name="Codice">
|
||||
<!-- Contenitore per la descrizione degli errori -->
|
||||
<div id="input-error" class="label label-danger hidden"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<div id="Nome" class="form-group row">
|
||||
<label for="Nome" class="col-sm-2 col-form-label">Nome</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" value="" class="form-control" id="Nome" placeholder="" name="Nome">
|
||||
<!-- Contenitore per la descrizione degli errori -->
|
||||
<div id="input-error" class="label label-danger hidden"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="undo" class="btn bg-gray pull-left" data-dismiss="modal"><i
|
||||
class="fa fa-times"></i>
|
||||
Chiudi
|
||||
</button>
|
||||
<button type="button" id="save" op="insert" class="btn btn-brand"><i class="fa fa-save"></i>
|
||||
Salva
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user