Skip to content

Commit

Permalink
style tweaks and handle flickr url
Browse files Browse the repository at this point in the history
  • Loading branch information
paregorios committed Apr 3, 2015
1 parent 61e3c02 commit 938e4a1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions isaw/images/proof_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'isaw-publish-cleared',
'license',
'license-release-verified'
'flickr-url'
]

class Proof():
Expand Down Expand Up @@ -87,7 +88,9 @@ def __generate__(self, path):
border: 1px solid #CCCCCC;
box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.25) inset, 0px 1px 2px rgba(0, 0, 0, 0.5);
max-height: 120px;
margin: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
.caption {
font-weight: bold;
Expand All @@ -96,6 +99,8 @@ def __generate__(self, path):
margin: 0px;
padding: 0px;
font-size: smaller;
padding-left: 2em ;
text-indent: -2em ;
}
.package .image img:hover {
box-shadow: none;
Expand Down Expand Up @@ -135,7 +140,11 @@ def __generate__(self, path):
except KeyError:
p("{0}: [[no {1}]]".format(k, k))
else:
p("{0}: {1}".format(k, val))
if k == 'flickr-url':
with p():
a("flickr", href="{0}".format(val))
else:
p("{0}: {1}".format(k, val))



Expand Down

0 comments on commit 938e4a1

Please sign in to comment.