From f214dd233b629db39a5f1502908e932721ede4ff Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Thu, 8 Aug 2019 05:16:47 -0700 Subject: [PATCH] Rename WebUI content files --- src/webui/www/private/{preferences_content.html => preferences.html} | 0 src/webui/www/private/{properties_content.html => properties.html} | 0 src/webui/www/private/scripts/client.js | 2 +- src/webui/www/private/scripts/mocha-init.js | 2 +- src/webui/www/webui.qrc | 4 ++-- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/webui/www/private/{preferences_content.html => preferences.html} (100%) rename src/webui/www/private/{properties_content.html => properties.html} (100%) diff --git a/src/webui/www/private/preferences_content.html b/src/webui/www/private/preferences.html similarity index 100% rename from src/webui/www/private/preferences_content.html rename to src/webui/www/private/preferences.html diff --git a/src/webui/www/private/properties_content.html b/src/webui/www/private/properties.html similarity index 100% rename from src/webui/www/private/properties_content.html rename to src/webui/www/private/properties.html diff --git a/src/webui/www/private/scripts/client.js b/src/webui/www/private/scripts/client.js index aeaf33f28..23b40ea4d 100644 --- a/src/webui/www/private/scripts/client.js +++ b/src/webui/www/private/scripts/client.js @@ -868,7 +868,7 @@ window.addEvent('load', function() { bottom: 0, left: 0 }, - contentURL: 'properties_content.html', + contentURL: 'properties.html', require: { css: ['css/Tabs.css', 'css/dynamicTable.css'], js: ['scripts/prop-general.js', 'scripts/prop-trackers.js', 'scripts/prop-peers.js', 'scripts/prop-webseeds.js', 'scripts/prop-files.js'], diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index 3388e4d11..491fb3178 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -169,7 +169,7 @@ const initializeWindows = function() { title: "QBT_TR(Options)QBT_TR[CONTEXT=OptionsDialog]", loadMethod: 'xhr', toolbar: true, - contentURL: 'preferences_content.html', + contentURL: 'preferences.html', require: { css: ['css/Tabs.css'] }, diff --git a/src/webui/www/webui.qrc b/src/webui/www/webui.qrc index 25b402f6b..d7a377efb 100644 --- a/src/webui/www/webui.qrc +++ b/src/webui/www/webui.qrc @@ -21,9 +21,9 @@ private/newcategory.html private/newtag.html private/preferencesToolbar.html - private/preferences_content.html + private/preferences.html private/propertiesToolbar.html - private/properties_content.html + private/properties.html private/rename.html private/search.html private/searchplugins.html -- 2.11.4.GIT