Skip to content

Commit

Permalink
src: introducing func comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinclert committed Jul 30, 2018
1 parent 265b28a commit 17f0601
Show file tree
Hide file tree
Showing 10 changed files with 347 additions and 368 deletions.
2 changes: 1 addition & 1 deletion reana-ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>REANA</title>
</head>
<body>
<noscript>
Expand Down
4 changes: 2 additions & 2 deletions reana-ui/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Reana-UI",
"name": "Reana-UI",
"short_name": "REANA",
"name": "REANA",
"icons": [
{
"src": "favicon.ico",
Expand Down
21 changes: 9 additions & 12 deletions reana-ui/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@
submit itself to any jurisdiction.
*/


import React, { Component } from 'react';
import WorkflowsPage from './pages/Workflows'

import React, { Component } from "react";
import WorkflowsPage from "./pages/Workflows";

export default class App extends Component {

render() {
return (
<div className="App" style={{height: '100%'}}>
<WorkflowsPage />
</div>
);
}
render() {
return (
<div className="App" style={{ height: "100%" }}>
<WorkflowsPage />
</div>
);
}
}
57 changes: 24 additions & 33 deletions reana-ui/src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,30 @@
submit itself to any jurisdiction.
*/


import React, { Component } from 'react';
import { Segment, Image, Button, Menu, Icon } from 'semantic-ui-react'
import LogoImg from '../images/logo.svg';

import React, { Component } from "react";
import { Segment, Image, Button, Menu, Icon } from "semantic-ui-react";
import LogoImg from "../images/logo.svg";

export default class Header extends Component {

render() {
return (
<Segment
secondary
clearing
attached='top'
padded='big'
>
<Image
src={LogoImg}
size='medium'
floated='left'
/>
<Button size='huge' icon primary floated='right'>
<Icon name='user'/>
</Button>
<Menu size='huge' floated='right'>
<Menu.Item href='http://www.reana.io' target='_blank'>
About
</Menu.Item>
<Menu.Item href='https://reana.readthedocs.io/en/latest/' target='_blank'>
Documentation
</Menu.Item>
</Menu>
</Segment>
)
}
render() {
return (
<Segment secondary clearing attached="top" padded="big">
<Image src={LogoImg} size="medium" floated="left" />
<Button size="huge" icon primary floated="right">
<Icon name="user" />
</Button>
<Menu size="huge" floated="right">
<Menu.Item href="http://www.reana.io" target="_blank">
About
</Menu.Item>
<Menu.Item
href="https://reana.readthedocs.io/en/latest/"
target="_blank"
>
Documentation
</Menu.Item>
</Menu>
</Segment>
);
}
}

0 comments on commit 17f0601

Please sign in to comment.