Browse Source

add layout for poster image

master
cinnaboot 6 years ago
parent
commit
528447ef89
  1. BIN
      video_metadata/static/no_poster_w154.jpg
  2. 6
      video_metadata/static/style.css
  3. 1
      video_metadata/templates/file_listing/file_listing.html

BIN
video_metadata/static/no_poster_w154.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

6
video_metadata/static/style.css

@ -43,13 +43,15 @@ input.danger { color: #cc2f2e; }
.search_result { .search_result {
overflow: auto; overflow: auto;
max-height: 100px; max-width: 300px; max-height: 231px; max-width: 400px;
border: 1px solid blue; border: 1px solid blue;
margin-bottom: 1em; padding: 0.5em 1em; margin-bottom: 1em; padding: 0.5em 1em;
background: lightblue; background: lightblue;
} }
.search_result h3, .search_result ul { border: 0; padding: 0; margin: 0 } .search_result h3, .search_result ul { border: 0; padding: 0; margin: 0 }
.search_result ul { font-size: 0.75em } .search_result ul { font-size: 0.75em; }
.search_result li { list-style: none; }
.search_result img { float: left; margin-right: 1em; }
.play_link { float: right; } .play_link { float: right; }
.test li { list-style: none; display: inline; padding-left: 0.5em; } .test li { list-style: none; display: inline; padding-left: 0.5em; }

1
video_metadata/templates/file_listing/file_listing.html

@ -22,6 +22,7 @@
</template> </template>
<template id="query_result"> <template id="query_result">
<div class="search_result"> <div class="search_result">
<a href=""><img src="{{ url_for('static', filename='no_poster_w154.jpg') }}" /></a>
<h3><a href=""></a></h3> <h3><a href=""></a></h3>
<ul> <ul>
<li><a class="mapping_link" href="">Click here to Select</a></li> <li><a class="mapping_link" href="">Click here to Select</a></li>

Loading…
Cancel
Save