Skip to content
Snippets Groups Projects
Commit 10933601 authored by Falk Rehse's avatar Falk Rehse
Browse files

Remove Grillstation

parent 2fe7ebd3
No related branches found
No related tags found
No related merge requests found
this.tabtime=20; this.tabtime=20;
this.checkShowCondition = function() { this.checkShowCondition = function() {
return 4*this.tabtime; return 3*this.tabtime;
} }
this.show = function() { this.show = function() {
...@@ -16,9 +16,6 @@ this.show = function() { ...@@ -16,9 +16,6 @@ this.show = function() {
currentTab = 2; currentTab = 2;
break; break;
case 2: case 2:
currentTab = 3;
break;
case 3:
currentTab = 0; currentTab = 0;
break; break;
default: default:
...@@ -97,11 +94,9 @@ this.loaded = function(panel, config) { ...@@ -97,11 +94,9 @@ this.loaded = function(panel, config) {
function fillTable(json) { function fillTable(json) {
document.getElementById("mensaPlanTitleBar").innerHTML = calcTextDisplay(); document.getElementById("mensaPlanTitleBar").innerHTML = calcTextDisplay();
var tableBody1 = document.getElementById("mensaPlanTable1Body"); var tableBody1 = document.getElementById("mensaPlanTable1Body");
var tableBody2 = document.getElementById("mensaPlanTable2Body");
var tableBody3 = document.getElementById("mensaPlanTable3Body"); var tableBody3 = document.getElementById("mensaPlanTable3Body");
var tableBody4 = document.getElementById("mensaPlanTable4Body"); var tableBody4 = document.getElementById("mensaPlanTable4Body");
tableBody1.innerHTML = ""; // clear tableBody1.innerHTML = ""; // clear
tableBody2.innerHTML = ""; // clear
tableBody3.innerHTML = ""; // clear tableBody3.innerHTML = ""; // clear
tableBody4.innerHTML = ""; // clear tableBody4.innerHTML = ""; // clear
var a = 0; var a = 0;
...@@ -154,12 +149,6 @@ this.loaded = function(panel, config) { ...@@ -154,12 +149,6 @@ this.loaded = function(panel, config) {
var cell = row.insertCell(0); var cell = row.insertCell(0);
cell.innerHTML = handleGericht(gericht.title.de); cell.innerHTML = handleGericht(gericht.title.de);
break; break;
case "8": // Grillstation
var row = tableBody2.insertRow(b);
b++;
var cell = row.insertCell(0);
cell.innerHTML = handleGericht(gericht.title.de);
break;
case "16": // Beilagen case "16": // Beilagen
var beilagen = gericht.title.de.split(";"); var beilagen = gericht.title.de.split(";");
for (var j = 0; j < beilagen.length; j++) { for (var j = 0; j < beilagen.length; j++) {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<div id="mensaPlanTitleBar"></div> <div id="mensaPlanTitleBar"></div>
<ul> <ul>
<li><a href="#tab-1">Normale Counter</a></li> <li><a href="#tab-1">Normale Counter</a></li>
<li><a href="#tab-2">Grill Counter</a></li>
<li><a href="#tab-3">Sonstige Counter</a></li> <li><a href="#tab-3">Sonstige Counter</a></li>
<li><a href="#tab-4">Beilagen</a></li> <li><a href="#tab-4">Beilagen</a></li>
</ul> </ul>
...@@ -12,12 +11,6 @@ ...@@ -12,12 +11,6 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<div id="tab-2">
<table id="mensaPlanTable2" style="width:100%;height:100%" class="mensaPlanTable">
<tbody id="mensaPlanTable2Body">
</tbody>
</table>
</div>
<div id="tab-3"> <div id="tab-3">
<table id="mensaPlanTable3" style="width:100%;height:100%" class="mensaPlanTable"> <table id="mensaPlanTable3" style="width:100%;height:100%" class="mensaPlanTable">
<tbody id="mensaPlanTable3Body"> <tbody id="mensaPlanTable3Body">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment