mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-09 15:50:14 +01:00
Fix colorpicker
This commit is contained in:
parent
d60510e6c0
commit
e5d8d661a3
@ -376,9 +376,8 @@ span.form-control {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.colorpicker,
|
||||
.colorpicker * {
|
||||
z-index: 9999;
|
||||
.colorpicker {
|
||||
z-index: 1 !important;
|
||||
}
|
||||
|
||||
.signature-pad {
|
||||
@ -1587,6 +1586,10 @@ body:not(.sidebar-collapse) .sidebar .nav-treeview .nav-treeview .nav-link {
|
||||
box-shadow: 0px 0px 3px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
z-index: 99999 !important;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
.navbar-left {
|
||||
display: inline-block;
|
||||
|
@ -81,15 +81,13 @@ use Models\Module;
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
$elementi = $dbo->fetchArray('SELECT `mg_articoli`.`id`, `mg_articoli`.`codice`, `mg_articoli`.`barcode` FROM `mg_articoli` WHERE (`id_categoria`='.prepare($id_record).' OR `id_sottocategoria`='.prepare($id_record).' OR `id_sottocategoria` IN (SELECT `id` FROM `mg_categorie` WHERE `parent`='.prepare($id_record).')) AND `deleted_at` IS NULL');
|
||||
|
@ -83,15 +83,13 @@ use Models\Module;
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
$elementi = $dbo->fetchArray('SELECT `my_impianti`.`id`, `my_impianti`.`matricola`, `my_impianti`.`nome` FROM `my_impianti` WHERE (`id_categoria`='.prepare($id_record).' OR `id_sottocategoria`='.prepare($id_record).' OR `id_sottocategoria` IN (SELECT `id` FROM `my_impianti_categorie` WHERE `parent`='.prepare($id_record).'))');
|
||||
|
@ -42,10 +42,10 @@ include_once __DIR__.'/../../core.php';
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
@ -46,10 +46,10 @@ include_once __DIR__.'/../../core.php';
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
||||
|
@ -67,10 +67,10 @@ if (!empty($righe)) {
|
||||
</a>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
@ -59,11 +59,10 @@ include_once __DIR__.'/../../core.php';
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
@ -84,12 +84,12 @@ if (!empty($record['can_delete'])) {
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
notifica();
|
||||
});
|
||||
|
||||
</script>
|
@ -63,12 +63,12 @@ if (!empty($record['can_delete'])) {
|
||||
|
||||
?>
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
notifica();
|
||||
});
|
||||
|
||||
</script>
|
@ -45,12 +45,14 @@ include_once __DIR__.'/../../core.php';
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
|
||||
</script>
|
@ -114,14 +114,16 @@ if ($record['can_delete']) {
|
||||
}
|
||||
?>
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
notifica();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
$("#notifica").change(function() {
|
||||
notifica();
|
||||
|
@ -59,11 +59,10 @@ include_once __DIR__.'/../../core.php';
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
@ -83,12 +83,12 @@ if (!empty($record['can_delete'])) {
|
||||
|
||||
?>
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
notifica();
|
||||
});
|
||||
|
||||
</script>
|
@ -59,11 +59,10 @@ include_once __DIR__.'/../../core.php';
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
|
||||
$('#modals > div #colore_').parent().find('.square').css( 'background', $('#modals > div #colore_').val() );
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
});
|
||||
</script>
|
@ -84,14 +84,13 @@ if (!empty($record['can_delete'])) {
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(document).ready( function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
});
|
||||
$('#colore').parent().find('.square').css( 'background', $('#colore').val() );
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.colorpicker').colorpicker({ format: 'hex' }).on('changeColor', function() {
|
||||
$(this).parent().find('.square').css('background', $(this).val());
|
||||
});
|
||||
$('.colorpicker').parent().find('.square').css('background', $('.colorpicker').val());
|
||||
notifica();
|
||||
});
|
||||
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user