freifunkmanager/webroot/js/gui.js

21 lines
418 B
JavaScript
Raw Normal View History

2017-05-08 19:13:29 +02:00
var gui = {};
(function(){
gui.enable = function enable(){
};
gui.render = function render (){
console.log(store.will())
}
gui.disable = function disable(err){
document.querySelector('.loader').innerHTML += err
+ '<br /><br /><button onclick="location.reload(true)" class="btn text">Try to reload</button>';
console.warn(err);
};
gui.connecting = function connecting(){
};
})();