mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Cleaning up the static folder
This commit is contained in:
7
TODO.md
7
TODO.md
@@ -2,7 +2,6 @@
|
||||
List of TODO items for Panoramix
|
||||
|
||||
## Improvments
|
||||
* Reintroduce query and stopwatch
|
||||
* [druid] Allow for post aggregations (ratios!)
|
||||
* [sql] find a way to manage time granularity
|
||||
* [sql] support arbitrary expression as column
|
||||
@@ -11,6 +10,12 @@ List of TODO items for Panoramix
|
||||
* csv export out of table view
|
||||
* in/notin filters autocomplete
|
||||
|
||||
## Better Javascript enables
|
||||
* Async on Druidify! in exploration page
|
||||
* Async form reload onchange of viz_type dropdown
|
||||
* Reintroduce query and stopwatch
|
||||
* Fix resize / refresh
|
||||
|
||||
## New Features
|
||||
* Annotations layers
|
||||
* Add a per-datasource permission
|
||||
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@@ -5,7 +5,7 @@
|
||||
{% for css in dashboard.css_files %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=css) }}">
|
||||
{% endfor %}
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename="jquery.gridster.min.css") }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename="lib/gridster/jquery.gridster.min.css") }}">
|
||||
{% for slice in dashboard.slices %}
|
||||
{% set viz = slice.viz %}
|
||||
{% import viz.template as viz_macros %}
|
||||
@@ -78,7 +78,7 @@
|
||||
{% for js in dashboard.js_files %}
|
||||
<script src="{{ url_for('static', filename=js) }}"></script>
|
||||
{% endfor %}
|
||||
<script src="/static/jquery.gridster.with-extras.min.js"></script>
|
||||
<script src="/static/lib/gridster/jquery.gridster.with-extras.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(initializeDashboardView);
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% macro viz_html(viz) %}
|
||||
<div id="{{ viz.token }}" class="viz_bignumber" style="height: 100%;">
|
||||
<img src="{{ url_for("static", filename="loading.gif") }}" class="loading">
|
||||
<img src="{{ url_for("static", filename="img/loading.gif") }}" class="loading">
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% macro viz_html(viz) %}
|
||||
<div id="{{ viz.token }}" style="height:100%; width: 100%">
|
||||
<img src="{{ url_for("static", filename="loading.gif") }}" class="loading">
|
||||
<img src="{{ url_for("static", filename="img/loading.gif") }}" class="loading">
|
||||
<div class="chart with-3d-shadow with-transitions" style="height:100%; width: 100%"></div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</table>
|
||||
{% else %}
|
||||
<div id="{{ viz.token }}" style="display: none;overflow: auto; height: 100%;"></div>
|
||||
<img src="{{ url_for("static", filename="loading.gif") }}" class="loading">
|
||||
<img src="{{ url_for("static", filename="img/loading.gif") }}" class="loading">
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% macro viz_html(viz) %}
|
||||
<div id="{{ viz.token }}" style="height: 100%;">
|
||||
<img src="{{ url_for("static", filename="loading.gif") }}" class="loading">
|
||||
<img src="{{ url_for("static", filename="img/loading.gif") }}" class="loading">
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
@@ -185,8 +185,10 @@ class TableViz(BaseViz):
|
||||
verbose_name = "Table View"
|
||||
template = 'panoramix/viz_table.html'
|
||||
form_fields = BaseViz.form_fields + ['row_limit']
|
||||
css_files = ['dataTables.bootstrap.css']
|
||||
js_files = ['jquery.dataTables.min.js', 'dataTables.bootstrap.js']
|
||||
css_files = ['lib/dataTables/dataTables.bootstrap.css']
|
||||
js_files = [
|
||||
'lib/dataTables/jquery.dataTables.min.js',
|
||||
'lib/dataTables/dataTables.bootstrap.js']
|
||||
|
||||
def query_obj(self):
|
||||
d = super(TableViz, self).query_obj()
|
||||
@@ -236,8 +238,8 @@ class WordCloudViz(BaseViz):
|
||||
'rotation',
|
||||
]
|
||||
js_files = [
|
||||
'd3.min.js',
|
||||
'd3.layout.cloud.js',
|
||||
'lib/d3.min.js',
|
||||
'lib/d3.layout.cloud.js',
|
||||
'widgets/viz_wordcloud.js',
|
||||
]
|
||||
|
||||
@@ -262,12 +264,12 @@ class NVD3Viz(BaseViz):
|
||||
verbose_name = "Base NVD3 Viz"
|
||||
template = 'panoramix/viz_nvd3.html'
|
||||
js_files = [
|
||||
'd3.min.js',
|
||||
'nv.d3.min.js',
|
||||
'lib/d3.min.js',
|
||||
'lib/nvd3/nv.d3.min.js',
|
||||
'widgets/viz_nvd3.js',
|
||||
]
|
||||
css_files = [
|
||||
'nv.d3.css',
|
||||
'lib/nvd3/nv.d3.css',
|
||||
'widgets/viz_nvd3.css',
|
||||
]
|
||||
|
||||
@@ -340,7 +342,7 @@ class BigNumberViz(BaseViz):
|
||||
verbose_name = "Big Number"
|
||||
template = 'panoramix/viz_bignumber.html'
|
||||
js_files = [
|
||||
'd3.min.js',
|
||||
'lib/d3.min.js',
|
||||
'widgets/viz_bignumber.js',
|
||||
]
|
||||
css_files = [
|
||||
|
||||
Reference in New Issue
Block a user