Skip to content

Commit

Permalink
[cosmetic] removing table border in ModelView list (apache#4638)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Mar 19, 2018
1 parent be49aa3 commit 604f17d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions superset/templates/superset/fab_overrides/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends 'appbuilder/general/widgets/list.html' %}

{% block begin_content scoped %}
<div class="table-responsive">
<table class="table table-hover">
{% endblock %}
5 changes: 5 additions & 0 deletions superset/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,13 @@ def common_bootsrap_payload(self):
}


class SupersetListWidget(ListWidget):
template = 'superset/fab_overrides/list.html'


class SupersetModelView(ModelView):
page_size = 100
list_widget = SupersetListWidget


class ListWidgetWithCheckboxes(ListWidget):
Expand Down

0 comments on commit 604f17d

Please sign in to comment.