Add thumbnail images to Appliances grid

guess we'll see how folks like this
This commit is contained in:
Lance Edgar 2018-10-19 19:47:00 -05:00
parent 4aa8f43a7e
commit 78941ec8d9
3 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,30 @@
## -*- coding: utf-8; -*-
<%inherit file="/master/index.mako" />
<%def name="extra_styles()">
${parent.extra_styles()}
<style type="text/css">
.grid .image-frame {
height: 150px;
text-align: center;
white-space: nowrap;
width: 150px;
}
.grid .image-helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
.grid img {
vertical-align: middle;
max-height: 150px;
max-width: 150px;
}
</style>
</%def>
${parent.body()}