Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Collapse text-only components
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Nov 13, 2016
1 parent baea2a5 commit 348a358
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 224 deletions.
26 changes: 26 additions & 0 deletions js/src/dapps/dappreg/Application/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,29 @@
padding: 1.5em;
text-align: left;
}

.footer {
font-size: 0.75em;
margin: 1em;
padding: 1.5em;
text-align: center;
}

.header {
background: #44e;
border-radius: 0 0 0.25em 0.25em;
color: #fff;
left: 0;
padding: 1em;
position: fixed;
right: 0;
top: 0;
z-index: 25;
}

.loading {
text-align: center;
padding-top: 5em;
font-size: 2em;
color: #999;
}
15 changes: 9 additions & 6 deletions js/src/dapps/dappreg/Application/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ import DappsStore from '../dappsStore';

import ButtonBar from '../ButtonBar';
import Dapp from '../Dapp';
import Footer from '../Footer';
import Header from '../Header';
import Loading from '../Loading';
import ModalDelete from '../ModalDelete';
import ModalRegister from '../ModalRegister';
import ModalUpdate from '../ModalUpdate';
Expand All @@ -38,19 +35,25 @@ export default class Application extends Component {
render () {
if (this.dappsStore.isLoading) {
return (
<Loading />
<div className={ styles.loading }>
Loading application
</div>
);
}

return (
<div className={ styles.body }>
<div className={ styles.header }>
DAPP REGISTRY, a global view of distributed applications available on the network. Putting the puzzle together.
</div>
<div className={ styles.apps }>
<SelectDapp />
<ButtonBar />
<Dapp />
</div>
<Footer />
<Header />
<div className={ styles.footer }>
{ this.dappsStore.count } applications registered, { this.dappsStore.ownedCount } owned by user
</div>
<Warning />
<ModalDelete />
<ModalRegister />
Expand Down
23 changes: 0 additions & 23 deletions js/src/dapps/dappreg/Footer/footer.css

This file was deleted.

35 changes: 0 additions & 35 deletions js/src/dapps/dappreg/Footer/footer.js

This file was deleted.

17 changes: 0 additions & 17 deletions js/src/dapps/dappreg/Footer/index.js

This file was deleted.

28 changes: 0 additions & 28 deletions js/src/dapps/dappreg/Header/header.css

This file was deleted.

29 changes: 0 additions & 29 deletions js/src/dapps/dappreg/Header/header.js

This file was deleted.

17 changes: 0 additions & 17 deletions js/src/dapps/dappreg/Header/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions js/src/dapps/dappreg/Loading/index.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/src/dapps/dappreg/Loading/loading.css

This file was deleted.

29 changes: 0 additions & 29 deletions js/src/dapps/dappreg/Loading/loading.js

This file was deleted.

0 comments on commit 348a358

Please sign in to comment.