Skip to content

Commit

Permalink
Adds bulk button
Browse files Browse the repository at this point in the history
Resolves #16
  • Loading branch information
NejcZdovc committed Apr 16, 2021
1 parent a60fc38 commit cd67dc6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions superset/static/blotout.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@ header > nav {
min-height: 0 !important;
}

header#main-menu {
display: none;
}

header > nav .navbar-header,
header > nav .navbar-nav {
header > nav ul {
display: none;
}

header > nav .navbar-right {
display: block;
padding-top: 15px !important;
margin-bottom: -10px !important;
margin-bottom: -30px !important;
}

header > nav .navbar-right .btn-default {
header > nav .navbar-right .btn-primary {
display: none;
}

Expand Down
2 changes: 1 addition & 1 deletion superset/static/blotout.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const modifyElements = () => {
// Add + button to source database and table pages
if (window.location.pathname === '/databaseview/list/' ||
window.location.pathname === '/tablemodelview/list/') {
document.querySelectorAll('header nav .navbar-right')[1].style.display = 'block'
document.querySelectorAll('header nav .navbar-right .btn-primary')[0].style.display = 'inline-block'
}

// remove reset password button from user page
Expand Down

0 comments on commit cd67dc6

Please sign in to comment.