1 {% extends "catalogue/viewer_base.html" %}
3 {% load static from staticfiles %}
4 {% load compressed catalogue_tags %}
8 {% block title %}{{ picture.pretty_title }}{% endblock %}
11 {% block body-id %}picture-viewer{% endblock %}
14 {% block js-dependencies %}
15 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
19 {% block no-menu-extra %}
20 <li><a class="square button plus inactive" href="#">+<!--➕--><!-- heavy plus sign --></a></li><li><a class="square button minus inactive" href="#">-<!-- ➖--><!-- heavy minus sign --></a></li>
25 <li><a style="width: 50%;display: inline-block;" class="square button plus inactive" href="#">+<!--➕--><!-- heavy plus sign --></a><a style="width: 50%;display: inline-block;" class="square button minus inactive" href="#">-<!-- ➖--><!-- heavy minus sign --></a></li>
28 <li><a href="{{ picture.get_absolute_url }}" id="menu-book" data-box="book-short">
29 <img src="{% thumbnail picture.image_file '80x200' as thumb %}{{ thumb.url }}{% empty %}{{ picture.image_file.url }}{% endthumbnail %}"
31 alt="{{ picture.pretty_title }}"
32 title="{{ picture.pretty_title }}">
36 <li><a href="#picture-objects" class="dropdown"><span class="label">{% trans "Objects" %}</span></a></li>
37 <li><a href="#picture-themes" class="dropdown"><span class="label">{% trans "Themes" %}</span></a></li>
40 <li id="menu-info"><a href="#info" data-box="info">
41 <span class="label">{% trans "Infobox" %}</span>
45 <a href="http://www.nck.pl"><img src="{% static "img/logo_nck.jpg" %}" alt="Narodowe Centrum Kultury" ></img></a>
51 <div id="picture-view">
52 {% thumbnail picture.image_file "700x500" as pic %}
53 <div class="picture-wrap {% if picture.image_file|is_portrait %}portrait{% endif %}"
54 data-original-width="{{picture.width}}" data-original-height="{{picture.height}}"
55 data-original-url="{{ picture.image_file.url }}"
56 data-width="{{pic.width}}" data-height="{{pic.height}}" style="background-image: url('{{pic.url}}'); width: {{pic.width}}px; height: {{pic.height}}px;">
64 {{ picture.html_file.read|safe }}
66 <div id="info" class="box">
67 <div class="sponsors">
68 <a href="/"><img src="{% static "img/logo-220.png" %}" alt="Wolne Lektury" ></img>
70 <a href="http://www.nck.pl"><img src="{% static "img/logo_nck_200horiz_trans.png" %}" alt="Narodowe Centrum Kultury" ></img></a>
73 {% book_info picture %}
76 <div class="box Picture-item" id="book-short">
77 {{ picture.short_html }}