mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove web path modify option
This commit is contained in:
parent
ca9e5d83bf
commit
ae7b8d59f2
3 changed files with 1 additions and 29 deletions
|
@ -97,7 +97,7 @@ define(["jQuery", "loading", "fnchecked", "emby-checkbox", "emby-textarea", "emb
|
||||||
$("#txtMetadataPath", view).val(path);
|
$("#txtMetadataPath", view).val(path);
|
||||||
}
|
}
|
||||||
if (networkPath) {
|
if (networkPath) {
|
||||||
$("#txtMetadataNetworkPath", view).val(networkPath));
|
$("#txtMetadataNetworkPath", view).val(networkPath);
|
||||||
}
|
}
|
||||||
picker.close();
|
picker.close();
|
||||||
},
|
},
|
||||||
|
@ -109,22 +109,6 @@ define(["jQuery", "loading", "fnchecked", "emby-checkbox", "emby-textarea", "emb
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#btnSelectWebPath", view).on("click.selectDirectory", function() {
|
|
||||||
require(["directorybrowser"], function(directoryBrowser) {
|
|
||||||
var picker = new directoryBrowser;
|
|
||||||
picker.show({
|
|
||||||
callback: function(path) {
|
|
||||||
if (path) {
|
|
||||||
view.querySelector("#txtWebPath").value = path;
|
|
||||||
}
|
|
||||||
picker.close();
|
|
||||||
},
|
|
||||||
header: Globalize.translate("LabelWebPath"),
|
|
||||||
instruction: Globalize.translate("LabelWebPathHelp")
|
|
||||||
})
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".dashboardGeneralForm", view).off("submit", onSubmit).on("submit", onSubmit);
|
$(".dashboardGeneralForm", view).off("submit", onSubmit).on("submit", onSubmit);
|
||||||
view.addEventListener("viewshow", function() {
|
view.addEventListener("viewshow", function() {
|
||||||
var promiseConfig = ApiClient.getServerConfiguration();
|
var promiseConfig = ApiClient.getServerConfiguration();
|
||||||
|
|
|
@ -55,16 +55,6 @@
|
||||||
<div class="fieldDescription">${LabelMetadataPathHelp}</div>
|
<div class="fieldDescription">${LabelMetadataPathHelp}</div>
|
||||||
<input type="hidden" id="txtMetadataNetworkPath" />
|
<input type="hidden" id="txtMetadataNetworkPath" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="inputContainer">
|
|
||||||
<div style="display: flex; align-items: center;">
|
|
||||||
<div style="flex-grow:1;">
|
|
||||||
<input is="emby-input" id="txtWebPath" label="${LabelWebPath}" autocomplete="off" />
|
|
||||||
</div>
|
|
||||||
<button type="button" is="paper-icon-button-light" id="btnSelectWebPath" title="${ButtonSelectDirectory}" class="emby-input-iconbutton"><i class="md-icon">search</i></button>
|
|
||||||
</div>
|
|
||||||
<div class="fieldDescription">${LabelWebPathHelp}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="verticalSection autoUpdatesContainer hide">
|
<div class="verticalSection autoUpdatesContainer hide">
|
||||||
|
|
|
@ -1122,8 +1122,6 @@
|
||||||
"LabelMetadataDownloadersHelp": "Enable and rank your preferred metadata downloaders in order of priority. Lower priority downloaders will only be used to fill in missing information.",
|
"LabelMetadataDownloadersHelp": "Enable and rank your preferred metadata downloaders in order of priority. Lower priority downloaders will only be used to fill in missing information.",
|
||||||
"LabelMetadataPath": "Metadata path:",
|
"LabelMetadataPath": "Metadata path:",
|
||||||
"LabelMetadataPathHelp": "Specify a custom location for downloaded artwork and metadata.",
|
"LabelMetadataPathHelp": "Specify a custom location for downloaded artwork and metadata.",
|
||||||
"LabelWebPath": "Web path:",
|
|
||||||
"LabelWebPathHelp": "The path where the web client source is located. Do not change this unless you plan on moving the web files, or the web interface will break.",
|
|
||||||
"LabelMetadataReaders": "Metadata readers:",
|
"LabelMetadataReaders": "Metadata readers:",
|
||||||
"LabelMetadataReadersHelp": "Rank your preferred local metadata sources in order of priority. The first file found will be read.",
|
"LabelMetadataReadersHelp": "Rank your preferred local metadata sources in order of priority. The first file found will be read.",
|
||||||
"LabelMetadataSavers": "Metadata savers:",
|
"LabelMetadataSavers": "Metadata savers:",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue