mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
better unc path message
This commit is contained in:
parent
45b70a3c08
commit
a587a355d2
3 changed files with 26 additions and 7 deletions
|
@ -405,7 +405,26 @@ form, .readOnlyContent {
|
||||||
#ulDirectoryPickerList a {
|
#ulDirectoryPickerList a {
|
||||||
padding-top: .4em;
|
padding-top: .4em;
|
||||||
padding-bottom: .4em;
|
padding-bottom: .4em;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lblDirectoryPickerPath {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.directoryPickerHeadline {
|
||||||
|
border: 1px solid #f7c942;
|
||||||
|
color: #222;
|
||||||
|
text-shadow: 0 1px 0 #fff;
|
||||||
|
background: #fff9df;
|
||||||
|
background-image: -webkit-gradient(linear,left top,left bottom,from(#fffadf),to(#fff3a5));
|
||||||
|
background-image: -webkit-linear-gradient(#fffadf,#fff3a5);
|
||||||
|
background-image: -moz-linear-gradient(#fffadf,#fff3a5);
|
||||||
|
background-image: -ms-linear-gradient(#fffadf,#fff3a5);
|
||||||
|
background-image: -o-linear-gradient(#fffadf,#fff3a5);
|
||||||
|
background-image: linear-gradient(#fffadf,#fff3a5);
|
||||||
|
padding: 1em;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
header: "Select Items By Name Path",
|
header: "Select Items By Name Path",
|
||||||
|
|
||||||
instruction: "Browse or enter the path to your items by name folder. The folder must be writeable."
|
instruction: "<p>Browse or enter the path to your items by name folder. The folder must be writeable.</p>"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -477,9 +477,9 @@ var Dashboard = {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
options.header = options.header || "Select Media Path";
|
options.header = options.header || "Select Media Path";
|
||||||
options.instruction = options.instruction || "Browse to or enter the folder containing the media. Network paths (UNC) are recommended for optimal playback performance.";
|
options.instruction = options.instruction || "<p class='directoryPickerHeadline'>Network paths (UNC) are optional, but will allow direct file playback when possible.</p>";
|
||||||
|
|
||||||
var html = '<div data-role="popup" id="popupDirectoryPicker" class="ui-corner-all popup" style="min-width:60%;">';
|
var html = '<div data-role="popup" id="popupDirectoryPicker" class="ui-corner-all popup" style="min-width:65%;">';
|
||||||
|
|
||||||
html += '<div class="ui-corner-top ui-bar-a" style="text-align: center; padding: 0 20px;">';
|
html += '<div class="ui-corner-top ui-bar-a" style="text-align: center; padding: 0 20px;">';
|
||||||
html += '<h3>' + options.header + '</h3>';
|
html += '<h3>' + options.header + '</h3>';
|
||||||
|
@ -487,14 +487,14 @@ var Dashboard = {
|
||||||
|
|
||||||
html += '<div data-role="content" class="ui-corner-bottom ui-content">';
|
html += '<div data-role="content" class="ui-corner-bottom ui-content">';
|
||||||
html += '<form>';
|
html += '<form>';
|
||||||
html += '<p>' + options.instruction + '</p>';
|
html += '<div>' + options.instruction + '</div>';
|
||||||
|
|
||||||
html += '<div data-role="fieldcontain" style="margin:0;">';
|
html += '<div data-role="fieldcontain" style="margin:0;">';
|
||||||
html += '<label for="txtDirectoryPickerPath">Current Folder:</label>';
|
html += '<label for="txtDirectoryPickerPath" class="lblDirectoryPickerPath">Current Folder:</label>';
|
||||||
html += '<input id="txtDirectoryPickerPath" name="txtDirectoryPickerPath" type="text" onchange="Dashboard.refreshDirectoryBrowser(this.value);" required="required" style="font-weight:bold;" />';
|
html += '<input id="txtDirectoryPickerPath" name="txtDirectoryPickerPath" type="text" onchange="Dashboard.refreshDirectoryBrowser(this.value);" required="required" style="font-weight:bold;" />';
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
html += '<div style="height: 300px; overflow-y: auto;">';
|
html += '<div style="height: 320px; overflow-y: auto;">';
|
||||||
html += '<ul id="ulDirectoryPickerList" data-role="listview" data-inset="true" data-auto-enhanced="false"></ul>';
|
html += '<ul id="ulDirectoryPickerList" data-role="listview" data-inset="true" data-auto-enhanced="false"></ul>';
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue