migliorie grafiche minori

This commit is contained in:
Luca 2024-07-30 16:23:04 +02:00
parent 4b08bd0589
commit c106358135
4 changed files with 18 additions and 15 deletions

View File

@ -32,7 +32,7 @@ echo '
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="input-group">
<input type="text" class="form-control input-lg text-center" id="ricerca_impostazioni" placeholder="'.tr('Cerca').'...">
<input type="text" class="form-control form-control-lg text-center" id="ricerca_impostazioni" placeholder="'.tr('Cerca').'...">
<div class="input-group-append">
<button class="btn btn-primary" type="button" id="search">
<span class="fa fa-search"></span>

View File

@ -33,7 +33,7 @@ if ($bilancio_gia_aperto) {
echo '
<div class="row">
<div class="offset-md-4 col-md-3">
<input type="text" class="form-control input-lg text-center" id="input-cerca" placeholder="'.tr('Cerca').'...">
<input type="text" class="form-control form-control-lg text-center" id="input-cerca" placeholder="'.tr('Cerca').'...">
</div>
<div class="col-md-1">

View File

@ -47,7 +47,7 @@ $sedi = $dbo->fetchArray('SELECT id, nomesede, citta FROM an_sedi WHERE idanagra
echo '
<div class="row">
<div class="offset-md-4 col-md-4">
<input type="text" class="form-control input-lg text-center unblockable" id="input-cerca" placeholder="'.tr('Cerca').'...">
<input type="text" class="form-control form-control-lg text-center unblockable" id="input-cerca" placeholder="'.tr('Cerca').'...">
</div>
<div class="col-md-1">

View File

@ -64,26 +64,27 @@ $percentuale_non_previsti = $n_impianti ? round(($impianti_non_previsti * 100) /
echo '
<div class="row">
<div class="offset-md-4 col-md-4 text-center">
<h4>'.strtoupper(tr('Impianti')).': '.$n_impianti.'</h4>
<div class="progress">
<h4>'.strtoupper(tr('Impianti')).': '.$n_impianti. '</h4>
<div class="progress" style="height:2rem;">
<div class="progress-bar progress-bar-striped progress-bar-success" role="progressbar" style="width:'.$percentuale_completati.'%"><i class="fa fa-check"></i> <b>'.$impianti_completati.'</b></div>
<div class="progress-bar progress-bar-striped progress-bar-danger" role="progressbar" style="width:'.$percentuale_non_completati.'%"><i class="fa fa-clock-o"></i> <b>'.$impianti_non_completati.'</b></div>
<div class="progress-bar progress-bar-striped progress-bar-warning" role="progressbar" style="width:'.$percentuale_non_previsti.'%"><i class="fa fa-times"></i> <b>'.$impianti_non_previsti.'</b></div>
<div class="progress-bar progress-bar-striped progress-bar-warning" role="progressbar" style="width:'.$percentuale_non_previsti.'%"><i class="fa fa-times"></i> <b>'.$impianti_non_previsti. '</b></div>
</div>
</div>
<div class="col-md-4 text-left">
<br><br>
<button type="button" class="btn btn-sm btn-default" onclick="caricaImpianti()">
<i class="fa fa-refresh"></i> '.tr('Aggiorna').'
<div class="col-md-1">
<button type="button" class="btn btn-default" onclick="caricaImpianti()" style="margin-top: 25px;">
<i class="fa fa-refresh"></i> '.tr('Aggiorna'). '
</button>
</div>
</div>
<table class="table table-hover table-condensed table-striped">
<hr>
<div class="row">
<div class="col-md-12">
<div class="card ">
<table class="table table-hover table-condensed table-striped">
<tr>
<th class="text-center" width="1%"></th>
<th class="text-center" width="10%">'.tr('Matricola').'</th>
@ -145,8 +146,10 @@ foreach ($impianti_collegati as $impianto) {
</tr>';
}
echo '
</table>
</table>
</div>
</div>
</div>
<script>
$(document).ready(init);