uploads: remove batch upload page.
* Make /uploads/batch redirect to /uploads/new. * Remove /uploads/image_proxy.
This commit is contained in:
@@ -21,10 +21,6 @@ Upload.initialize_all = function() {
|
||||
});
|
||||
}
|
||||
|
||||
if ($("#c-uploads #a-batch").length) {
|
||||
$(document).on("click.danbooru", "#c-uploads #a-batch #link", Upload.batch_open_all);
|
||||
}
|
||||
|
||||
Upload.loadAssets();
|
||||
}
|
||||
|
||||
@@ -71,10 +67,6 @@ Upload.toggle_translation = function() {
|
||||
$(".commentary-translation").slideToggle();
|
||||
};
|
||||
|
||||
Upload.batch_open_all = function() {
|
||||
$(".upload-preview > a").each((_i, link) => window.open(link.href));
|
||||
};
|
||||
|
||||
$(function() {
|
||||
Upload.initialize_all();
|
||||
});
|
||||
|
||||
@@ -44,28 +44,4 @@ div#c-uploads {
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
div.upload-preview {
|
||||
display: inline-block;
|
||||
|
||||
> a {
|
||||
width: 154px;
|
||||
height: 154px;
|
||||
margin: 0 10px 10px 0;
|
||||
display: inline-block;
|
||||
|
||||
img {
|
||||
margin: auto;
|
||||
border: 2px solid transparent;
|
||||
|
||||
max-width: 154px;
|
||||
max-height: 154px;
|
||||
}
|
||||
}
|
||||
|
||||
.caption-top {
|
||||
font-size: var(--text-sm);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user