Skip to content

Commit

Permalink
custom view class and position
Browse files Browse the repository at this point in the history
  • Loading branch information
soif committed Oct 18, 2024
1 parent 8d13658 commit e2772e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/www/static/css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@ div#demo-header h1 {
background-color: #aaa;
}
#demo-toh .menu-links A.selected{
background-color: #555;
background-color: #558;
color: #fff;
}
#demo-toh .menu-links A.toh-view-custom.selected{
background-color: #445;
}

#demo-foot{
background-color: #eee;
Expand Down
8 changes: 4 additions & 4 deletions src/www/static/js/toh_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,12 @@ $(document).ready(function () {

// make view custom ----------------
var views_html='';
views_html+=makeButton('view','all');
views_html+=makeButton('view','none');
views_html+=makeButton('toh-view toh-view-custom','custom');
views_html+=makeButton('toh-view','all');
views_html+=makeButton('toh-view','none');
for (const key in colViews){
views_html+=makeButton('view',key);
views_html+=makeButton('toh-view',key);
}
views_html+=makeButton('view','custom');
$('#head-views-menu-links').html(views_html);
//groupsUpdateIcon();

Expand Down

0 comments on commit e2772e7

Please sign in to comment.