Removing compare feature

This commit is contained in:
Maxime 2015-07-30 21:44:26 +00:00
parent 374802e437
commit 5e8fcabf10
4 changed files with 13 additions and 6 deletions

View File

@ -72,6 +72,7 @@ fabmanager create-admin
# Start the web server
python run.py
```
After installation, you should be able to point your browser to the right
@ -80,3 +81,13 @@ the credential you entered while creating the admin account, and navigate to
`Menu -> Admin -> Refresh Metadata`. This action should bring in all of
your datasources for Panoramix to be aware of, and they should show up in
`Menu -> Datasources`, from where you can start playing with your data!
Configuration
-------------
* From the UI, enter the information about your clusters in the
``Admin->Clusters`` menu by hitting the + sign.
* Once the Druid cluster connection information is entered, hit the
``Admin->Refresh Metadata`` menu item to populate
* Navigate to your datasources

View File

@ -6,7 +6,3 @@
* Add verbose_name and label method to metrics and columns
* csv
* Save / bookmark / url shortener
* on save, process metadata / generate metrics
* multi cluster

View File

@ -7,7 +7,7 @@
{% if form.compare %}
<div>{{ form.compare.label }}: {{ form.compare(class_="form-control") }}</div>
{% endif %}
{% if form.compare %}
{% if form.rolling_type %}
<div class="row">
<span class="col col-sm-5">{{ form.rolling_type.label }}: {{ form.rolling_type(class_="form-control select2") }}</span>
<span class="col col-sm-4">{{ form.rolling_periods.label }}: {{ form.rolling_periods(class_="form-control") }}</span>

View File

@ -254,7 +254,7 @@ class TimeSeriesViz(HighchartsViz):
def form_class(self):
return form_factory(self.datasource, request.args,
extra_fields_dict={
'compare': TextField('Period Compare',),
#'compare': TextField('Period Compare',),
'rolling_type': SelectField(
'Rolling',
choices=[(s, s) for s in ['mean', 'sum', 'std']]),