mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
update
This commit is contained in:
@@ -160,7 +160,7 @@ class Query implements ControllerProviderInterface
|
|||||||
$explain .= '<br><div>' . $result->getDuration() . ' s</div>dans index ' . $result->getIndexes();
|
$explain .= '<br><div>' . $result->getDuration() . ' s</div>dans index ' . $result->getIndexes();
|
||||||
$explain .= "</div>";
|
$explain .= "</div>";
|
||||||
|
|
||||||
$infoResult = '<a href="#" class="infoDialog" infos="' . str_replace('"', '"', $explain) . '">' .$app->trans('%total% reponses', ['%total%' => '<span>'.$result->getTotal().'</span>']) . '</a>';
|
$infoResult = '<a href="#" class="infoDialog" infos="' . str_replace('"', '"', $explain) . '">' .$app->trans('%total% reponses', ['%total%' => '<span>'.$result->getTotal().'</span>']) . '</a><div id="docInfo">' . $app->trans('%number% documents<br/>selectionnes', ['%number%' => '<span id="nbrecsel"></span>']).'</div>';
|
||||||
|
|
||||||
$json['infos'] = $infoResult;
|
$json['infos'] = $infoResult;
|
||||||
$json['navigation'] = $string;
|
$json['navigation'] = $string;
|
||||||
@@ -234,4 +234,4 @@ class Query implements ControllerProviderInterface
|
|||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -96,6 +96,10 @@
|
|||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<style title="color_selection" type="text/css">
|
<style title="color_selection" type="text/css">
|
||||||
|
/* .diapo.ui-selecting,#reorder_box .diapo.selecting, #EDIT_ALL .diapo.selecting, .list.selecting, .list.selecting .diapo {
|
||||||
|
color: #{{ app['settings'].getUserSetting(app['authentication'].getUser(), 'fontcolor-selection', 'FFFFFF') }};
|
||||||
|
background-color: #{{ app['settings'].getUserSetting(app['authentication'].getUser(), 'background-selection-disabled', '333333')}}};
|
||||||
|
}*/
|
||||||
.diapo.selected,#reorder_box .diapo.selected, #EDIT_ALL .diapo.selected, .list.selected, .list.selected .diapo {
|
.diapo.selected,#reorder_box .diapo.selected, #EDIT_ALL .diapo.selected, .list.selected, .list.selected .diapo {
|
||||||
color: {{"#" ~ app['settings'].getUserSetting(app['authentication'].getUser(), 'fontcolor-selection', 'FFFFFF')}};
|
color: {{"#" ~ app['settings'].getUserSetting(app['authentication'].getUser(), 'fontcolor-selection', 'FFFFFF')}};
|
||||||
background-color: {{"#" ~ app['settings'].getUserSetting(app['authentication'].getUser(), 'background-selection', '404040')}};
|
background-color: {{"#" ~ app['settings'].getUserSetting(app['authentication'].getUser(), 'background-selection', '404040')}};
|
||||||
@@ -106,7 +110,7 @@
|
|||||||
|
|
||||||
{% if step %}
|
{% if step %}
|
||||||
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/joyride/joyride-2.1.css' }) }}" >
|
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/joyride/joyride-2.1.css' }) }}" >
|
||||||
<style type="text/css" title="step_by_step_tour">
|
<style>
|
||||||
.joyride-tip-guide {
|
.joyride-tip-guide {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
color: #000;
|
color: #000;
|
||||||
@@ -171,7 +175,7 @@
|
|||||||
$('#clientModal').modal();
|
$('#clientModal').modal();
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set ratio = app['settings'].getUserSetting(app['authentication'].getUser(), 'search_window') %}
|
{% set ratio = app['settings'].getUserSetting(app['authentication'].getUser(), 'search_window') %}
|
||||||
{% if ratio == 0 %}
|
{% if ratio == 0 %}
|
||||||
{% set ratio = '0.333' %}
|
{% set ratio = '0.333' %}
|
||||||
@@ -500,13 +504,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div id="answers_status">
|
|
||||||
<div class="infos">
|
|
||||||
<span id="tool_results">
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@@ -528,7 +525,214 @@
|
|||||||
|
|
||||||
<div id="idFrameT" class="PNB ui-corner-top">
|
<div id="idFrameT" class="PNB ui-corner-top">
|
||||||
<div class="tools PNB10 btn-toolbar">
|
<div class="tools PNB10 btn-toolbar">
|
||||||
{% include "prod/toolbar.html.twig" with {acl: app['acl'].get(app['authentication'].getUser()) } %}
|
|
||||||
|
<span class="dropdownButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button id="selectCase" class="default_action btn btn-inverse"> </button>
|
||||||
|
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a class="answer_selector all_selector">
|
||||||
|
{{ 'reponses:: selectionner tout' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="answer_selector none_selector">
|
||||||
|
{{ 'reponses:: selectionner rien' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="answer_selector image_selector">
|
||||||
|
{{ 'phraseanet::type:: images' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="answer_selector document_selector">
|
||||||
|
{{ 'phraseanet::type:: documents' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="answer_selector video_selector">
|
||||||
|
{{ 'phraseanet::type:: videos' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="answer_selector audio_selector">
|
||||||
|
{{ 'phraseanet::type:: audios' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span class="dropdownButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button id="TOOL_disktt" class="default_action TOOL_disktt_btn results_window btn btn-inverse">
|
||||||
|
<img src="/skins/prod/000000/images/disktt_history.png" height="16" width="16" /> {{ 'action : exporter' | trans }}
|
||||||
|
</button>
|
||||||
|
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a class="TOOL_print_btn results_window">
|
||||||
|
<img src="/skins/prod/000000/images/print_history.png" height="16" width="16" />
|
||||||
|
{{ 'action : print' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{% set actions = {} %}
|
||||||
|
{% if app['acl'].get(app['authentication'].getUser()).has_right('modifyrecord') %}
|
||||||
|
{% set label %}
|
||||||
|
{{ 'action : editer' | trans }}
|
||||||
|
{% endset %}
|
||||||
|
{% set actions = actions|merge( { 'edit' : {'icon': "/skins/prod/000000/images/ppen_history.png", 'class':'TOOL_ppen_btn', 'label' : label} }) %}
|
||||||
|
{% endif %}
|
||||||
|
{% if app['acl'].get(app['authentication'].getUser()).has_right('changestatus') %}
|
||||||
|
{% set label %}
|
||||||
|
{{ 'action : status' | trans }}
|
||||||
|
{% endset %}
|
||||||
|
{% set actions = actions|merge( { 'status' : {'icon': "/skins/prod/000000/images/chgstatus_history.png", 'class':'TOOL_chgstatus_btn', 'label' : label} }) %}
|
||||||
|
{% endif %}
|
||||||
|
{% if app['acl'].get(app['authentication'].getUser()).has_right('deleterecord') and app['acl'].get(app['authentication'].getUser()).has_right('addrecord') %}
|
||||||
|
{% set label %}
|
||||||
|
{{ 'action : collection' | trans }}
|
||||||
|
{% endset %}
|
||||||
|
{% set actions = actions|merge( { 'move' : {'icon': "/skins/prod/000000/images/chgcoll_history.png", 'class':'TOOL_chgcoll_btn', 'label' : label} }) %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% set n_actions = actions|length %}
|
||||||
|
{% if n_actions > 1 %}
|
||||||
|
<span class="dropdownButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
{% for action in actions %}
|
||||||
|
{% if loop.first %}
|
||||||
|
<button class="default_action {{ action.class }} results_window btn btn-inverse">
|
||||||
|
<img src="{{ action.icon }}" height="16" width="16" /> {{ action.label }}
|
||||||
|
</button>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
{% for action in actions %}
|
||||||
|
{% if not loop.first %}
|
||||||
|
<li>
|
||||||
|
<a class="{{ action.class }} results_window">
|
||||||
|
<img src="{{ action.icon }}" height="16" width="16" />
|
||||||
|
{{ action.label }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% if not loop.last %}
|
||||||
|
<li class="divider"></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% elseif n_actions == 1 %}
|
||||||
|
<span class="classicButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
{% for action in actions %}
|
||||||
|
<button class="{{ action.class }} results_window btn btn-inverse">
|
||||||
|
<img src="{{ action.icon }}"/> {{ action.label }}
|
||||||
|
</button>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if app['acl'].get(app['authentication'].getUser()).has_right('push') and app['acl'].get(app['authentication'].getUser()).has_right('bas_chupub') %}
|
||||||
|
<span class="dropdownButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="TOOL_pushdoc_btn default_action results_window btn btn-inverse">
|
||||||
|
<img src="/skins/icons/push16.png" height="16" width="16" /> {{ 'action : push' | trans }}
|
||||||
|
</button>
|
||||||
|
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a class="TOOL_feedback_btn results_window">
|
||||||
|
<img src="/skins/icons/feedback16.png" height="16" width="16" />
|
||||||
|
{{ 'Feedback' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="TOOL_bridge_btn results_window" href="{{ path("prod_bridge_manager") }}">
|
||||||
|
<img src="/skins/icons/door.png" height="16" width="16" />
|
||||||
|
{{ 'action : bridge' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li>
|
||||||
|
<a class="TOOL_publish_btn results_window">
|
||||||
|
<img src="/skins/icons/rss16.png" height="16" width="16" />
|
||||||
|
{{ 'action : publier' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% elseif app['acl'].get(app['authentication'].getUser()).has_right('push') %}
|
||||||
|
<span class="dropdownButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="TOOL_pushdoc_btn default_action results_window btn btn-inverse" >
|
||||||
|
<img src="/skins/icons/push16.png" height="16" width="16" /> {{ 'action : push' | trans }}
|
||||||
|
</button>
|
||||||
|
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||||
|
<ul class="submenu dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a class="TOOL_feedback_btn results_window">
|
||||||
|
<img src="/skins/icons/feedback16.png" height="16" width="16" />
|
||||||
|
{{ 'Feedback' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% elseif app['acl'].get(app['authentication'].getUser()).has_right('bas_chupub') %}
|
||||||
|
<span class="dropdownButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="TOOL_pushdoc_btn default_action results_window btn btn-inverse" >
|
||||||
|
<img src="/skins/icons/door.png" height="16" width="16" /> {{ 'action : bridge' | trans }}
|
||||||
|
</button>
|
||||||
|
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||||
|
<ul class="submenu dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a class="TOOL_publish_btn results_window">
|
||||||
|
<img src="/skins/icons/rss16.png" height="16" width="16" />
|
||||||
|
{{ 'action : publier' | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if app['acl'].get(app['authentication'].getUser()).has_right('doctools') %}
|
||||||
|
<span class="classicButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="TOOL_imgtools_btn results_window btn btn-inverse" >
|
||||||
|
<img src="/skins/prod/000000/images/imgtools_history.gif" height="16" width="16" /> {{ 'action : outils' | trans }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if app['acl'].get(app['authentication'].getUser()).has_right('deleterecord') %}
|
||||||
|
<span class="classicButton">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="TOOL_trash_btn results_window btn btn-inverse" >
|
||||||
|
<img src="/skins/icons/delete.png" height="16" width="16" /> {{ 'action : supprimer' | trans }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
<a href="#" id="settings" onclick="lookBox(this,event);return false;">{{ 'Preferences' | trans }} </a>
|
<a href="#" id="settings" onclick="lookBox(this,event);return false;">{{ 'Preferences' | trans }} </a>
|
||||||
</div>
|
</div>
|
||||||
<div id="answers" class=" PNB10">
|
<div id="answers" class=" PNB10">
|
||||||
@@ -544,6 +748,13 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="answers_status">
|
||||||
|
<div class="infos">
|
||||||
|
<span id="tool_results">
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!--div id="answers_status" class="PNB">
|
<!--div id="answers_status" class="PNB">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -590,6 +801,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extra_content %}
|
{% block extra_content %}
|
||||||
|
|
||||||
<div id="MESSAGE"></div>
|
<div id="MESSAGE"></div>
|
||||||
<div id="MESSAGE-push"></div>
|
<div id="MESSAGE-push"></div>
|
||||||
<div id="MESSAGE-publi"></div>
|
<div id="MESSAGE-publi"></div>
|
||||||
@@ -1023,4 +1235,4 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -687,13 +687,13 @@ span.ww_winTitle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#searchForm {
|
#searchForm {
|
||||||
width: 90%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#searchForm .input-append {
|
#searchForm .input-append {
|
||||||
float: left;
|
float: left;
|
||||||
width: 60%;
|
width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#searchForm .control-group {
|
#searchForm .control-group {
|
||||||
@@ -816,8 +816,11 @@ div.diapo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#answers_status{
|
#answers_status{
|
||||||
width: auto;
|
position: absolute;
|
||||||
float: right;
|
bottom: 10px;
|
||||||
|
left: 10px;
|
||||||
|
height: 60px;
|
||||||
|
width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#answers_status table{
|
#answers_status table{
|
||||||
@@ -838,27 +841,46 @@ div.diapo {
|
|||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: #949494;
|
color: #949494;
|
||||||
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#answers_status .infos .infoDialog {
|
#answers_status .infos .infoDialog {
|
||||||
float: left;
|
float: left;
|
||||||
color: #949494;
|
color: #949494;
|
||||||
margin-top: 2px;
|
height: 60px;
|
||||||
margin-right: 30px;
|
background: #0c4554;
|
||||||
|
color: #fff;
|
||||||
|
padding: 0 25px;
|
||||||
|
border-right: 1px solid #000;
|
||||||
|
font-size: 11px;
|
||||||
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
#answers_status .infos .infoDialog span {
|
#answers_status .infos .infoDialog span {
|
||||||
|
margin-top: 13px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#answers_status .infos #nbrecsel {
|
#answers_status #docInfo {
|
||||||
|
height: 40px;
|
||||||
|
background: #0c4554;
|
||||||
|
color: #fff;
|
||||||
|
padding: 0 25px;
|
||||||
|
padding-top: 20px;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 20px;
|
min-width: 105px;
|
||||||
margin-right: 10px;
|
font-size: 11px;
|
||||||
height: 30px;
|
line-height: 12px;
|
||||||
line-height: 36px;
|
}
|
||||||
vertical-align: middle;
|
|
||||||
|
|
||||||
|
#answers_status .infos #nbrecsel {
|
||||||
|
font-size: 35px;
|
||||||
|
margin-top: 7px;
|
||||||
|
float: left;
|
||||||
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1997,7 +2019,7 @@ DIV.onglets SPAN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DIV.onglets SPAN.actif {
|
DIV.onglets SPAN.actif {
|
||||||
BORDER: #404040 1px none;
|
BORDER: #404040 1px none;
|
||||||
BORDER-BOTTOM: #404040 1px solid;
|
BORDER-BOTTOM: #404040 1px solid;
|
||||||
BACKGROUND-COLOR: #404040;
|
BACKGROUND-COLOR: #404040;
|
||||||
COLOR: #949494;
|
COLOR: #949494;
|
||||||
@@ -4593,7 +4615,7 @@ ui-dialog-titlebar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#paginate #tool_navigate {
|
#paginate #tool_navigate {
|
||||||
background-color: #000;
|
background-color: #141414;
|
||||||
/*border: 1px solid #3b3b3b;*/
|
/*border: 1px solid #3b3b3b;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4652,4 +4674,4 @@ ui-dialog-titlebar {
|
|||||||
#paginate #tool_navigate a:hover {
|
#paginate #tool_navigate a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #076882;
|
background: #076882;
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user