From 734c2b1eda0666566b560fb99192367e5e93c80b Mon Sep 17 00:00:00 2001 From: Jari Bakken Date: Fri, 24 Oct 2014 13:31:42 +0200 Subject: [PATCH] Improve form. --- unleash-server/public/css/unleash.css | 8 +++-- unleash-server/public/js/unleash.jsx | 47 ++++++++++++--------------- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/unleash-server/public/css/unleash.css b/unleash-server/public/css/unleash.css index b57c057875..0f900c08e7 100644 --- a/unleash-server/public/css/unleash.css +++ b/unleash-server/public/css/unleash.css @@ -1,3 +1,7 @@ .new-feature-form { - padding: 20px; -} \ No newline at end of file + padding: 20px 0; +} + +body { + font-family: HelveticaNeueLight, HelveticaNeue-Light, 'Helvetica Neue Light', HelveticaNeue, 'Helvetica Neue', Arial, Helvetica, sans-serif; +} diff --git a/unleash-server/public/js/unleash.jsx b/unleash-server/public/js/unleash.jsx index a581f9d803..b20b736d34 100644 --- a/unleash-server/public/js/unleash.jsx +++ b/unleash-server/public/js/unleash.jsx @@ -23,46 +23,42 @@ var Menu = React.createClass({ var UnsavedFeature = React.createClass({ render: function() { return ( -
+
-
- +
+ +
+ +
-
-
-
-
-
- -
-
- +
+
-
); @@ -92,17 +88,16 @@ var SavedFeature = React.createClass({ render: function() { return (
-
+
{this.props.feature.name}
-
+
{this.props.feature.strategy}
@@ -134,13 +129,13 @@ var FeatureList = React.createClass({ }.bind(this)); return ( -
+

Features