Select Git revision
guidelines_services.md
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
script.js 701 B
this.checkShowCondition = function() {
return 20;
}
this.show = function() {
//SomeSortOfTimingStuff
}
this.hide = function() {
//CleanDat
}
this.loaded = function(panel, config) {
// reload data
setInterval(function() {
getMensaPlan();
}, 30*60*1000);
function getMensaPlan() {
$.getJSON("tmp/lsfView.json?"+( new Date().getTime()) ).done(function(json) {
fillTable(json);
}).fail(function(jqxhr, textStatus, error) {
var err = textStatus + ", " + error;
console.log("Request Failed: " + err);
});
}
function fillTable(json) {
var date = new Date();
document.getElementById("lsfViewTitleBar").innerHTML = "Vorlesungen zwischen 123 und 123";
}
getMensaPlan();
}