diff --git a/css/main.css b/css/main.css index 1676fc84..4ecb7e62 100644 --- a/css/main.css +++ b/css/main.css @@ -70,6 +70,10 @@ margin-bottom: -0.2em; } +.ascribe-detail-property > .row-same-height > .col-xs-2 { + text-transform: uppercase; +} + /* columns of same height styles */ /* http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-columns-of-same-height */ .row-full-height { diff --git a/js/components/edition.js b/js/components/edition.js index 336bacff..a0f1dd76 100644 --- a/js/components/edition.js +++ b/js/components/edition.js @@ -25,39 +25,13 @@ let Edition = React.createClass({ }); let EditionHeader = React.createClass({ - //propTypes: { - // title: React.PropTypes.string.isRequired - //}, - render() { + var title_html =
{this.props.edition.title}
; return (
-
-
-
-
TITLE:
-
-
-
{this.props.edition.title}
-
-
-
-
-
-
BY:
-
-
-
{this.props.edition.artist_name}
-
-
-
-
-
DATE:
-
-
-
{ this.props.edition.date_created.slice(0,4) }
-
-
+ + +
); @@ -65,42 +39,35 @@ let EditionHeader = React.createClass({ }); let EditionDetails = React.createClass({ - //propTypes: { - // title: React.PropTypes.string.isRequired - //}, - render() { return (
-
-
-
EDITION:
-
-
-
{ this.props.edition.edition_number } of {this.props.edition.num_editions}
-
-
-
-
-
ID:
-
-
-
{ this.props.edition.bitcoin_id }
-
-
-
-
-
OWNER:
-
-
-
{ this.props.edition.owner }
-
-
+ + +
); } }); +let EditionDetailProperty = React.createClass({ + render() { + return ( +
+
+
+
{ this.props.label }:
+
+
+
{ this.props.value }
+
+
+
+ ); + } +}); + export default Edition; \ No newline at end of file