From fd6a518e47660eeb87b8fb886ad4107a2b7f394b Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Fri, 28 Jun 2013 13:12:40 +0200 Subject: [PATCH 1/4] Fix #1217 Broken tooltip --- www/skins/common/main.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/skins/common/main.css b/www/skins/common/main.css index fa6fe89811..6f2e3e3c69 100644 --- a/www/skins/common/main.css +++ b/www/skins/common/main.css @@ -230,4 +230,9 @@ input.checkbox{ #tooltip .popover { max-width: none; + width: auto; +} + +.ui-dialog-titlebar { + min-height: 20px; } From 06f2ebcc0ac3108cb4c864390e5eacf70e42905d Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Fri, 28 Jun 2013 13:13:07 +0200 Subject: [PATCH 2/4] Fix #1212 Broken advanced search --- templates/web/prod/index.html.twig | 83 +++++++++++++++-------------- www/skins/prod/000000/prodcolor.css | 8 +-- www/skins/prod/959595/prodcolor.css | 10 +--- www/skins/prod/jquery.main-prod.js | 8 +-- 4 files changed, 48 insertions(+), 61 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 02e77d4c41..e7e8a55029 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -25,11 +25,11 @@ onclick="cancelEvent(event);return false;" onmousedown="infoSbas(this, {{sbas_id}}, false, event); return false;" id="ck_{{collection["base_id"]}}_{{unique_id}}" type="checkbox" - name="bas[]" value="{{collection["base_id"]}}" {% if collection["selected"] %}checked="checked"{% endif %} /> + name="bases[]" value="{{collection["base_id"]}}" {% if collection["selected"] %}checked="checked"{% endif %} /> @@ -43,7 +43,6 @@ {% endfor %} {% endmacro %} - {% set jquery_theme = 'dark-hive' %} {% extends "common/index_bootstrap.html.twig" %} @@ -52,7 +51,6 @@ {% endblock %} - {% block rss %} {% for feed in feeds %} {% set link = feed.get_user_link(app['phraseanet.registry'], app['authentication'].getUser(), 'rss') %} @@ -62,7 +60,6 @@ {% endfor %} {% endblock %} - {% block stylesheet %} {% endblock %} - {% block javascript %} {% include "common/templates.html.twig" %} {% endblock %} - {% block content %} - {% set search_datas = module_prod.get_search_datas() %}
@@ -125,14 +119,13 @@
- {% set ratio = app['authentication'].getUser().getPrefs('search_window') %} {% if ratio == 0 %} {% set ratio = '0.333' %} {% endif %} {% set w1 = (100 * ratio)|round %} {% set w2 = (100 - w1) %} -
+
    @@ -190,7 +183,7 @@
- +
@@ -281,15 +274,17 @@
-
+
- - - - - +
+ + + +
{% if GV_multiAndReport %} @@ -338,19 +333,21 @@
{% trans 'Trier par ' %} - {% for sort, sort_name in app['phraseanet.SE'].getAvailableSort() %} {% endfor %} - {% for ord, ord_name in app['phraseanet.SE'].getAvailableOrder() %} {% endfor %} {% if app['phraseanet.SE'].hasStemming() %}
- {% trans 'rechercher par stemme' %} +
{% endif %}
@@ -406,9 +403,9 @@ {% if app['phraseanet.SE'].getAvailableDateFields() | length > 0 %}
- {% trans 'Rechercher dans un champ date' %} + + +
{% trans 'Rechercher dans un champ date' %}
{% trans 'phraseanet::time:: de' %} - {% trans 'phraseanet::time:: de' %}
- +
+ + +
{% trans 'phraseanet::time:: a' %} - {% trans 'phraseanet::time:: a' %}
- +
+ + +
@@ -674,9 +677,9 @@