Last change
on this file since 7148 was
7148,
checked in by Leif-Jöran, 7 years ago
|
Refatoring UI code heavily and updating React to v15.6.1 (preparing for v16) before next step merging new features.
|
File size:
893 bytes
|
Line | |
---|
1 | "use strict"; |
---|
2 | import classNames from "classnames"; |
---|
3 | import PropTypes from "prop-types"; |
---|
4 | import createReactClass from "create-react-class"; |
---|
5 | |
---|
6 | var PT = PropTypes; |
---|
7 | |
---|
8 | var EmbeddedFooter = createReactClass({ |
---|
9 | //fixme! - class EmbeddedFooter extends React.Component { |
---|
10 | propTypes: { |
---|
11 | URLROOT: PT.string.isRequired, |
---|
12 | }, |
---|
13 | |
---|
14 | render: function() { |
---|
15 | return ( |
---|
16 | <div className="container" style={{textAlign:'center'}}> |
---|
17 | <div className="row"> |
---|
18 | <div style={{position:'relative', float:'right'}}> |
---|
19 | <div className="rightist" style={{position:'absolute', right:0, width:150}}> |
---|
20 | <a href={this.props.URLROOT} target="_blank" tabIndex="-1"> |
---|
21 | <img width="28px" height="28px" src="img/magglass1.png"/> |
---|
22 | <header className="inline float-left"> Federated Content Search </header> |
---|
23 | </a> |
---|
24 | </div> |
---|
25 | </div> |
---|
26 | </div> |
---|
27 | </div> |
---|
28 | ); |
---|
29 | } |
---|
30 | }); |
---|
31 | |
---|
32 | module.exports = EmbeddedFooter; |
---|
Note: See
TracBrowser
for help on using the repository browser.