Design update

This commit is contained in:
Olivier Mayer
2015-02-23 15:15:55 +09:00
parent 50352c0e90
commit a49acb03e4
30 changed files with 70 additions and 50 deletions

View File

@@ -2,29 +2,30 @@
{% set basket_length = basket.getElements()|length %}
<div class="tools">
<label>Actions</label>
<button class="ui-corner-all TOOL_disktt_btn basket_window" title="{{ 'action : exporter' | trans }}">
<img src="/skins/prod/000000/images/disktt_history.gif"/>
<img src="/skins/prod/000000/images/disktt_history.png"/>
</button>
<button class="ui-corner-all TOOL_print_btn basket_window" title="{{ 'action : print' | trans }}">
<img src="/skins/prod/000000/images/print_history.gif"/>
<img src="/skins/prod/000000/images/print_history.png"/>
</button>
{% if app['acl'].get(app['authentication'].getUser()).has_right('modifyrecord') %}
<button class="ui-corner-all TOOL_ppen_btn basket_window" title="{{ 'action : editer' | trans }}">
<img src="/skins/prod/000000/images/ppen_history.gif"/>
<img src="/skins/prod/000000/images/ppen_history.png"/>
</button>
{% endif %}
{% if app['acl'].get(app['authentication'].getUser()).has_right('changestatus') %}
<button class="ui-corner-all TOOL_chgstatus_btn basket_window" title="{{ 'action : status' | trans }}">
<img src="/skins/prod/000000/images/chgstatus_history.gif"/>
<img src="/skins/prod/000000/images/chgstatus_history.png"/>
</button>
{% endif %}
{% if app['acl'].get(app['authentication'].getUser()).has_right('deleterecord') and app['acl'].get(app['authentication'].getUser()).has_right('addrecord') %}
<button class="ui-corner-all TOOL_chgcoll_btn basket_window" title="{{ 'action : collection' | trans }}">
<img src="/skins/prod/000000/images/chgcoll_history.gif"/>
<img src="/skins/prod/000000/images/chgcoll_history.png"/>
</button>
{% endif %}
@@ -50,7 +51,7 @@
{% if app['acl'].get(app['authentication'].getUser()).has_right('doctools') %}
<button class="ui-corner-all TOOL_imgtools_btn basket_window" title="{{ 'action : outils' | trans }}">
<img src="/skins/prod/000000/images/imgtools_history.gif"/>
<img src="/skins/prod/000000/images/imgtools_history.png"/>
</button>
{% endif %}
<button class="ui-corner-all TOOL_trash_btn basket_window" title="{{ 'action : supprimer' | trans }}">