Fix database check bug.

Some styling adjustments.
Use the proper image fallbacks.
This commit is contained in:
Tim 2015-07-10 14:04:30 +02:00
parent ec3253afdb
commit dcab175c18
4 changed files with 5 additions and 16 deletions

View file

@ -6689,6 +6689,7 @@ button.close {
min-width: 140px;
}
.dashboard-activity-poster-music-bg {
background-position: center;
position:absolute;
width:100%;
height:100%;

View file

@ -32,20 +32,12 @@ DOCUMENTATION :: END
% if item['type'] == 'season' or item['type'] == 'movie':
<div class="poster-face">
<a href="info?rating_key=${item['rating_key']}">
% if item['thumb'] != '':
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=225" class="poster-face">
% else:
<img src="interfaces/default/images/poster.png" class="poster-face" width="153" height="225">
% endif
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=225&fallback=poster" class="poster-face">
</a>
</div>
% elif item['type'] == 'album':
<div class="cover-face">
% if item['thumb'] != '':
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=153" class="cover-face">
% else:
<img src="interfaces/default/images/poster.png" class="cover-face" width="153" height="153">
% endif
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=153&fallback=cover" class="cover-face">
</div>
% endif
</div>

View file

@ -35,11 +35,7 @@ DOCUMENTATION :: END
<div class="poster">
<div class="poster-face">
<a href="info?rating_key=${item['rating_key']}">
% if item['thumb'] != '':
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=225" class="poster-face">
% else:
<img src="interfaces/default/images/poster.png" class="poster-face">
% endif
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=225&fallback=poster" class="poster-face">
</a>
</div>
</div>