update components

This commit is contained in:
Luke Pulverenti 2016-07-05 15:24:45 -04:00
parent e641669846
commit 52feb510c8
7 changed files with 49 additions and 56 deletions

View File

@ -1,4 +1,4 @@
<div id="addPluginPage" data-role="page" class="page type-interior pluginConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Plugins" data-require="jqmcollapsible,registrationservices,scripts/ratingdialog,scripts/addpluginpage"> <div id="addPluginPage" data-role="page" class="page type-interior pluginConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Plugins" data-require="emby-select,emby-collapse,registrationservices,scripts/ratingdialog,scripts/addpluginpage">
<div data-role="content"> <div data-role="content">
<div class="content-primary"> <div class="content-primary">
@ -9,25 +9,26 @@
<div class="readOnlyContent"> <div class="readOnlyContent">
<h2 class="pluginName"></h2> <h1 class="pluginName"></h1>
<p id="tagline" style="font-style: italic;"></p> <p id="tagline" style="font-style: italic;"></p>
<p id="pPreviewImage"></p> <p id="pPreviewImage"></p>
<p id="overview"></p> <p id="overview"></p>
<div data-role="collapsible" data-collapsed="false" style="margin-top: 2em;"> <div style="margin-top: 2em;">
<h3>${HeaderInstall}</h3> <h1>${HeaderInstall}</h1>
<div> <div>
<form class="addPluginForm"> <form class="addPluginForm">
<p id="pCurrentVersion"></p> <p id="pCurrentVersion"></p>
<p id="pSelectVersion" class="hide"> <div id="pSelectVersion" class="hide selectContainer">
<label for="selectVersion">${LabelSelectVersionToInstall}</label> <select id="selectVersion" name="selectVersion" is="emby-select" label="${LabelSelectVersionToInstall}"></select>
<select id="selectVersion" name="selectVersion"></select> </div>
</p>
<p id="btnInstallDiv" class="hide"> <p id="btnInstallDiv" class="hide">
<button id="btnInstall" type="submit" data-icon="arrow-d" data-theme="b">Install</button> <button is="emby-button" type="submit" id="btnInstall" class="raised submit block">
<iron-icon icon="check"></iron-icon><span>${Install}</span>
</button>
</p> </p>
<p id="nonServerMsg"></p> <p id="nonServerMsg"></p>
</form> </form>
@ -75,28 +76,29 @@
</div> </div>
</div> </div>
</div> </div>
<br />
<div class="readOnlyContent"> <div class="readOnlyContent">
<div data-role="collapsible" data-collapsed="false" style="margin-top: 2em;"> <div is="emby-collapse" title="${HeaderReviews}">
<h3>${HeaderReviews}</h3> <div class="collapseContent">
<div>
<br /> <br />
<div id="ratingLine"></div> <div id="ratingLine"></div>
<div id="latestReviews"></div> <div id="latestReviews"></div>
</div> </div>
</div> </div>
<div data-role="collapsible" data-collapsed="false" style="margin-top: 2em;"> <div is="emby-collapse" title="${HeaderDeveloperInfo}">
<h3>${HeaderDeveloperInfo}</h3> <div class="collapseContent">
<p id="developer"></p> <p id="developer"></p>
<p id="pViewWebsite" style="display: none;"> <p id="pViewWebsite" style="display: none;">
<a href="#" data-rel="external" target="_blank">${ButtonViewWebsite}</a> <a href="#" data-rel="external" target="_blank">${ButtonViewWebsite}</a>
</p> </p>
</div>
</div> </div>
<div data-role="collapsible" style="margin-top: 2em;"> <div is="emby-collapse" title="${HeaderRevisionHistory}">
<h3>${HeaderRevisionHistory}</h3> <div class="collapseContent">
<div id="revisionHistory"></div> <div id="revisionHistory"></div>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

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

View File

