# HG changeset patch # User ymh # Date 1371412539 -7200 # Node ID 001e8b9e6085b19e78a72f2aacc20035abc0d017 # Parent ced3c15c79df9d12fdaee9359712e23be52e6779 Add hightlight on current line diff -r ced3c15c79df -r 001e8b9e6085 src/jocondelab/static/jocondelab/css/style.css --- a/src/jocondelab/static/jocondelab/css/style.css Sun Jun 16 19:43:09 2013 +0200 +++ b/src/jocondelab/static/jocondelab/css/style.css Sun Jun 16 21:55:39 2013 +0200 @@ -302,6 +302,10 @@ /*background: #e6e6e6;*/ } +tr.currenttermline { + background: #FFFFA6; +} + #count_nav_top, #count_nav_bottom { text-align: right; diff -r ced3c15c79df -r 001e8b9e6085 src/jocondelab/templates/jocondelab/partial/term_list_table.html --- a/src/jocondelab/templates/jocondelab/partial/term_list_table.html Sun Jun 16 19:43:09 2013 +0200 +++ b/src/jocondelab/templates/jocondelab/partial/term_list_table.html Sun Jun 16 21:55:39 2013 +0200 @@ -1,13 +1,13 @@ {% load core_extras %}
{% include "jocondelab/partial/pagination.html" %}
-
- +
+
{% for term in object_list %} - +
Labeltheswkdbpvalid.
{{ term.label }} {{ term.thesaurus.label }} diff -r ced3c15c79df -r 001e8b9e6085 src/jocondelab/templates/jocondelab/term_edit.html --- a/src/jocondelab/templates/jocondelab/term_edit.html Sun Jun 16 19:43:09 2013 +0200 +++ b/src/jocondelab/templates/jocondelab/term_edit.html Sun Jun 16 21:55:39 2013 +0200 @@ -21,7 +21,9 @@ init_term_events(); $('#term-filter-form').submit(function(){ var values = $('#term-filter-form').serialize(); - $('#term-explorer-container').load(term_list_table_url, values); + $('#term-explorer-container').load(term_list_table_url, values, function() { + $('#term-list-table #term-'+term_id).addClass('currenttermline'); + }); return false; }); $('#term-filter-form').submit();