mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 23:11:57 +01:00
Add nextmatch-cat-header in order to add category color into nm rows
This commit is contained in:
parent
f89d886cef
commit
710e8a7847
@ -3458,3 +3458,22 @@ var et2_nextmatch_customfilter = et2_nextmatch_filterheader.extend(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
et2_register_widget(et2_nextmatch_customfilter, ['nextmatch-customfilter']);
|
et2_register_widget(et2_nextmatch_customfilter, ['nextmatch-customfilter']);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define a nextmatch header for category colors
|
||||||
|
* @type type
|
||||||
|
*/
|
||||||
|
var et2_nextmatch_cat_header = et2_baseWidget.extend(et2_INextmatchHeader,
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unbind resize handler for category color header
|
||||||
|
* add class to th
|
||||||
|
*/
|
||||||
|
setNextmatch: function() {
|
||||||
|
jQuery(this.parentNode.parentNode)
|
||||||
|
.addClass('cat-header')
|
||||||
|
.unbind('.resize');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
et2_register_widget(et2_nextmatch_cat_header, ['nextmatch-cat-header']);
|
@ -506,6 +506,21 @@ which caused click on free space infront of a tag stops nm row selection*/
|
|||||||
.et2_nextmatch .egwGridView_grid tr td div.et2_vbox a {
|
.et2_nextmatch .egwGridView_grid tr td div.et2_vbox a {
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.et2_nextmatch .egwGridView_grid tr td {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.et2_nextmatch .egwGridView_grid tr td .nm_cat_col {
|
||||||
|
position: absolute;
|
||||||
|
min-height: 100%;
|
||||||
|
bottom:0;
|
||||||
|
top:0;
|
||||||
|
width:10px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
span.cat_.nm_cat_col {
|
||||||
|
background: #F5F5F5;
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
These are set via javascript before printing to help tame nextmatch's layout
|
These are set via javascript before printing to help tame nextmatch's layout
|
||||||
for printing
|
for printing
|
||||||
|
Loading…
Reference in New Issue
Block a user