@ -71,7 +71,7 @@
.dialog .buttons { .dialog .buttons {
position: relative; position: relative;
padding: 8px 8px 0 24px; padding: 8px 8px 8px 24px;
margin: 0; margin: 0;
color: #3f51b5; color: #3f51b5;
display: -ms-flexbox; display: -ms-flexbox;

View File

@ -11,7 +11,7 @@ button.listItem {
} }
.listItem { .listItem {
display: flex; display: block;
align-items: center; align-items: center;
text-align: left; text-align: left;
padding: 0 1em !important; padding: 0 1em !important;
@ -26,12 +26,16 @@ button.listItem {
flex-shrink: 0; flex-shrink: 0;
} }
.listItem > * {
display: inline-block;
vertical-align: middle;
}
.listItemBody { .listItemBody {
flex-grow: 1; flex-grow: 1;
padding: 0 1.15em; padding: 0 1.15em;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: flex;
flex-direction: column; flex-direction: column;
vertical-align: middle; vertical-align: middle;
justify-content: center; justify-content: center;
@ -128,3 +132,11 @@ button.listItem {
box-shadow: none !important; box-shadow: none !important;
background-color: transparent !important; background-color: transparent !important;
} }
@supports (display: flex) {
.listItem, .listItemBody {
display: flex;
}
}

View File

@ -21,26 +21,6 @@ define(['dialogHelper', 'inputManager', 'connectionManager', 'layoutManager', 'f
options.tag = item.AlbumPrimaryImageTag; options.tag = item.AlbumPrimaryImageTag;
return apiClient.getScaledImageUrl(item.AlbumId, options); return apiClient.getScaledImageUrl(item.AlbumId, options);
} }
//else if (item.AlbumId && item.SeriesPrimaryImageTag) {
// imgUrl = ApiClient.getScaledImageUrl(item.SeriesId, {
// type: "Primary",
// width: downloadWidth,
// tag: item.SeriesPrimaryImageTag,
// minScale: minScale
// });
//}
//else if (item.ParentPrimaryImageTag) {
// imgUrl = ApiClient.getImageUrl(item.ParentPrimaryImageItemId, {
// type: "Primary",
// width: downloadWidth,
// tag: item.ParentPrimaryImageTag,
// minScale: minScale
// });
//}
} }
return null; return null;

View File

@ -28,14 +28,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"ignore": [], "ignore": [],
"homepage": "https://github.com/polymerelements/iron-resizable-behavior", "homepage": "https://github.com/PolymerElements/iron-resizable-behavior",
"_release": "1.0.3", "_release": "1.0.3",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.3", "tag": "v1.0.3",
"commit": "dda1df6aaf452aedf3e52ff0cf69e72439452216" "commit": "dda1df6aaf452aedf3e52ff0cf69e72439452216"
}, },
"_source": "git://github.com/polymerelements/iron-resizable-behavior.git", "_source": "git://github.com/PolymerElements/iron-resizable-behavior.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "polymerelements/iron-resizable-behavior" "_originalSource": "PolymerElements/iron-resizable-behavior"
} }

View File

@ -1,4 +1,4 @@
<div id="liveTvSeriesTimerPage" data-role="page" class="page libraryPage liveTvPage noSecondaryNavPage" data-contextname="${HeaderLiveTv}" data-require="jqmcheckbox,jqmcontrolgroup,emby-button,jqmcollapsible,scripts/livetvcomponents,scripts/livetvseriestimer,livetvcss,paper-checkbox,paper-input" data-backbutton="true" data-menubutton="false"> <div id="liveTvSeriesTimerPage" data-role="page" class="page libraryPage liveTvPage noSecondaryNavPage" data-contextname="${HeaderLiveTv}" data-require="jqmcheckbox,jqmcontrolgroup,emby-button,emby-collapse,scripts/livetvcomponents,scripts/livetvseriestimer,livetvcss,paper-checkbox,paper-input" data-backbutton="true" data-menubutton="false">
<div data-role="content"> <div data-role="content">
@ -42,9 +42,8 @@
<paper-checkbox id="chkAllChannels">${OptionRecordOnAllChannels}</paper-checkbox> <paper-checkbox id="chkAllChannels">${OptionRecordOnAllChannels}</paper-checkbox>
</div> </div>
<br /> <br />
<div data-role="collapsible" data-mini="true"> <div is="emby-collapse" title="${HeaderAdvanced}">
<h3>${HeaderAdvanced}</h3> <div class="collapseContent">
<div>
<br /> <br />
<div> <div>
<paper-input type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}"></paper-input> <paper-input type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}"></paper-input>