#5 : new tag integrated in list by click (ok not needed).
#6 : better color management in line alternation
#9 : same font on normal and over autocomplete items.
--- a/web/hdabo/static/hdabo/css/smoothness/jquery-ui-1.8.13.custom.css Tue Jul 05 15:32:48 2011 +0200
+++ b/web/hdabo/static/hdabo/css/smoothness/jquery-ui-1.8.13.custom.css Tue Jul 05 17:16:58 2011 +0200
@@ -56,9 +56,9 @@
/* Component containers
----------------------------------*/
-.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
+.ui-widget { font-family: Arial,Verdana,sans-serif; font-size: 1.1em; }
.ui-widget .ui-widget { font-size: 1em; }
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,Verdana,sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
.ui-widget-content a { color: #222222; }
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
--- a/web/hdabo/static/hdabo/css/style.css Tue Jul 05 15:32:48 2011 +0200
+++ b/web/hdabo/static/hdabo/css/style.css Tue Jul 05 17:16:58 2011 +0200
@@ -281,11 +281,25 @@
}
tr.hdabooddline {
- background: #ededed;
+ background: #d8d8d8;
+ /*background: #d6d7f6;*/
+}
+tr.hdaboevenline {
+ background: white;
+ /*background: #e6e6e6;*/
+}
+tr.hdabooddline:hover, tr.hdaboevenline:hover {
+ background: lightblue;
+ /*background: #e6e6e6;*/
}
-tr.hdaboevenline {
- background: white;
+tr.hdabosimpleoddline {
+ background: #e4e4e4;
+ /*background: #d6d7f6;*/
+}
+tr.hdabosimpleevenline {
+ background: white;
+ /*background: #e6e6e6;*/
}
#count_nav_top,
--- a/web/hdabo/static/hdabo/js/hdabo.js Tue Jul 05 15:32:48 2011 +0200
+++ b/web/hdabo/static/hdabo/js/hdabo.js Tue Jul 05 17:16:58 2011 +0200
@@ -177,6 +177,11 @@
}
});
},
+ select: function(event, ui) {
+ // Since the event still did not update wp_search's val, we force it.
+ $("#wp_search").val(ui.item.label);
+ $("#ok_search").click();
+ },
minLength: 2,
open: function() {
$( this ).removeClass( "ui-corner-all" ).addClass( "ui-corner-top" );
--- a/web/hdabo/templates/list_for_orga.html Tue Jul 05 15:32:48 2011 +0200
+++ b/web/hdabo/templates/list_for_orga.html Tue Jul 05 17:16:58 2011 +0200
@@ -69,7 +69,7 @@
{% endif %}
<table>
{% for ds in datasheets %}
- <tr class="imageline {% cycle 'hdaboevenline' 'hdabooddline' %}"><td>
+ <tr class="imageline {% cycle 'hdabosimpleevenline' 'hdabosimpleoddline' %}"><td>
{% include "partial/one_sheet.html" %}
</td></tr>
{% endfor %}