copy current state of medienstaatsvertrag.org, to be verified

This commit is contained in:
Milan
2017-12-18 10:58:50 +01:00
parent 8b35e7c5c2
commit 69e5d0e4c6
401 changed files with 74197 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
<TMPL_INCLUDE default.html>
<style type="text/css">
/*
input.disabled{
filter: contrast(1.0);
}
*/
div#edit_roles{
overflow: auto;
}
div#edit_roles td:nth-child(1){
max-width:14em;
}
div#edit_roles .comment{
display:block;
color:#999;
}
</style>
<script type="text/javascript">
$(document).ready(
function() {
$("input.disabled").attr('disabled', 'disabled');
var width=960/($("input.role").length);
$("input.role").css('width', width+'px');
//$("#edit_roles").height($('#content').height());
$('input[type="checkbox"]').click(
function(){
if ($(this).attr('value')=='1'){
$(this).attr('value','0');
}else{
$(this).attr('value','1');
}
}
);
}
);
function add_user_role(){
if ($('#new_user_role').css('display')=='none'){
$('.editor').show();
$('#add_user_role_button').html('cancel add user role');
}else{
$('.editor').hide();
$('#add_user_role_button').html('add user role');
}
}
</script>
<h2>Edit Roles</h2>