Zmień klasę usuwania punktów w popupie z ikony na link oraz zaktualizuj style przycisku usuwania
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -798,16 +798,33 @@ body>.top {
|
||||
margin-bottom: 5px;
|
||||
background: #FFF;
|
||||
border-radius: 3px;
|
||||
padding: 5px;
|
||||
padding: 10px;
|
||||
border: 1px solid #eee;
|
||||
font-size: 13px;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
|
||||
i {
|
||||
a {
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
cursor: pointer;
|
||||
color: #cc0000;
|
||||
background: #cc0000;
|
||||
display: flex;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
background: #b30000;
|
||||
}
|
||||
|
||||
i {
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -576,13 +576,13 @@
|
||||
});
|
||||
});
|
||||
|
||||
$( 'body' ).on( 'click', '.task_popup .checklist li .fa-trash', function(e){
|
||||
$( 'body' ).on( 'click', '.task_popup .checklist li .point-delete', function(e){
|
||||
e.preventDefault();
|
||||
var action_id = $( this ).attr( 'action_id' );
|
||||
|
||||
$.confirm({
|
||||
title: 'Potwierdź',
|
||||
content: 'Na pewno chcesz usunąć wybrany projekt?',
|
||||
content: 'Na pewno chcesz usunąć wybrany punkt?',
|
||||
type: 'orange',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
|
||||
@@ -39,7 +39,9 @@
|
||||
<li action_id="<?= $action['id'];?>">
|
||||
<input type="checkbox" class="g-checkbox" value="<?= $action[ 'id' ];?>" <? if ( $action['status'] ):?>checked="checked"<? endif;?>>
|
||||
<?= $action['name'];?>
|
||||
<i class="fa fa-trash" action_id="<?= $action['id'];?>"></i>
|
||||
<a href="#" class="point-delete" action_id="<?= $action['id'];?>">
|
||||
<i class="fa fa-trash"></i>
|
||||
</a>
|
||||
</li>
|
||||
<? endforeach;?>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user