Fix minore

This commit is contained in:
pek5892 2024-05-24 11:42:35 +02:00
parent 7e76ff6d08
commit bf8c520d0f
1 changed files with 24 additions and 21 deletions

View File

@ -48,7 +48,7 @@ if ($segmenti) {
// Lettura eventuali plugins modulo da inserire come tab // Lettura eventuali plugins modulo da inserire come tab
echo ' echo '
<section class="content-header"> <section class="content-header">
<div class="container-fluid"> <div class="container-fluid">
<div class="row mb-2"> <div class="row mb-2">
<div class="col-sm-6"> <div class="col-sm-6">
@ -65,9 +65,10 @@ echo '
</h1> </h1>
</div> </div>
</div> </div>
</section> </div>
</section>
<div class="tab-content"> <div class="tab-content">
<div id="tab_0" class="tab-pane active">'; <div id="tab_0" class="tab-pane active">';
include base_dir().'/include/manager.php'; include base_dir().'/include/manager.php';
@ -99,14 +100,15 @@ redirectOperation($id_module, !empty($id_parent) ? $id_parent : $id_record);
if ($user->is_admin && string_contains($module['option'], '|select|')) { if ($user->is_admin && string_contains($module['option'], '|select|')) {
echo ' echo '
<br> <br>
<div class="row"> <div class="row">
<div class="col-md-12 text-right"> <div class="col-md-12 text-right">
<a class="btn btn-xs btn-default " style="margin-top: -1.25rem;" onclick="modificaColonne(this)"> <a class="btn btn-xs btn-default " style="margin-top: -1.25rem;" onclick="modificaColonne(this)">
<i class="fa fa-th-list"></i> '.tr('Modifica colonne').' <i class="fa fa-th-list"></i> '.tr('Modifica colonne').'
</a> </a>
</div> </div>
</div> </div>
<div class="clearfix" >&nbsp;</div> <div class="clearfix" >&nbsp;
</div>
<script> <script>
function modificaColonne(button) { function modificaColonne(button) {
@ -115,7 +117,8 @@ function modificaColonne(button) {
</script>'; </script>';
} }
echo '</div>'; echo '
</div>';
// Widget in basso // Widget in basso
echo '{( "name": "widgets", "id_module": "'.$id_module.'", "position": "right", "place": "controller" )}'; echo '{( "name": "widgets", "id_module": "'.$id_module.'", "position": "right", "place": "controller" )}';