diff --git a/dashboard-ui/scripts/dashboardgeneral.js b/dashboard-ui/scripts/dashboardgeneral.js
index 058ee1bb4..071c56d44 100644
--- a/dashboard-ui/scripts/dashboardgeneral.js
+++ b/dashboard-ui/scripts/dashboardgeneral.js
@@ -13,7 +13,8 @@
refreshPageTitle(page);
- $('#txtServerName', page).val(config.ServerName || '');
+ page.querySelector('#txtServerName').value = config.ServerName || '';
+ page.querySelector('#txtCachePath').value = config.CachePath || '';
$('#selectLocalizationLanguage', page).html(languageOptions.map(function (l) {
@@ -23,8 +24,6 @@
currentLanguage = config.UICulture;
- $('#txtCachePath', page).val(config.CachePath || '');
-
Dashboard.hideLoadingMsg();
}
@@ -44,10 +43,10 @@
ApiClient.getServerConfiguration().done(function (config) {
- config.ServerName = $('#txtServerName', form).val();
+ config.ServerName = form.querySelector('#txtServerName').value;
config.UICulture = $('#selectLocalizationLanguage', form).val();
- config.CachePath = $('#txtCachePath', form).val();
+ config.CachePath = form.querySelector('#txtCachePath').value;
if (config.UICulture != currentLanguage) {
Dashboard.showDashboardRefreshNotification();
@@ -59,8 +58,8 @@
ApiClient.getNamedConfiguration(brandingConfigKey).done(function (brandingConfig) {
- brandingConfig.LoginDisclaimer = $('#txtLoginDisclaimer', form).val();
- brandingConfig.CustomCss = $('#txtCustomCss', form).val();
+ brandingConfig.LoginDisclaimer = form.querySelector('#txtLoginDisclaimer').value;
+ brandingConfig.CustomCss = form.querySelector('#txtCustomCss').value;
var cssChanged = currentBrandingOptions && brandingConfig.CustomCss != currentBrandingOptions.CustomCss;
@@ -91,7 +90,7 @@
callback: function (path) {
if (path) {
- $('#txtCachePath', page).val(path);
+ page.querySelector('#txtCachePath').value = path;
}
picker.close();
},
@@ -124,8 +123,8 @@
currentBrandingOptions = config;
- $('#txtLoginDisclaimer', page).val(config.LoginDisclaimer || '');
- $('#txtCustomCss', page).val(config.CustomCss || '');
+ page.querySelector('#txtLoginDisclaimer').value = config.LoginDisclaimer || '';
+ page.querySelector('#txtCustomCss').value = config.CustomCss || '';
});
});
diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js
index b5f920ecc..f50c32588 100644
--- a/dashboard-ui/scripts/site.js
+++ b/dashboard-ui/scripts/site.js
@@ -67,7 +67,7 @@ var Dashboard = {
// These are not needed. Nulling them out can help reduce dom querying when pages are loaded
$.mobile.nojs = null;
$.mobile.degradeInputsWithin = null;
- $.mobile.keepNative = ":jqmData(role='none'),.paper-input";
+ $.mobile.keepNative = ":jqmData(role='none'),.paper-input,textarea.style-scope";
$.mobile.filterHtml = Dashboard.filterHtml;
},
diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css
index b2e7c295f..666dde4f5 100644
--- a/dashboard-ui/thirdparty/paper-button-style.css
+++ b/dashboard-ui/thirdparty/paper-button-style.css
@@ -388,3 +388,6 @@ paper-menu-item {
.ui-page-theme-b .unfocused-line.paper-input-container {
background: #858585;
}
+paper-textarea.mono textarea {
+ font-family: monospace!important;
+}
\ No newline at end of file
diff --git a/dashboard-ui/vulcanize-in.html b/dashboard-ui/vulcanize-in.html
index 8a2261c57..90bc63f63 100644
--- a/dashboard-ui/vulcanize-in.html
+++ b/dashboard-ui/vulcanize-in.html
@@ -18,6 +18,7 @@
+
diff --git a/dashboard-ui/vulcanize-out.html b/dashboard-ui/vulcanize-out.html
index edf082abb..6636e0938 100644
--- a/dashboard-ui/vulcanize-out.html
+++ b/dashboard-ui/vulcanize-out.html
@@ -12355,6 +12355,10 @@ is separate from validation, and `allowed-pattern` does not affect how the input
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[errorMessage]]
+
+
+
+
+
+
+
+
+
+
+
+
+