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 be34eaf
Show file tree
Hide file tree
Showing 8 changed files with 344 additions and 365 deletions.
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 be34eaf

Please sign in to comment.