2016-08-18 11:41:13 +02:00
|
|
|
/*
|
|
|
|
* HomePage
|
|
|
|
*
|
|
|
|
* This is the first thing users see of our App, at the '/' route
|
2016-08-18 11:47:26 +02:00
|
|
|
*
|
|
|
|
* NOTE: while this component should technically be a stateless functional
|
|
|
|
* component (SFC), hot reloading does not currently support SFCs. If hot
|
|
|
|
* reloading is not a neccessity for you then you can refactor it and remove
|
|
|
|
* the linting exception.
|
2016-08-18 11:41:13 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
import React from 'react';
|
2016-09-08 23:38:29 +02:00
|
|
|
import PluginHeader from 'components/PluginHeader';
|
2016-09-09 10:45:58 +02:00
|
|
|
import RightContentSectionTitle from 'components/RightContentSectionTitle';
|
|
|
|
import Container from 'components/Container';
|
2016-09-08 23:38:29 +02:00
|
|
|
import RightContentTitle from 'components/RightContentTitle';
|
|
|
|
import styles from './styles.css';
|
2016-08-18 11:41:13 +02:00
|
|
|
|
2016-08-18 11:47:26 +02:00
|
|
|
export default class HomePage extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
2016-08-18 11:41:13 +02:00
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
2016-08-26 14:42:58 +02:00
|
|
|
<div>
|
2016-09-08 23:38:29 +02:00
|
|
|
<div className="container">
|
|
|
|
<PluginHeader></PluginHeader>
|
2016-09-09 10:45:58 +02:00
|
|
|
<Container>
|
|
|
|
<RightContentTitle title="General" description="Configure your general settings."></RightContentTitle>
|
|
|
|
<RightContentSectionTitle title="Application" description="The general settings of your Strapi application."></RightContentSectionTitle>
|
|
|
|
<div className={`form-group row ${styles.homePageRightContentFormGroup}`}>
|
|
|
|
<label htmlFor="applicationName" className="col-xs-7 col-form-label">Name</label>
|
|
|
|
<div className="col-xs-5">
|
|
|
|
<input className="form-control" type="text" placeholder="My Application" id="applicationName"></input>
|
2016-09-08 23:38:29 +02:00
|
|
|
</div>
|
2016-09-09 10:45:58 +02:00
|
|
|
</div>
|
|
|
|
<div className={`form-group row ${styles.homePageRightContentFormGroup}`}>
|
|
|
|
<label htmlFor="applicationDescription" className="col-xs-7 col-form-label">Description</label>
|
|
|
|
<div className="col-xs-5">
|
|
|
|
<input className="form-control" type="text" placeholder="A Strapi application" id="applicationDescription"></input>
|
2016-09-08 23:38:29 +02:00
|
|
|
</div>
|
2016-09-09 10:45:58 +02:00
|
|
|
</div>
|
|
|
|
<div className={`form-group row ${styles.homePageRightContentFormGroup}`}>
|
|
|
|
<label htmlFor="applicationVersion" className="col-xs-7 col-form-label">Version</label>
|
|
|
|
<div className="col-xs-5">
|
|
|
|
<input className="form-control" type="text" placeholder="0.0.1" id="applicationVersion"></input>
|
2016-09-08 23:38:29 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-09 10:45:58 +02:00
|
|
|
</Container>
|
2016-09-08 23:38:29 +02:00
|
|
|
</div>
|
2016-08-26 14:42:58 +02:00
|
|
|
</div>
|
2016-08-18 11:41:13 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|