From 5a716f8338ecf57beab7e62cac9a23bd02444954 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Mon, 16 Mar 2015 17:46:18 +0700 Subject: [PATCH] New time selector proto --- app/scripts/src/app.jsx | 7 +++---- app/scripts/src/charts/bar_chart.jsx | 2 +- app/scripts/src/charts/stacked_area_chart.jsx | 2 +- app/styles/app.css | 14 +++++++------- app/styles/charts.css | 15 ++++++++++++++- app/styles/menu.css | 7 +++++-- 6 files changed, 31 insertions(+), 16 deletions(-) diff --git a/app/scripts/src/app.jsx b/app/scripts/src/app.jsx index c49f909..3686946 100644 --- a/app/scripts/src/app.jsx +++ b/app/scripts/src/app.jsx @@ -77,7 +77,6 @@ var App = React.createClass({ - ); } @@ -112,7 +111,7 @@ var Menu = React.createClass({ return (
    -
  • +
  • e
    m
    @@ -122,9 +121,9 @@ var Menu = React.createClass({
    t
  • -
  • Organizations:
  • +
  • Organizations:
  • {this.props.orgs.map(renderOrg)} -
  • Teams:
  • +
  • Teams:
  • {this.props.teams.map(renderTeam)}
diff --git a/app/scripts/src/charts/bar_chart.jsx b/app/scripts/src/charts/bar_chart.jsx index d41ab5c..da571d4 100644 --- a/app/scripts/src/charts/bar_chart.jsx +++ b/app/scripts/src/charts/bar_chart.jsx @@ -120,7 +120,7 @@ var BarChart = React.createClass({ return (
- This bar chart represents {words.items[this.state.item]} {words.actions[this.state.item]} {who} {words.item[subject]} from W11, Mar 9 to W18, Apr 27 + This bar chart represents {words.items[this.state.item]} {words.actions[this.state.item]} {who} {words.item[subject]} from Mar 9 to Apr 27
- This stacked area chart represents {words.items[this.state.item]} {words.actions[this.state.item]} {who} {words.item[subject]} from W11, Mar 9 to W18, Apr 27 + This stacked area chart represents {words.items[this.state.item]} {words.actions[this.state.item]} {who} {words.item[subject]} from Mar 9 to Apr 27