mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
128 lines
6.8 KiB
Twig
128 lines
6.8 KiB
Twig
{% extends "lightbox/index_layout.html.twig" %}
|
|
|
|
{% import 'common/thumbnail.html.twig' as thumbnail %}
|
|
{% import 'common/macros.html.twig' as macro %}
|
|
|
|
{% block javascript %}
|
|
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
|
|
<script type="text/javascript" src="/assets/lightbox/js/lightboxIe6{% if not app.debug %}.min{% endif %}.js"></script>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="innerWrapper" style="top:10px;left:10px;position:relative;width:100%;height:100%;">
|
|
<div id="innerTop" style="bottom:186px;position:relative;bottom:0;width:100%;">
|
|
|
|
<div id="record_wrapper" class="single PNBleft" style="overflow:hidden;">
|
|
<div id="record_main" class="record_display_box PNBleft" style="">
|
|
<div class="header ui-widget-header ui-corner-all left">
|
|
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;height:100%;">
|
|
<tr valign="middle">
|
|
<td style="width:10px;"></td>
|
|
<td style="width:35px;text-align:center;">
|
|
<div class="display_id">{% if first_item %}{{first_item.getOrd()}}{% endif %}</div>
|
|
</td>
|
|
<td style="text-align:left;width:auto;">
|
|
<div class="title title15" title="{% if first_item %}{{first_item.getRecord(app).get_title|e}}{% endif %}">
|
|
{% if first_item %}{{first_item.getRecord(app).get_title}}{% endif %}
|
|
</div>
|
|
</td>
|
|
<td style="text-align:right;width:230px;">
|
|
<div class="options">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="lightbox_container left">
|
|
{% if first_item %}
|
|
{% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_subdef(first_item.getRecord(app), 'preview') %}
|
|
{% set preview = first_item.getRecord(app).get_preview() %}
|
|
{% else %}
|
|
{% set preview = first_item.getRecord(app).get_thumbnail() %}
|
|
{% endif %}
|
|
{{thumbnail.format(preview, preview.get_width(), preview.get_height(),'', false, false)}}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div id="record_compare" class="record_display_box PNBleft">
|
|
<div class="header ui-widget-header ui-corner-all left">
|
|
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;height:100%;">
|
|
<tr valign="middle">
|
|
<td style="width:10px;"></td>
|
|
<td style="width:35px;text-align:center;">
|
|
<div class="display_id"></div>
|
|
</td>
|
|
<td style="text-align:left;width:auto;">
|
|
<div class="title title15" title="{% if first_item %}{{first_item.getRecord(app).get_title|e}}{% endif %}">
|
|
{% if first_item %}{{first_item.getRecord(app).get_title}}{% endif %}
|
|
</div>
|
|
</td>
|
|
<td style="text-align:right;width:230px;">
|
|
<div class="options"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="lightbox_container left">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="right_column" class="PNBleft" style="width:250px;overflow-y:scroll;overflow-x:hidden;background-color:#1f1e1b;">
|
|
<div class="right_column_title unselectable left" style="width:230px;height:30px;">
|
|
<table style="border:none;width:215px;height:30px;" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td>
|
|
<img class="collapsed" src="/assets/lightbox/images/collapsedie6.gif"/>
|
|
<span class="caption">{{ 'notice' | trans }}</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="right_column_wrapper right_column_wrapper_caption left unselectable" style="width:230px;height:auto;">
|
|
<div id="record_infos">
|
|
<div class="lightbox_container">
|
|
{% set business = app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(first_item.getRecord(app).get_base_id(), constant('\\ACL::CANMODIFRECORD')) %}
|
|
{% if first_item %}
|
|
{{macro.caption(first_item.getRecord(app), business, false)}}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="innerBottom" style="position:relative;bottom:0;width:100%;height:196px;">
|
|
<div class="" style="height:30px;width:100%;">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="width:20px;">
|
|
</td>
|
|
<td style="width:40px;">
|
|
<button class="ui-corner-all basket_downloader" title="{{ 'boutton::telecharger tous les documents' | trans }}">
|
|
<img src="/assets/lightbox/images/save.png"/>
|
|
</button>
|
|
</td>
|
|
<td>
|
|
<hr/>
|
|
</td>
|
|
<td style="width:20px;">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="" style="width:100%;position:relative;height:166px;overflow-x:hidden;overflow-y:hidden;">
|
|
<div class="" id="sc_wrapper" style="width:100%;position:relative;overflow-x:auto;overflow-y:hidden;">
|
|
{% include 'lightbox/IE6/feed_container.html.twig' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="report" style="display:none;">
|
|
</div>
|
|
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
|
|
|
|
{% endblock %}
|
|
|
|
|