mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
35 lines
1.3 KiB
Twig
35 lines
1.3 KiB
Twig
{% import "common/thumbnail.html.twig" as thumbnail %}
|
|
|
|
{% extends "common/index.html.twig" %}
|
|
|
|
{% block javascript %}
|
|
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/lightbox/jquery.validator.mobile.js' }) }}"></script>
|
|
{% endblock %}
|
|
|
|
{% block stylesheet %}
|
|
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/lightbox/jquery.validator.mobile.css' }) }}" />
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% set record = feed_element.get_record() %}
|
|
<div data-role="page">
|
|
<div data-role="header">
|
|
<a href="{{ path('lightbox_feed_entry', { 'entry_id' : feed_element.get_entry().get_id() }) }}" data-rel="back" data-icon="arrow-l">Back</a>
|
|
<h1>{{feed_element.get_ord()}} - {{record.get_title()}}</h1>
|
|
<a rel="external" href="{{ path('lightbox') }}" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
|
|
</div>
|
|
<div data-role="content">
|
|
{{ thumbnail.format100percent(record.get_preview()) }}
|
|
</div>
|
|
<div data-role="footer">
|
|
|
|
</div>
|
|
<script type="text/javascript">
|
|
$( window ).on( "orientationchange", function( event ) {
|
|
$("#map").height($(window).height() - 50);
|
|
});
|
|
$( window ).orientationchange();
|
|
</script>
|
|
</div>
|
|
{% endblock %}
|