Browse Source

Apr 25 [UPDT] Bug Fixed 'list_view_sticky_header'

pull/259/head
AjmalCybro 2 years ago
parent
commit
8455a99655
  1. 2
      list_view_sticky_header/__manifest__.py
  2. BIN
      list_view_sticky_header/static/description/assets/screenshots/sticky13.png
  3. 19
      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': '13.0.1.0.0', 'version': '13.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/sticky13.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

19
list_view_sticky_header/static/description/index.html

@ -75,7 +75,7 @@
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px"> style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p <p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;"> style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Sticky Header in List Views</p> Sticky Header in List Views and Form Views</p>
</div> </div>
</div> </div>
@ -121,6 +121,23 @@
<img class="d-block w-100" src="./assets/screenshots/sticky_header.png" alt="First slide"> <img class="d-block w-100" src="./assets/screenshots/sticky_header.png" alt="First slide">
</div> </div>
<div class="carousel-item active" style="overflow: visible;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16 d-flex w-100"
style="float:left; margin-bottom: 1rem; margin-left: -15px;">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Sticky Header in Form Views</p>
</div>
</div>
<img class="d-block w-100" src="./assets/screenshots/sticky13.png" alt="First slide">
</div>
</div> </div>
<!-- <a class="carousel-control-prev" href="#odooAppsIndicators" role="button" data-slide="prev"> <!-- <a class="carousel-control-prev" href="#odooAppsIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="carousel-control-prev-icon" aria-hidden="true"></span>

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