Browse Source

Apr 25 [UPDT] Bug Fixed 'list_view_sticky_header'

pull/254/head
AjmalCybro 2 years ago
parent
commit
fb0d651e9c
  1. 2
      list_view_sticky_header/__manifest__.py
  2. BIN
      list_view_sticky_header/static/description/assets/screenshots/sticky15.png
  3. 9
      list_view_sticky_header/static/description/index.html
  4. 11
      list_view_sticky_header/static/src/scss/sticky_header.scss

2
list_view_sticky_header/__manifest__.py

@ -22,7 +22,7 @@
{ {
'name': 'List View Sticky Header', 'name': 'List View Sticky Header',
'version': '15.0.1.0.0', 'version': '15.0.1.0.1',
'summary': 'Helps to Stick The Header of List View', 'summary': 'Helps to Stick The Header of List View',
'description': 'Helps to Stick The Header of List View', 'description': 'Helps to Stick The Header of List View',
'category': 'Tools', 'category': 'Tools',

BIN
list_view_sticky_header/static/description/assets/screenshots/sticky15.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

9
list_view_sticky_header/static/description/index.html

@ -145,7 +145,7 @@
<div> <div>
<h4 <h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Sticky Header in List Views</h4> Sticky Header in List Views and Form views</h4>
</div> </div>
</div> </div>
@ -165,6 +165,13 @@
<img src="assets/screenshots/sticky_header1.png" class="img-responsive img-thumbnail border" width="100%" <img src="assets/screenshots/sticky_header1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" /> height="auto" />
</div> </div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Sticky Header in Form Views</h4>
<img src="assets/screenshots/sticky15.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
</div> </div>

11
list_view_sticky_header/static/src/scss/sticky_header.scss

@ -3,6 +3,17 @@
top: 0; top: 0;
z-index:999; z-index:999;
} }
.table-responsive{
overflow: visible;
}
.o_list_view .table-responsive .table thead{ .o_list_view .table-responsive .table thead{
z-index: 1; z-index: 1;
}
element.style {
}
.o_list_renderer .o_list_table thead {
position: sticky;
top: 0;
z-index:999;
} }
Loading…
Cancel
Save