1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

store chapter image date modified

This commit is contained in:
Luke Pulverenti 2016-07-06 13:44:44 -04:00
parent 8c175cbbbd
commit 6e90fe1460
8 changed files with 38 additions and 22 deletions

View file

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.65",
"_release": "1.4.65",
"version": "1.4.66",
"_release": "1.4.66",
"_resolution": {
"type": "version",
"tag": "1.4.65",
"commit": "f19face68090bcc1fc0f082188cb95792ef18285"
"tag": "1.4.66",
"commit": "16a14d612b193c7a375e2391aa9c2370add0e32d"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View file

@ -24,8 +24,9 @@ define(['focusManager', 'css!./style.css', 'clearButtonStyle', 'paper-icon-butto
html += '<div class="alphaPickerRow">';
if (options.mode == 'keyboard') {
// space_bar icon
html += '<button data-value=" " is="paper-icon-button-light" class="alphaPickerButton autoSize">\
<i class="md-icon">space_bar</i>\
<i class="md-icon">&#xE256;</i>\
</button>';
} else {
letters = ['#'];
@ -36,8 +37,9 @@ define(['focusManager', 'css!./style.css', 'clearButtonStyle', 'paper-icon-butto
html += letters.map(getLetterButton).join('');
if (options.mode == 'keyboard') {
// backspace icon
html += '<button data-value="backspace" is="paper-icon-button-light" class="alphaPickerButton autoSize">\
<i class="md-icon">backspace</i>\
<i class="md-icon">&#xE14A;</i>\
</button>';
html += '</div>';

View file

@ -153,11 +153,13 @@ _:-ms-input-placeholder, :root .mdl-slider.mdl-slider {
}
.layout-tv .mdl-slider::-webkit-slider-thumb {
display: none;
width: 0;
height: 0;
}
.layout-tv .mdl-slider:hover::-webkit-slider-thumb {
display: block;
width: 16px;
height: 16px;
}
.mdl-slider.is-lowest-value::-webkit-slider-thumb {

View file

@ -22,18 +22,20 @@
// range.classList.remove('is-lowest-value');
//}
if (backgroundLower) {
var fraction = (range.value - range.min) / (range.max - range.min);
var value = range.value;
requestAnimationFrame(function () {
backgroundLower.style.flex = fraction;
backgroundLower.style.webkitFlex = fraction;
backgroundUpper.style.flex = 1 - fraction;
backgroundUpper.style.webkitFlex = 1 - fraction;
}
if (backgroundLower) {
var fraction = (value - range.min) / (range.max - range.min);
backgroundLower.style.flex = fraction;
backgroundUpper.style.flex = 1 - fraction;
}
});
}
function updateBubble(range, bubble) {
var value = range.value;
bubble.style.left = (value - 1) + '%';
@ -71,15 +73,22 @@
var backgroundUpper = containerElement.querySelector('.mdl-slider__background-upper');
var sliderBubble = containerElement.querySelector('.sliderBubble');
var hasHideClass = sliderBubble.classList.contains('hide');
this.addEventListener('input', function (e) {
this.dragging = true;
updateBubble(this, sliderBubble);
sliderBubble.classList.remove('hide');
if (hasHideClass) {
sliderBubble.classList.remove('hide');
hasHideClass = false;
}
});
this.addEventListener('change', function () {
this.dragging = false;
updateValues(this, backgroundLower, backgroundUpper);
sliderBubble.classList.add('hide');
hasHideClass = true;
});
if (!supportsNativeProgressStyle) {

View file

@ -19,6 +19,9 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
showSearch: function () {
skinManager.getCurrentSkin().search();
},
showGenre: function (options) {
skinManager.getCurrentSkin().showGenre(options);
},
showGuide: function () {
skinManager.getCurrentSkin().showGuide();
},