Changed admin layout and fixed for enums

This commit is contained in:
Lars van Hijfte
2017-01-24 10:19:13 +01:00
parent d7e84ee138
commit c4e4508b53
6 changed files with 109 additions and 167 deletions

View File

@@ -28,7 +28,7 @@ function checkCheckAll(allbox) {
}
function changeFilter() {
if (document.getElementById('group').checked) {
if ($('#pagetype').find(":selected").val() == "group") {
document.getElementById('admin-filter').style.display = 'none';
document.getElementById('admin-groupfilter').style.display = 'inline-block';

View File

@@ -5,14 +5,14 @@ $(document).ready(function() {
marginRight: "256px"
}, 500);
$(".chat-right").animate({
width: "calc(100% - 512px - 40px)"
width: $(".chat-right").width() - 266
}, 500);
$("#notification-center").animate({
right: "0px"
}, 500);
} else {
$(".chat-right").animate({
width: "calc(100% - 256px - 40px)"
width: $(".chat-right").width() + 266
}, 500);
$(".content").animate({
marginRight: "0px"
@@ -22,6 +22,4 @@ $(document).ready(function() {
}, 500);
}
});
$("#own-profile-picture").click();
});