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

update components

This commit is contained in:
Luke Pulverenti 2016-07-07 14:12:08 -04:00
parent b4e32e14d4
commit 91127df6f0
21 changed files with 65 additions and 35 deletions

View file

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.71",
"_release": "1.4.71",
"version": "1.4.73",
"_release": "1.4.73",
"_resolution": {
"type": "version",
"tag": "1.4.71",
"commit": "0613abc5976a0da9db22854809449e09517ae2b6"
"tag": "1.4.73",
"commit": "5e4922dc23251974102519fa892f452c8bc7f670"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View file

@ -85,6 +85,11 @@ h2.actionSheetTitle {
flex-grow: 0;
}
.actionSheetText {
padding: 0 1em;
flex-grow: 0;
}
.actionSheet.extraSpacing {
font-size: 108%;
}
}

View file

@ -140,6 +140,11 @@
html += '</h2>';
}
}
if (options.text) {
html += '<p class="actionSheetText">';
html += options.text;
html += '</p>';
}
var scrollType = layoutManager.desktop ? 'smoothScrollY' : 'hiddenScrollY';
var style = (browser.noFlex || browser.firefox) ? 'max-height:400px;' : '';

View file

@ -44,7 +44,7 @@ define(['dialogHelper', 'layoutManager', 'globalize', 'material-icons', 'css!./.
html += '<div class="promptDialogContent">';
if (backButton) {
html += getIcon('arrow_back', 'btnPromptExit', false);
html += getIcon('&#xE5C4;', 'btnPromptExit', false);
}
if (options.title) {

View file

@ -77,7 +77,6 @@
function cancelAnimation() {
var animation = currentAnimation;
if (animation) {
console.log('Cancelling backdrop animation');
animation.cancel();
currentAnimation = null;
}

View file

@ -243,7 +243,7 @@
var title = items.length ? globalize.translate('sharedcomponents#AddToCollection') : globalize.translate('sharedcomponents#NewCollection');
html += '<div class="dialogHeader" style="margin:0 0 2em;">';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">arrow_back</i></button>';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>';
html += '<div class="dialogHeaderTitle">';
html += title;
html += '</div>';

View file

@ -22,7 +22,7 @@ define(['connectionManager', 'playbackManager', 'events', 'inputManager', 'focus
// Full list
// https://github.com/MediaBrowser/MediaBrowser/blob/master/MediaBrowser.Model/Session/GeneralCommand.cs#L23
console.log('Received command: ' + cmd.Name);
//console.log('Received command: ' + cmd.Name);
switch (cmd.Name) {

View file

@ -224,7 +224,7 @@
var title = globalize.translate('sharedcomponents#AddToPlaylist');
html += '<div class="dialogHeader" style="margin:0 0 2em;">';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">arrow_back</i></button>';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>';
html += '<div class="dialogHeaderTitle">';
html += title;
html += '</div>';

View file

@ -43,7 +43,7 @@ define(['dialogHelper', 'layoutManager', 'globalize', 'material-icons', 'css!./s
html += '<div class="promptDialogContent">';
if (backButton) {
html += getIcon('arrow_back', 'btnPromptExit', false);
html += getIcon('&#xE5C4;', 'btnPromptExit', false);
}
if (options.title) {

View file

@ -1,5 +1,5 @@
<div class="dialogHeader">
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">arrow_back</i></button>
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>
<div class="dialogHeaderTitle">
${HeaderNewRecording}
</div>

View file

@ -1,5 +1,5 @@
<div class="dialogHeader">
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">arrow_back</i></button>
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>
<div class="dialogHeaderTitle">
${Edit}
</div>

View file

@ -115,7 +115,7 @@
var title = globalize.translate('sharedcomponents#RefreshMetadata');
html += '<div class="dialogHeader" style="margin:0 0 2em;">';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">arrow_back</i></button>';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>';
html += '<div class="dialogHeaderTitle">';
html += title;
html += '</div>';

View file

@ -1,5 +1,5 @@
<div class="dialogHeader">
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">arrow_back</i></button>
<button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>
<div class="dialogHeaderTitle">${Subtitles}</div>
</div>
<div class="dialogContent smoothScrollY">

View file

@ -113,7 +113,7 @@ define(['dialogHelper', './voicereceiver', './voiceprocessor', 'globalize', 'emb
var html = '';
html += '<div class="dialogHeader" style="margin:0 0 1em;">';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize btnCancelVoiceInput" tabindex="-1"><i class="md-icon">arrow_back</i></button>';
html += '<button is="paper-icon-button-light" class="btnCancel autoSize btnCancelVoiceInput" tabindex="-1"><i class="md-icon">&#xE5C4;</i></button>';
html += '<div class="dialogHeaderTitle" id="voiceDialogGroupName">';
html += '</div>';
html += '</div>';