Fix AdminLTE

Fix problema dei box AdminLTE (ee76cad982).
This commit is contained in:
Thomas Zilio 2018-05-14 15:40:17 +02:00
parent 1d9e130d69
commit eb94bfa792
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,7 @@
$(document).ready(function () { $(document).ready(function () {
// Inizializzazzione dei box AdminLTE
$('.box').boxWidget();
// Modal di default // Modal di default
$('[data-href]').not('.ask, .bound').click(function () { $('[data-href]').not('.ask, .bound').click(function () {
launch_modal($(this).data('title'), $(this).data('href'), 1, $(this).data('target')); launch_modal($(this).data('title'), $(this).data('href'), 1, $(this).data('target'));

View File

@ -24,10 +24,8 @@ echo '
</div> </div>
</div>'; </div>';
echo echo
'<div class="box box-info collapsed-box"> '<div class="box box-info collapsed-box">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title">'.tr('Dati anagrafici').'</h3> <h3 class="box-title">'.tr('Dati anagrafici').'</h3>
<div class="box-tools pull-right"> <div class="box-tools pull-right">
@ -86,11 +84,8 @@ echo
</div> </div>
</div>'; </div>';
echo echo
'<div class="row"> '<div class="row">
<div class="col-md-12 text-right"> <div class="col-md-12 text-right">
<button type="submit" class="btn btn-primary"><i class="fa fa-plus"></i> '.tr('Aggiungi').'</button> <button type="submit" class="btn btn-primary"><i class="fa fa-plus"></i> '.tr('Aggiungi').'</button>
</div> </div>