diff --git a/dashboard-ui/advanced.html b/dashboard-ui/advanced.html index 25c97a6e3c..f792392290 100644 --- a/dashboard-ui/advanced.html +++ b/dashboard-ui/advanced.html @@ -22,6 +22,9 @@ +
  • diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index 8ec6b731a2..50ae817df6 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -221,6 +221,19 @@ form, .readOnlyContent { padding-left: 5px; } +.warningFieldDescription { + padding: 5px; + border: 1px solid #f4c63f; + background: #fadb4e; + background-image: -webkit-gradient(linear,left top,left bottom,from(#ffefaa),to(#ffe155)); + background-image: -webkit-linear-gradient(#ffefaa,#ffe155); + background-image: -moz-linear-gradient(#ffefaa,#ffe155); + background-image: -ms-linear-gradient(#ffefaa,#ffe155); + background-image: -o-linear-gradient(#ffefaa,#ffe155); + background-image: linear-gradient(#ffefaa,#ffe155); + border-radius: 5px; +} + .ulForm { margin-bottom: 20px!important; } diff --git a/dashboard-ui/pluginupdates.html b/dashboard-ui/pluginupdates.html index 88b62e606a..c350822a1b 100644 --- a/dashboard-ui/pluginupdates.html +++ b/dashboard-ui/pluginupdates.html @@ -26,6 +26,14 @@ + +
    +
    + +
    + Dev builds are the bleeding edge. Released often, these build have not been tested. The application may crash and entire features may not work at all. +
    + diff --git a/dashboard-ui/scripts/advancedconfigurationpage.js b/dashboard-ui/scripts/advancedconfigurationpage.js index 637ee030f5..260628ee69 100644 --- a/dashboard-ui/scripts/advancedconfigurationpage.js +++ b/dashboard-ui/scripts/advancedconfigurationpage.js @@ -9,7 +9,7 @@ $('#fldWebSocketPortNumber', page).show(); } - $('#selectAutomaticUpdateLevel', page).val(config.SystemUpdateLevel).selectmenu('refresh'); + $('#selectAutomaticUpdateLevel', page).val(config.SystemUpdateLevel).selectmenu('refresh').trigger('change'); $('#txtWebSocketPortNumber', page).val(config.LegacyWebSocketPortNumber); $('#txtPortNumber', page).val(config.HttpServerPortNumber); @@ -36,6 +36,21 @@ loadPage(page, response1[0], response2[0]); }); + + }).on('pageinit', "#advancedConfigurationPage", function () { + + var page = this; + + $('#selectAutomaticUpdateLevel', page).on('change', function () { + + if (this.value == "Dev") { + $('#devBuildWarning', page).show(); + } else { + $('#devBuildWarning', page).hide(); + } + + }); + }); function advancedConfigurationPage() {