Commit e759e7a7 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 05bff225
...@@ -16,7 +16,7 @@ function jsonCacheDecoder($url){ ...@@ -16,7 +16,7 @@ function jsonCacheDecoder($url){
} }
function TableRowRights($Api, $Data = null){ function TableRowRights($Api, $Data = null){
$ret = '<tr>'. $ret = '<tr>'.
'<td>'.$Data["from"].'</td> <td> '.$Data["to"].'</td>'; '<td><input type="text" value="'.$Data["from"].'" name="from"></td> <td><input type="text" value="'.$Data["to"].'" name="to"></td>';
$Api->SpaltenFilme; $Api->SpaltenFilme;
foreach ($Api->SpaltenFilme as $value) { foreach ($Api->SpaltenFilme as $value) {
...@@ -127,8 +127,24 @@ if($_GET["action"] == "filme"){ ...@@ -127,8 +127,24 @@ if($_GET["action"] == "filme"){
}else if($_GET["action"] == "rechte"){ }else if($_GET["action"] == "rechte"){
$titel = "Rechteverwaltung"; $titel = "Rechteverwaltung";
$content = '<div class="content"><h1>Rechteverwaltung</h1>'; $content = '<div class="content"><h1>Rechteverwaltung</h1>';
/*$JavaScript = '<link rel="stylesheet" href="css/responsive-tables.css"> $JavaScript = '<style>th.rotate {
<script src="js/responsive-tables.js"></script>';*/ /* Something you can count on */
height: 140px;
white-space: nowrap;
}
th.rotate > div {
transform:
/* Magic Numbers */
translate(25px, 51px)
/* 45 is really 360 - 45 */
rotate(315deg);
width: 30px;
}
th.rotate > div > span {
border-bottom: 1px solid #ccc;
padding: 5px 10px;
}</style>';
if(!file_exists(API_Rights)){ if(!file_exists(API_Rights)){
// defaultdatei anlegen... // defaultdatei anlegen...
$content .= "Erzeuge Default Rechtedatei <br>".PHP_EOL; $content .= "Erzeuge Default Rechtedatei <br>".PHP_EOL;
...@@ -155,10 +171,10 @@ if($_GET["action"] == "filme"){ ...@@ -155,10 +171,10 @@ if($_GET["action"] == "filme"){
<th colspan="'.count($API->SpaltenEpisoden).'"> SpaltenEpisoden</th> <th colspan="'.count($API->SpaltenEpisoden).'"> SpaltenEpisoden</th>
<th colspan="3"> Sonstige</th></tr>'; <th colspan="3"> Sonstige</th></tr>';
foreach ($API->SpaltenFilme as $value) { foreach ($API->SpaltenFilme as $value) {
$content .= '<th>'.$value.'</th>'; $content .= '<th class="rotate"><div><span>'.$value.'</span></div></th>';
} }
foreach ($API->SpaltenEpisoden as $value) { foreach ($API->SpaltenEpisoden as $value) {
$content .= '<th>'.$value.'</th>'; $content .= '<th class="rotate"><div><span>'.$value.'</span></div></th>';
} }
$content .= '<th>Webapp</th>'; $content .= '<th>Webapp</th>';
$content .= '<th>Update</th>'; $content .= '<th>Update</th>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment