[cosmetic] removing table border in ModelView list (#4638)

This commit is contained in:
Maxime Beauchemin 2018-03-19 11:02:40 -07:00 committed by GitHub
parent e9b5b1a305
commit 83f8f98ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{% extends 'appbuilder/general/widgets/list.html' %}
{% block begin_content scoped %}
<div class="table-responsive">
<table class="table table-hover">
{% endblock %}

View File

@ -220,8 +220,13 @@ class BaseSupersetView(BaseView):
}
class SupersetListWidget(ListWidget):
template = 'superset/fab_overrides/list.html'
class SupersetModelView(ModelView):
page_size = 100
list_widget = SupersetListWidget
class ListWidgetWithCheckboxes(ListWidget):