Skip to content

Commit

Permalink
display version in configure activity
Browse files Browse the repository at this point in the history
  • Loading branch information
ngwese committed Apr 30, 2018
1 parent ae3a2fd commit b7d42a7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
19 changes: 19 additions & 0 deletions app/src/configure-activity.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.configure-activity {
background-color: #F9F9F9;
font-family: monospace;
width: 100%;
padding: 10px;
color: rgb(117, 117, 117);
}

.configure-activity > div {
margin-bottom: 15px;
}

.configure-about {
font-style: italic;
}

.configure-tbd {
font-style: italic;
}
17 changes: 16 additions & 1 deletion app/src/configure-activity.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
// import React, { Component } from 'react';
import React from 'react';
import { VERSION, COMMIT } from './version';

import './configure-activity.css';

const ConfigureActivity = (props) => {
let style = {
height: props.height,
width: props.width,
};

return (
<div className="configure-activity">config</div>
<div className="configure-activity" style={style}>
<div className="configure-about">
<span>version: {VERSION} ({COMMIT})</span>
</div>
<div className="configure-tbd">
<span>tbd...</span>
</div>
</div>
);
};

Expand Down

0 comments on commit b7d42a7

Please sign in to comment.