From 9fdb5507355d3a193807346a1413e4164ad11d24 Mon Sep 17 00:00:00 2001 From: cat Date: Mon, 13 Jun 2016 10:24:44 +0200 Subject: [PATCH] LSP: added rolling update message --- lsp/minified.js | 4 ++-- lsp/mist.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lsp/minified.js b/lsp/minified.js index b021cf0c..25310965 100644 --- a/lsp/minified.js +++ b/lsp/minified.js @@ -74,8 +74,8 @@ classes:["red"]}:false}],help:"Repeat your desired password.",classes:["match_pa b+'".
')}d.append("Saving protocol settings..
");mist.send(function(){d.append("Protocols enabled. Redirecting..");setTimeout(function(){UI.navto("Overview")},5E3)},{config:{protocols:c}})},{capabilities:true})}}},{label:"Skip",type:"cancel","function":function(){UI.navto("Overview")}}]}]));break;case "Overview":var i=$("").text("Loading.."),m=$(""),f=$(""),p=$("");d.append(UI.buildUI([{type:"help",help:"You can find most basic information about your MistServer here.
You can also set the debug level and force a save to the config.json file that MistServer uses to save your settings. "}, {type:"span",label:"Version",pointer:{main:mist.data.config,index:"version"}},{type:"span",label:"Version check",value:i,LTSonly:!0},{type:"span",label:"Server time",value:p},{type:"span",label:"Current streams",value:m},{type:"span",label:"Current connections",value:f},$("
"),{type:"str",label:"Human readable name",pointer:{main:mist.data.config,index:"name"},help:"You can name your MistServer here for personal use. You'll still need to set host name within your network yourself."},{type:"debug", label:"Debug level",pointer:{main:mist.data.config,index:"debug"},help:"You can set the amount of debug information MistServer saves in the log. A full reboot of MistServer is required before some components of MistServer can post debug information."},{type:"checkbox",label:"Force configurations save",pointer:{main:mist.data,index:"save"},help:"Tick the box in order to force an immediate save to the config.json MistServer uses to save your settings. Saving will otherwise happen upon closing MistServer. Don't forget to press save after ticking the box."}, -{type:"buttons",buttons:[{type:"save",label:"Save","function":function(){var a={config:mist.data.config};if(mist.data.save)a.save=mist.data.save;mist.send(function(){UI.navto("Overview")},a)}}]}]));if(mist.data.LTS){var n=function(){var a=mist.stored.get().update||{};"uptodate"in a?a.error?i.addClass("red").text(a.error):a.uptodate?i.text("Your version is up to date.").addClass("green"):i.addClass("red").text("Version outdated!").append($("