diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-27 01:18:26 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-27 01:18:26 +0000 |
commit | 6ea995e8ce5cda65ffe9f4f333165f74a94ad8ca (patch) | |
tree | c19f561df0d365a4f27defa051a55e731711ba4f /design/templates/details | |
parent | 75add1c54b5bb708765687ad90f6ad11b380e4f2 (diff) |
fixed a bug in book image url and added template for elliott videos page
Diffstat (limited to 'design/templates/details')
-rw-r--r-- | design/templates/details/elliottvideos.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/design/templates/details/elliottvideos.html b/design/templates/details/elliottvideos.html new file mode 100644 index 0000000..a91136c --- /dev/null +++ b/design/templates/details/elliottvideos.html @@ -0,0 +1,42 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% block pagetitle %}Luxagraf | {{object.title}}{% endblock %} +{% block extrahead %} +<style> +.vidwrap{ + position: relative; + padding-bottom: 56.25%; /* 16:9 */ + padding-top: 25px; + height: 0; +} +.vidwrap video, +.vidwrap embed, { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + + +@media only screen and (max-width : 960px) { + .vidwrap video {width: 100%;} +} +@media only screen and (min-width : 1024px) {} + .vidwrap video {max-width: 960px;} +} + +</style> +<meta name="robots" content="noindex, nofollow"> +{% endblock %} +{% block metadescription %}{{object.metadescription}}{% endblock %} +{%block htmlclass%}class="dark"{%endblock%} + +{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> + <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li> + <li>{{object.title}}</li> + </ul> + <div role="main"> + {{object.body_html|safe}} + </div> +{% endblock %} |