diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx index 203f9aafac..dcb1e25d95 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx @@ -42,7 +42,6 @@ class BaseLayout extends Component { user: 'Admin', openModal: false }; - this.scriptId = "basic-layout"; this.logout = this.logout.bind(this); } @@ -83,31 +82,30 @@ class BaseLayout extends Component { - -
- + > +

+ + +

+ +
-
+ +
{this.props.children}
- +
); } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx index 835e3ab399..38b5d26102 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx @@ -70,7 +70,6 @@ class ApplicationCreate extends Component { this.setState({stepIndex: nextStep}, console.log(this.state.stepIndex)); } - /** * Handles next button click event. * */ @@ -220,13 +219,12 @@ class ApplicationCreate extends Component { {this.getStepContent(this.state.stepIndex)} - {this.state.stepIndex === 0? -
: } + {this.state.stepIndex === 0?
: + } - {this.state.finished? - - : } - + {this.state.finished ? + : + }
); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx index 4997bc0ac7..b85054689a 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx @@ -125,18 +125,30 @@ class Step1 extends Component { - + - + {this.state.platforms.length > 0 ? this.state.platforms.map(platform => { return ( - + ) }) : } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx index 6238e38256..50a679e622 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx @@ -259,7 +259,8 @@ class Step2 extends Component { @@ -267,7 +268,8 @@ class Step2 extends Component { diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx index 7b75a108f4..05982af2d6 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx @@ -18,7 +18,7 @@ import PropTypes from 'prop-types'; import React, {Component} from 'react'; -import {Collapse, FormGroup, Input, Label} from 'reactstrap'; +import {Collapse, FormGroup, Input, Label, FormText} from 'reactstrap'; import Switch from '../../../UIComponents/Switch/Switch' /** @@ -88,32 +88,42 @@ class Step4 extends Component {
- +
- +

- + Info: Enabling this will create a release for the current Application. To upload the Application, please visit to the Release management section of Application Edit View. - +
{/*If toggle is true, the release form will be shown.*/} - + @@ -121,7 +131,12 @@ class Step4 extends Component { - +
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/ApplicationEditBaseLayout.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/ApplicationEditBaseLayout.jsx index f96a9c8274..1962659fbf 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/ApplicationEditBaseLayout.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/ApplicationEditBaseLayout.jsx @@ -19,7 +19,8 @@ import React, {Component} from 'react'; import './baseLayout.css'; import ReleaseManager from '../../Release/ReleaseMgtBase/ReleaseManager'; -import {Button, Col, Row} from "reactstrap"; +import {Col, Row} from "reactstrap"; +import GeneralInfo from "../GeneralInfo"; class ApplicationEdit extends Component { @@ -57,14 +58,12 @@ class ApplicationEdit extends Component { return "No Content"; } } - } getTabContent(tab) { - switch (tab) { case 1: { - return ("Step 1") + return } case 2: { return @@ -73,14 +72,12 @@ class ApplicationEdit extends Component { return ("Step3") } } - } render() { console.log(this.state); return (
- Application Name @@ -101,66 +98,19 @@ class ApplicationEdit extends Component {
- - -
- {/* Application edit content */} -
- {this.getTabContent(this.state.activeTab)} + + +
+ {/* Application edit content */} +
+ {this.getTabContent(this.state.activeTab)} +
-
- - - - - - - + +
- - {/**/} - {/*/!* Contains the application Name and Save button*!/*/} - {/*
*/} - {/**/} - {/**/} - {/*Header*/} - {/**/} - {/**/} - {/**/} - {/**/} - {/**/} - {/*
*/} - {/*
*/} - {/*
*/} - {/**/} - {/**/} - - {/*/!* Contains side bar items, General, App Release, Package Manager *!/*/} - {/*
*/} - {/**/} - {/**/} - {/**/} - {/*
*/} - {/**/} - {/**/} - {/*
*/} - {/*/!* Application edit content *!/*/} - {/*
*/} - {/*{this.getTabContent(this.state.activeTab)}*/} - {/*
*/} - {/*
*/} - {/**/} - {/*
*/} - {/*
*/}
) } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/baseLayout.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/baseLayout.css index 5e6c1e9af3..3ee209b3e5 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/baseLayout.css +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/Base/baseLayout.css @@ -1,3 +1,20 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ #application-edit-base { width: 70%; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/GeneralInfo.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/GeneralInfo.jsx index d1cda61526..13c1b1a9ab 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/GeneralInfo.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/GeneralInfo.jsx @@ -18,26 +18,187 @@ import PropTypes from 'prop-types'; import React, {Component} from 'react'; - +import {FormGroup, Input, Label, Badge, Button} from 'reactstrap'; +import Dropzone from 'react-dropzone'; +import './generalInfo.css'; class GeneralInfo extends Component { constructor() { super(); + this.state = { + defValue: "", + tags: [], + screenshots: [], + icon: [], + banner: [] + } } - render() { return( -
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ {this.state.tags.map(tag => { + return ( + + {tag.value} + + ) + } + )} +
+
+
+ + + (600 X 800 32 bit PNG) +
+ {this.state.screenshots.map((tile) => ( + + ))} + {this.state.screenshots.length < 3 ? + { + let tmpScreenshots = this.state.screenshots; + tmpScreenshots.push(screenshots); + console.log(screenshots); + this.setState({ + screenshots: tmpScreenshots + }); + }} + > +

+

+
:
} +
+ +
+
+
+ + + (512 X 512 32 bit PNG) +
+ {this.state.icon.map((tile) => ( + + ))} +
+ {this.state.icon.length === 0 ? + { + this.setState({icon, rejected}); + }} + > +

+

+
:
} + +
+
+ + + (1000 X 400 32 bit PNG) +
+ {this.state.banner.map((tile) => ( + + ))} + {this.state.banner.length === 0 ? + { + this.setState({banner, rejected}); + }} + > +

+

+
:
+ } +
+ +
+
+
+ +
+
) - - } - - } export default GeneralInfo; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseContent.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/generalInfo.css similarity index 85% rename from components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseContent.jsx rename to components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/generalInfo.css index 1d22a37445..fb0471eddc 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseContent.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/generalInfo.css @@ -16,14 +16,11 @@ * under the License. */ -import React, {Component} from 'react'; - -class ReleaseContent extends Component { - - - - +.app-edit-general-info { + margin-top: 20px; } - -export default ReleaseContent; +.save-info { + float: right; + margin-bottom: 10px; +} \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx new file mode 100644 index 0000000000..b737680c92 --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx @@ -0,0 +1,173 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import PropTypes from 'prop-types'; +import React, {Component} from 'react'; +import './createRelease.css'; +import {Button, FormGroup, FormText, Input, Label, Row} from "reactstrap"; +import UploadPackage from "./UploadPackage"; + +class CreateRelease extends Component { + constructor() { + super(); + this.onTestMethodChange = this.onTestMethodChange.bind(this); + this.showUploadArtifacts = this.showUploadArtifacts.bind(this); + this.handleBack = this.handleBack.bind(this); + this.backToRelease = this.backToRelease.bind(this); + this.state = { + open: true, + hiddenMain: false + } + } + + onTestMethodChange(event) { + let type = event.target.value; + if (type !== 'open') { + this.setState({open: false}) + } else { + this.setState({open: true}) + } + } + + showUploadArtifacts() { + this.setState({hiddenMain: true}) + } + + handleBack() { + this.props.handleBack(); + } + + backToRelease() { + this.setState({hiddenMain: false}); + } + + render() { + const {channel} = this.props; + console.log(channel); + return ( +
+ + {this.state.hiddenMain ? +
+ +
: + +
+ +
+ {"<-"} + + {channel} Release + +
+
+ +
+
+ + Create Release + +

+ {channel === 'Production' ? "" : + "You could create " + channel + " release for your application and let " + + "the test users to test the application for it's stability."} +

+
+
+ +
+
+
+ {channel !== 'Production' ? + +
+ + Manage Test Method + +

+ This section allows you to change the test method and the users who would be + able to test your application. +

+
+
+ + + + + + + + {!this.state.open ? ( + + + + + Provide a comma separated list of email + addresses. + + + ) :
} + + + + + Provide an Email address or a URL for your users to provide + feedback on the application. + + +
+ +
+ +
+
+ : +
+ } +
+ } + +
+ ); + } +} + +CreateRelease.propTypes = { + channel: PropTypes.string, + handleBack: PropTypes.func +}; + +export default CreateRelease; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx new file mode 100644 index 0000000000..8eb017fa59 --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx @@ -0,0 +1,95 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import PropTypes from 'prop-types'; +import React, {Component} from 'react'; +import './createRelease.css'; +import {Button, Col, FormGroup, Input, Label, Row} from "reactstrap"; + +class UploadPackage extends Component { + + constructor() { + super(); + this.handleBack = this.handleBack.bind(this) + } + + handleBack() { + this.props.backToRelease(); + } + + render() { + const {selectedChannel} = this.props; + return ( +
+ +
+ {"<-"} + + New Release for {selectedChannel} + +
+
+ +
+ + Upload Package File + +
+
+ + + + + + + + + +
+
+ + + + + + + + +
+ +
+
+
+
+
+ ); + } +} + +UploadPackage.protoTypes = { + backToRelease: PropTypes.func, + channel: PropTypes.string +}; + +export default UploadPackage; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/createRelease.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/createRelease.css new file mode 100644 index 0000000000..1cd6694597 --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/createRelease.css @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +.release-header { + margin-top: 20px; + margin-bottom: 20px; +} + +.release-create { + height: 150px; + margin-bottom: 20px; +} + +.release-detail-content { + width: 100%; + margin-top: 20%; + height: 300px; +} + +.form-btn { + float: right; + margin-bottom: 10px; +} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/ReleaseManager.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/ReleaseManager.jsx index a580d75edb..0501f6b2d6 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/ReleaseManager.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/ReleaseManager.jsx @@ -16,15 +16,32 @@ * under the License. */ +import PropTypes from 'prop-types'; import React, {Component} from 'react'; import './release-mgt.css'; import {Button, Col, Row} from "reactstrap"; +import CreateRelease from "../Create/CreateRelease"; class ReleaseManager extends Component { constructor() { super(); this.getNoReleaseContent = this.getNoReleaseContent.bind(this); + this.createRelease = this.createRelease.bind(this); + this.handleBackPress = this.handleBackPress.bind(this); + this.state = { + createRelease: false, + onGoing: "" + } + } + + createRelease(event) { + event.preventDefault(); + this.setState({createRelease: true, onGoing: event.target.value}) + } + + handleBackPress() { + this.setState({createRelease: false}); } /** @@ -40,7 +57,14 @@ class ReleaseManager extends Component {
- +
@@ -49,45 +73,51 @@ class ReleaseManager extends Component { render() { return ( -
- - -
- Production Releases -
-
- - {this.getNoReleaseContent("Production")} - +
+ {this.state.createRelease ? + : +
+ + +
+ Production Releases +
+
+ {this.getNoReleaseContent("Production")} +
+
-
-
- - - - -
- Beta Releases -
-
- {this.getNoReleaseContent("Beta")} + + + + +
+ Beta Releases +
+
+ {this.getNoReleaseContent("Beta")} +
+
-
-
- - - - -
- Alpha Releases -
-
- {this.getNoReleaseContent("Alpha")} + + + + +
+ Alpha Releases +
+
+ {this.getNoReleaseContent("Alpha")} +
+
-
-
- - + + +
+ }
) } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/release-mgt.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/release-mgt.css index d72a8ea81c..7fd6831f24 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/release-mgt.css +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/ReleaseMgtBase/release-mgt.css @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + .release-content { height: 180px; width: 95%; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/index.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/index.css index c5776f7318..32f3c298a8 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/index.css +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/index.css @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + body { width: 100%; font-family: sans-serif; @@ -32,6 +50,14 @@ body { width: 100%; background-color: #BDBDBD; border-bottom: solid 2px; + position: fixed; /* Set the navbar to fixed position */ + top: 0; /* Position the navbar at the top of the page */ + z-index: 2; +} + +#application-content { + max-height: 800px; + margin-top: 150px; } #add-btn { @@ -187,3 +213,5 @@ body { color: #818181; } + +