diff --git a/webapp/app.jsx b/webapp/app.jsx index 22d5bf4..f087939 100644 --- a/webapp/app.jsx +++ b/webapp/app.jsx @@ -39,14 +39,23 @@ var App = React.createClass({ }) var Navbar = React.createClass({ + extraButtons: function(){ + if(boards.id && boards.version){ + return + + + + } else { + return + } + }, render: function(){ return (
{this.props.children ||

Boards

}
- - + {this.extraButtons()}
@@ -70,19 +79,6 @@ var Static = React.createClass({ } }) -/*var Homepage = React.createClass({ - render: function(){ - return ( -
-

Welcome to the IPFS Boards Prototype

-

Not much is implemented...

-

You can try Opening my Profile though :)

-

More information about the project on GitHub

-
- ) - } -})*/ - var Homepage = React.createClass({ render: function(){ return @@ -93,7 +89,8 @@ var GetIPFS = React.createClass({ render: function(){ return (
-

Missing IPFS Node

+

Connection to IPFS not available

+

Sorry, but at the moment an external application is needed to try the Prototype

You don't have an IPFS node running at {opt.addr}:{opt.port} or it is not reachable

The IPFS Boards prototype requires a full IPFS node running at localhost. Please start one by following the