Enhancement graphique prod

This commit is contained in:
Romain Neutron
2012-01-11 10:43:24 +01:00
parent 29b0d5d1a0
commit dc471acd9e
2 changed files with 506 additions and 542 deletions

View File

@@ -180,7 +180,7 @@
<link type="text/css" rel="stylesheet" href="{{registry.get('GV_STATIC_URL')}}/include/minify/f=include/jslibs/yui2.8/build/reset/reset.css,include/jslibs/jquery.contextmenu.css,include/jslibs/colorpicker/css/colorpicker.css,include/jslibs/jquery-treeview/jquery.treeview.css,skins/common/main.css,login/geonames.css,include/jquery.image_enhancer.css,include/jslibs/jquery-ui-1.8.12/css/dark-hive/jquery-ui-1.8.12.custom.css" >
<link id="skinCss" type="text/css" rel="stylesheet" href="{{registry.get('GV_STATIC_URL')}}/include/minify/f=skins/prod/{{cssfile}}/prodcolor.css" >
<link type="text/css" rel="stylesheet" href="{{registry.get('GV_STATIC_URL')}}/include/minify/f=include/vendor/humane-js/themes/libnotify.css,skins/prod/Basket.css" >
<link type="text/css" rel="stylesheet" href="{{registry.get('GV_STATIC_URL')}}/include/minify/f=include/vendor/humane-js/themes/libnotify.css,skins/prod/Prod.css,skins/prod/Basket.css" >
<!--[if IE 7]>
<link type="text/css" rel="stylesheet" href="/include/minify/f=skins/prod/ie7.css" >
<![endif]-->
@@ -231,6 +231,7 @@
{% set w1 = (100 * ratio)|round %}
{% set w2 = (100 - w1) %}
<div id="idFrameC" class="PNB" style="right:auto;width:{{w1}}%;">
<div class="PNB wrapper">
<div class="tabs ui-tabs">
<ul class="PNB ui-tabs-nav ui-helper-reset" style="bottom:auto;height:30px;">
<li class="ui-tabs-selected ui-corner-top">
@@ -518,6 +519,7 @@
</div>
{% endif %}
</div>
</div>
<div id="basket_menu" class="context-menu context-menu-theme-vista" style="display:none;">
<ul style="list-style-type:none;margin:0;padding:0">
@@ -562,24 +564,11 @@
</div>
<div class="PNB" id="rightFrame" style="left:auto;width:{{w2}}%;">
<div id="headBlock" class="PNB" style="height:70px;bottom:auto;">
<div id="queryBox">
<table style="table-layout:fixed;width:100%;height:60px;top:5px;position:absolute" cellspacing="0" cellpadding="0">
<tr valign="top">
<td style="width:10px;">&nbsp;</td>
<td style="width:475px;">
<div id="alternateTrigger" class="ui-corner-all" style="height: 60px;">
<table style="height:60px;">
<tr style="height:30px;">
<td colspan="2" style="text-align:right;" id="qry_buttons">
<form style="margin:0;padding:0;" onsubmit="newSearch();return false;">
<input autocomplete="off" id="EDIT_query" type="text" style="font-size:15px;width:370px;height:22px;" name="qry" value="{{user.getPrefs('start_page_query')}}">
<div id="headBlock" class="PNB" style="height:60px;bottom:auto;">
<div id="alternateTrigger" class="PNB">
<form style="margin:15px 20px;padding:0;" onsubmit="newSearch();return false;">
<input autocomplete="off" id="EDIT_query" type="text" style="padding:4px;border-radius:5px;font-size:16px;width:370px;height:22px;" name="qry" value="{{user.getPrefs('start_page_query')}}">
<input id="search_submit" type="submit" value="{% trans 'boutton::rechercher' %}" class="input-button" />
</form>
</td>
</tr>
<tr style="height:30px;">
<td style="text-align:left;white-space:nowrap;">
{% if GV_multiAndReport %}
<input type="radio" value="0" class="mode_type_doc_reg checkbox" name="search_type" {% if GV_defaultQuery_type == 0 %}checked="checked"{% endif %} id="mode_type_doc"/><label for="mode_type_doc">{% trans 'phraseanet::type:: documents' %}</label>
<input type="radio" value="1" class="mode_type_doc_reg checkbox" name="search_type" {% if GV_defaultQuery_type != 0 %}checked="checked"{% endif %} id="mode_type_reg"/><label for="mode_type_reg">{% trans 'phraseanet::type:: reportages' %}</label>
@@ -594,29 +583,51 @@
<option value="document">{% trans 'Document' %}</option>
<option value="flash">{% trans 'Flash' %}</option>
</select>
</td>
<td style="text-align:right;width:auto;">
<a href="#" onmousedown="advSearch(event);return false;"> &gt; {% trans 'prod:: recherche avancee' %}</a>
</td>
</tr>
</table>
</div>
</td>
<td style="width:auto;">
<a href="#" onclick="lookBox(this,event);return false;">{% trans 'Preferences' %} </a>
</form>
</td>
</tr>
</table>
</div>
</div>
<div id="idFrameT" class="PNB" style="height:80px;top:90px;bottom:auto;">
<div class="bloc ui-corner-all">
<table valign="middle" style="width:100%;top:5px;" class="PNB">
<tr>
<td style="width:5px;"></td>
<td style="text-align:left;">
<div class="tools" style="width:100%;xoverflow-x:auto;xoverflow-y:hidden;font-family:verdana;font-size:10px">
<div id="alternateSearch" class="PNB" style="z-index:510;">
<ul class="PNB" style="height:30px;">
<li><a href="#bases-queries">{% trans 'recherche :: Bases' %}</a></li>
<li><a href="#history-queries">{% trans 'recherche :: Historique' %}</a></li>
{% if queries_topics %}
<li><a href="#choosen-topics">{% trans 'recherche :: Themes' %}</a></li>
{% endif %}
</ul>
<div id="bases-queries" class="PNB" style="top:30px;overflow:hidden;">
<div class="PNB10" style="overflow-y:auto;overflow-x:auto;">
<div class="sbasglob ui-corner-all">
<div style="text-align:center;margin:0 10px;">
<input class="input-button" type="button" value="{% trans 'boutton:: selectionner toutes les bases' %}" onclick="checkBases(true);"/>
<input class="input-button" type="button" value="{% trans 'boutton:: selectionner aucune base' %}" onclick="checkBases(false);"/>
</div>
{{_self.bas_list(module_prod, search_datas)}}
</div>
</div>
</div>
<div id="history-queries" class="PNB" style="top:30px;overflow:hidden;">
<div class="PNB10" style="overflow-y:auto;overflow-x:auto;">
{{queries_history|raw}}
</div>
</div>
{% if queries_topics %}
<div id="choosen-topics" class="PNB" style="top:30px;overflow:hidden;">
<div class="PNB10" style="overflow-y:auto;overflow-x:auto;">
{{queries_topics|raw}}
</div>
</div>
{% endif %}
</div>
</div>
</div>
<div id="idFrameT" class="PNB ui-corner-top" style="top:70px;">
<div class="tools PNB10" style="font-size:10px;z-index:200;height:28px;">
@@ -777,35 +788,30 @@
</span>
{% endif %}
</div>
</td>
<td style="min-width:200px;text-align:right;white-space:nowrap" id="tool_navigate">
</td>
<td style="width:5px;"></td>
</tr>
<tr>
<td style="width:5px;"></td>
<td style="text-align:center;" colspan="2">
<a href="#" onclick="lookBox(this,event);return false;">{% trans 'Preferences' %} </a>
<span id="tool_results">
</span>
</td>
<td style="width:5px;"></td>
</tr>
</table>
</div>
</div>
<div id="idFrameA" class="PNB" style="top:180px;">
{% set bool = 0 %}
{% if user.getPrefs('start_page') == 'QUERY' or user.getPrefs('start_page') == 'LAST_QUERY' %}
{% set bool = 1 %}
{% endif %}
<div id="answers" class="{% if bool == 1 %}loading{% endif %} PNB">
<div id="answers" class="{% if bool == 1 %}loading{% endif %} PNB10" style="top:48px;bottom:30px;">
{% if bool == 0 %}
{{start_page_content}}
{% endif %}
</div>
<div class="PNB" style="top:auto;height:30px;">
<table>
<tr>
<td>
<span id="tool_results">
</span>
</td>
<td>
<div id="tool_navigate">
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
@@ -1066,48 +1072,6 @@
</div>
</div>
<div id="alternateSearch" class="PNB" style="z-index:510;">
<ul class="PNB" style="height:30px;">
<li><a href="#bases-queries">{% trans 'recherche :: Bases' %}</a></li>
<li><a href="#history-queries">{% trans 'recherche :: Historique' %}</a></li>
{% if queries_topics %}
<li><a href="#choosen-topics">{% trans 'recherche :: Themes' %}</a></li>
{% endif %}
</ul>
<div id="bases-queries" class="PNB" style="top:30px;overflow:hidden;">
<div class="PNB10" style="overflow-y:auto;overflow-x:auto;">
<div class="sbasglob ui-corner-all">
<div style="text-align:center;margin:0 10px;">
<input class="input-button" type="button" value="{% trans 'boutton:: selectionner toutes les bases' %}" onclick="checkBases(true);"/>
<input class="input-button" type="button" value="{% trans 'boutton:: selectionner aucune base' %}" onclick="checkBases(false);"/>
</div>
{{_self.bas_list(module_prod, search_datas)}}
</div>
</div>
</div>
<div id="history-queries" class="PNB" style="top:30px;overflow:hidden;">
<div class="PNB10" style="overflow-y:auto;overflow-x:auto;">
{{queries_history|raw}}
</div>
</div>
{% if queries_topics %}
<div id="choosen-topics" class="PNB" style="top:30px;overflow:hidden;">
<div class="PNB10" style="overflow-y:auto;overflow-x:auto;">
{{queries_topics|raw}}
</div>
</div>
{% endif %}
</div>
<div id="basket_preferences" style="display:none;">
<div class="box">
<h1>{% trans 'Presentation de vignettes de panier' %}</h1>

View File

@@ -16,7 +16,7 @@
<br/>
{% endif %}
{% set th_size = user.getPrefs('images_size')%}
<div class="selectable">
<div class="selectable" style="margin:10px 0;float:left;">
{% block content %}{% endblock %}
</div>
{% endif %}