mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update components
This commit is contained in:
parent
5792dbcb1e
commit
778d3e8683
@ -16,12 +16,12 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.3.93",
|
"version": "1.3.94",
|
||||||
"_release": "1.3.93",
|
"_release": "1.3.94",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.3.93",
|
"tag": "1.3.94",
|
||||||
"commit": "e471f95b705f30e5e07437f1adb28ca9f957b6e3"
|
"commit": "4c485c81f1611cd184ca31455de0535105a6e123"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "^1.2.0",
|
"_target": "^1.2.0",
|
||||||
|
@ -28,13 +28,6 @@
|
|||||||
|
|
||||||
EmbyInputPrototype.createdCallback = function () {
|
EmbyInputPrototype.createdCallback = function () {
|
||||||
|
|
||||||
var parent = this.parentNode;
|
|
||||||
if (!parent.classList.contains('inputContainer')) {
|
|
||||||
var div = this.ownerDocument.createElement('div');
|
|
||||||
div.classList.add('inputContainer');
|
|
||||||
parent.replaceChild(div, this);
|
|
||||||
div.appendChild(this);
|
|
||||||
}
|
|
||||||
if (!this.id) {
|
if (!this.id) {
|
||||||
this.id = 'input' + new Date().getTime();
|
this.id = 'input' + new Date().getTime();
|
||||||
}
|
}
|
||||||
@ -51,16 +44,17 @@
|
|||||||
if (this.getAttribute('data-embyinput') != 'true') {
|
if (this.getAttribute('data-embyinput') != 'true') {
|
||||||
this.setAttribute('data-embyinput', 'true');
|
this.setAttribute('data-embyinput', 'true');
|
||||||
|
|
||||||
|
var parentNode = this.parentNode;
|
||||||
var label = this.ownerDocument.createElement('label');
|
var label = this.ownerDocument.createElement('label');
|
||||||
label.innerHTML = this.getAttribute('label') || '';
|
label.innerHTML = this.getAttribute('label') || '';
|
||||||
label.classList.add('inputLabel');
|
label.classList.add('inputLabel');
|
||||||
label.classList.add('inputLabelUnfocused');
|
label.classList.add('inputLabelUnfocused');
|
||||||
label.htmlFor = this.id;
|
label.htmlFor = this.id;
|
||||||
this.parentNode.insertBefore(label, this);
|
parentNode.insertBefore(label, this);
|
||||||
|
|
||||||
var div = document.createElement('div');
|
var div = document.createElement('div');
|
||||||
div.classList.add('emby-input-selectionbar');
|
div.classList.add('emby-input-selectionbar');
|
||||||
this.parentNode.insertBefore(div, this.nextSibling);
|
parentNode.insertBefore(div, this.nextSibling);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -147,7 +147,9 @@
|
|||||||
|
|
||||||
html += '<div class="newPlaylistInfo">';
|
html += '<div class="newPlaylistInfo">';
|
||||||
|
|
||||||
|
html += '<div class="inputContainer">';
|
||||||
html += '<input is="emby-input" type="text" id="txtNewPlaylistName" required="required" label="' + globalize.translate('sharedcomponents#LabelName') + '" />';
|
html += '<input is="emby-input" type="text" id="txtNewPlaylistName" required="required" label="' + globalize.translate('sharedcomponents#LabelName') + '" />';
|
||||||
|
html += '</div>';
|
||||||
|
|
||||||
html += '<br />';
|
html += '<br />';
|
||||||
|
|
||||||
|
@ -55,10 +55,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
<br/>
|
||||||
|
<div class="inputContainer">
|
||||||
|
<input is="emby-input" type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}" />
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<input is="emby-input" type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}" />
|
<div class="inputContainer">
|
||||||
<br />
|
<input is="emby-input" type="number" id="txtPostPaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPostPaddingMinutes}" />
|
||||||
<input is="emby-input" type="number" id="txtPostPaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPostPaddingMinutes}" />
|
</div>
|
||||||
</emby-collapsible>
|
</emby-collapsible>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,9 +25,13 @@
|
|||||||
|
|
||||||
<form>
|
<form>
|
||||||
<br />
|
<br />
|
||||||
<input is="emby-input" type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}" />
|
<div class="inputContainer">
|
||||||
|
<input is="emby-input" type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}" />
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<input is="emby-input" type="number" id="txtPostPaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPostPaddingMinutes}" />
|
<div class="inputContainer">
|
||||||
|
<input is="emby-input" type="number" id="txtPostPaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPostPaddingMinutes}" />
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<paper-button raised class="btnSubmit block" autofocus><iron-icon icon="mediainfo:fiber-manual-record"></iron-icon><span>${Save}</span></paper-button>
|
<paper-button raised class="btnSubmit block" autofocus><iron-icon icon="mediainfo:fiber-manual-record"></iron-icon><span>${Save}</span></paper-button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -26,14 +26,14 @@
|
|||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"main": "iron-meta.html",
|
"main": "iron-meta.html",
|
||||||
"homepage": "https://github.com/PolymerElements/iron-meta",
|
"homepage": "https://github.com/polymerelements/iron-meta",
|
||||||
"_release": "1.1.1",
|
"_release": "1.1.1",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.1.1",
|
"tag": "v1.1.1",
|
||||||
"commit": "e171ee234b482219c9514e6f9551df48ef48bd9f"
|
"commit": "e171ee234b482219c9514e6f9551df48ef48bd9f"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-meta.git",
|
"_source": "git://github.com/polymerelements/iron-meta.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-meta"
|
"_originalSource": "polymerelements/iron-meta"
|
||||||
}
|
}
|
@ -34,6 +34,6 @@
|
|||||||
"commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514"
|
"commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/Polymer/polymer.git",
|
"_source": "git://github.com/Polymer/polymer.git",
|
||||||
"_target": "^1.1.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "Polymer/polymer"
|
"_originalSource": "Polymer/polymer"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user