mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
select rect
This commit is contained in:
parent
f2e794ae92
commit
122dd6ec04
@ -568,3 +568,8 @@ h4 {
|
||||
.ui-selectable>.ui-selected { background-color: #a6c9e2; }
|
||||
.ui-selectable>.ui-selecting { background: #FECA40; }
|
||||
|
||||
.ui-selectable-helper {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
border:1px dotted black;
|
||||
}
|
@ -61,13 +61,15 @@ ST.spamadmin = function() {
|
||||
filter: 'tr',
|
||||
cancel: 'a',
|
||||
stop: function() {
|
||||
var $result = $("#select-result").empty();
|
||||
$result.append('Delete: ');
|
||||
$(".ui-selected", this).each(function(i, el) {
|
||||
var $result = $(".paste_deletestack");
|
||||
var $input = $("input[name=pastes_to_delete]");
|
||||
|
||||
$result.empty();
|
||||
$input.empty();
|
||||
$(".ui-selected").each(function(i, el) {
|
||||
var id = $('a', el).attr('href').split('view/')[1];
|
||||
$result.append(" " + (id));
|
||||
$result.append(id + ' ');
|
||||
});
|
||||
$result.append('?');
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -37,7 +37,9 @@
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="select-result"></div>
|
||||
<h2 class="confirm_title">Confirm deletion of the following pastes:</h2>
|
||||
<div class="paste_deletestack"></div>
|
||||
<input type="hidden" name="pastes_to_delete" />
|
||||
<?php } else { ?>
|
||||
<p><?php echo lang('paste_missing'); ?> :(</p>
|
||||
<?php }?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user