Commit cd3c8416 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[charts] bring back refresh buttons

parent acf63b3a
...@@ -80,12 +80,11 @@ ...@@ -80,12 +80,11 @@
} }
.input-with-autocomplete .completions { .input-with-autocomplete .completions {
position: absolute; position: fixed;
max-height: 300px; max-height: 300px;
overflow-y: scroll; overflow-y: scroll;
width: 300px; width: 300px;
top: 50px; top: 100px;
z-index: 5;
} }
/*# sourceMappingURL=Graph.css.map */ /*# sourceMappingURL=Graph.css.map */
...@@ -79,9 +79,8 @@ ...@@ -79,9 +79,8 @@
.input-with-autocomplete .input-with-autocomplete
.completions .completions
position: absolute position: fixed
max-height: 300px max-height: 300px
overflow-y: scroll overflow-y: scroll
width: 300px width: 300px
top: 50px top: 100px
z-index: 5
...@@ -103,7 +103,7 @@ loaded :: Record MetricsProps -> HistoMetrics -> R.Element ...@@ -103,7 +103,7 @@ loaded :: Record MetricsProps -> HistoMetrics -> R.Element
loaded { path, reload, session } loaded = loaded { path, reload, session } loaded =
H.div {} [ H.div {} [
U.reloadButton reload U.reloadButton reload
-- , U.chartUpdateButton { chartType: Histo, path, reload, session } , U.chartUpdateButton { chartType: Histo, path, reload, session }
, chart $ chartOptions loaded , chart $ chartOptions loaded
] ]
-- TODO: parametrize ngramsType above -- TODO: parametrize ngramsType above
...@@ -137,6 +137,6 @@ loaded :: Record MetricsProps -> Loaded -> R.Element ...@@ -137,6 +137,6 @@ loaded :: Record MetricsProps -> Loaded -> R.Element
loaded { path, reload, session } loaded = loaded { path, reload, session } loaded =
H.div {} [ H.div {} [
U.reloadButton reload U.reloadButton reload
-- , U.chartUpdateButton { chartType: Scatter, path, reload, session } , U.chartUpdateButton { chartType: Scatter, path, reload, session }
, chart $ scatterOptions loaded , chart $ scatterOptions loaded
] ]
...@@ -123,7 +123,7 @@ loadedPie :: Record MetricsProps -> HistoMetrics -> R.Element ...@@ -123,7 +123,7 @@ loadedPie :: Record MetricsProps -> HistoMetrics -> R.Element
loadedPie { path, reload, session } loaded = loadedPie { path, reload, session } loaded =
H.div {} [ H.div {} [
U.reloadButton reload U.reloadButton reload
-- , U.chartUpdateButton { chartType: ChartPie, path, reload, session } , U.chartUpdateButton { chartType: ChartPie, path, reload, session }
, chart $ chartOptionsPie loaded , chart $ chartOptionsPie loaded
] ]
...@@ -151,6 +151,6 @@ loadedBar :: Record MetricsProps -> Loaded -> R.Element ...@@ -151,6 +151,6 @@ loadedBar :: Record MetricsProps -> Loaded -> R.Element
loadedBar { path, reload, session } loaded = loadedBar { path, reload, session } loaded =
H.div {} [ H.div {} [
U.reloadButton reload U.reloadButton reload
-- , U.chartUpdateButton { chartType: ChartBar, path, reload, session } , U.chartUpdateButton { chartType: ChartBar, path, reload, session }
, chart $ chartOptionsBar loaded , chart $ chartOptionsBar loaded
] ]
...@@ -95,6 +95,6 @@ loaded :: Record MetricsProps -> Loaded -> R.Element ...@@ -95,6 +95,6 @@ loaded :: Record MetricsProps -> Loaded -> R.Element
loaded { path, reload, session } loaded = loaded { path, reload, session } loaded =
H.div {} [ H.div {} [
U.reloadButton reload U.reloadButton reload
-- , U.chartUpdateButton { chartType: ChartTree, path, reload, session } , U.chartUpdateButton { chartType: ChartTree, path, reload, session }
, chart (scatterOptions loaded) , chart (scatterOptions loaded)
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment