Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 5, 2016
1 parent 0d1f27d commit 81de51b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions caravel/assets/javascripts/modules/caravel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ var $ = require('jquery');
var jQuery = $;
var d3 = require('d3');

require('../../stylesheets/caravel.css');

// vis sources
var sourceMap = {
area: 'nvd3_vis.js',
Expand Down
1 change: 0 additions & 1 deletion caravel/assets/javascripts/welcome.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var $ = window.$ = require('jquery');
var jQuery = window.jQuery = $;

require('../stylesheets/caravel.css');
require('../stylesheets/welcome.css');
require('bootstrap');
require('datatables.net-bs');
Expand Down
1 change: 1 addition & 0 deletions caravel/templates/caravel/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{% block head_meta %}{% endblock %}
{% block head_css %}
<link rel="stylesheet" type="text/css" href="/static/assets/node_modules/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/static/assets/stylesheets/caravel.css" />
<link rel="icon" type="image/png" href="/static/assets/images/favicon.png">
{% endblock %}
{% block head_js %}
Expand Down
8 changes: 4 additions & 4 deletions caravel/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ class SliceModelView(CaravelModelView, DeleteMixin): # noqa
}
list_columns = [
'slice_link', 'viz_type',
'datasource_link', 'created_by_', 'changed_on']
order_columns = utils.list_minus(list_columns, ['created_by_'])
'datasource_link', 'created_by_', 'modified']
order_columns = utils.list_minus(list_columns, ['created_by_', 'modified'])
edit_columns = [
'slice_name', 'description', 'viz_type', 'druid_datasource',
'table', 'dashboards', 'params', 'cache_timeout']
Expand Down Expand Up @@ -271,8 +271,8 @@ class DashboardModelView(CaravelModelView, DeleteMixin): # noqa
label_columns = {
'created_by_': 'Creator',
}
list_columns = ['dashboard_link', 'created_by_', 'changed_on']
order_columns = utils.list_minus(list_columns, ['created_by_'])
list_columns = ['dashboard_link', 'created_by_', 'modified']
order_columns = utils.list_minus(list_columns, ['created_by_', 'modified'])
edit_columns = [
'dashboard_title', 'slug', 'slices', 'position_json', 'css',
'json_metadata']
Expand Down

0 comments on commit 81de51b

Please sign in to comment.