Skip to content

Commit

Permalink
Added ListSortingView styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri-Sintsov committed Jun 8, 2022
1 parent 58f7224 commit 641cf97
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions djk_ui/views/list.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class UiListSortingView:

highlight_mode = 'cycleRows'
highlight_mode_rules = {
'none': {
'cycler': [],
},
'cycleColumns': {
'direction': 0,
'cycler': ['text-dark bg-light', 'text-dark'],
},
'cycleRows': {
'direction': 1,
'cycler': ['text-dark bg-light', 'text-dark'],
},
'linearRows': {
'direction': 1,
'cycler': ['linear-white'],
}
}

0 comments on commit 641cf97

Please sign in to comment.