Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
85 righe
3.2 KiB
85 righe
3.2 KiB
<?php if (false) : ?> |
|
?> |
|
<div id="commands" class="mb-5"> |
|
<div class="commands container-fluid"> |
|
<div class="row"> |
|
<div class="col-12 text-right"> |
|
<? if (!$lock) { ?> |
|
<a href="javascript:void(0)" onclick="showModalWithURL('/backend/guue/create.php?modulo=<?= $radice ?>&codice_elemento=<?= $__modulo->info["codice"] ?>');" class="btn btn-success" title="<?= __('Aggiungi nuovo') ?>"><i class="fa fa-plus-circle mr-3"></i><?= __('Aggiungi nuovo') ?></a><br> |
|
<? } ?> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<?php endif; ?> |
|
<?php |
|
$pubblicazioni = $__modulo->getPubblicazioniGUUE(); |
|
?> |
|
<?php alertManager::printInfoCompact("Le pubblicazioni legate ad appalti trasmessi tramite BDNCP possono essere gestite direttamente nel pannello ANAC di riferimento della procedura"); ?> |
|
<?php if (!empty($pubblicazioni)) : ?> |
|
<div class="card card-body"> |
|
<div class="table-responsive"> |
|
<table class="table table-striped table-hover table-condensed" id="tab-data" width="100%"> |
|
<thead> |
|
<tr> |
|
<th width="10"><?= __("Stato") ?></th> |
|
<th width="10"><?= __("Tipologia") ?></th> |
|
<th width="20">ID</th> |
|
<th><?= __("Titolo") ?></th> |
|
<th width="10"></th> |
|
<th width="100"></th> |
|
<th width="10"></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
</tbody> |
|
</table> |
|
</div> |
|
<script> |
|
$("#tab-data").DataTable({ |
|
"processing": true, |
|
"serverSide": true, |
|
"language": { |
|
"url": "/dictionary/datatables/<?= $_SESSION["language"] ?>.lang" |
|
}, |
|
"ajax": "/backend/guue/table.php?modulo=<?= $radice ?>&codice_elemento=<?= $__modulo->info["codice"] ?>", |
|
"order": [ |
|
[0, 'DESC'], |
|
[3, 'ASC'] |
|
], |
|
"lengthMenu": [ |
|
[10, 25, 50, -1], |
|
[10, 25, 50, '<?= __("tutti") ?>'] |
|
], |
|
"columns": [{ |
|
"orderable": true |
|
}, |
|
{ |
|
"orderable": true |
|
}, |
|
{ |
|
"orderable": true |
|
}, |
|
{ |
|
"orderable": false, |
|
"visible": false |
|
}, |
|
{ |
|
"orderable": false |
|
}, |
|
{ |
|
"orderable": false |
|
}, |
|
{ |
|
"orderable": false |
|
} |
|
], |
|
"drawCallback": function(settings, json) { |
|
$('[data-toggle="tooltip"]').tooltip(); |
|
} |
|
}); |
|
</script> |
|
</div> |
|
<?php else: ?> |
|
<?php alertManager::printWarningBox(__("Nessun risultato")); ?> |
|
<?php endif; ?>
|
|
|