diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-09 10:48:47 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-09 15:51:40 +0100 |
commit | 246cdd07b859273bdf688c9013e6ee2c5a04a4c2 (patch) | |
tree | d3ab7a7a5ae5b2a9bce3f82dea553183bafefcef /server/sonar-web | |
parent | a2892186843864f467b97a6d3f1a21c3576002bb (diff) | |
download | sonarqube-246cdd07b859273bdf688c9013e6ee2c5a04a4c2.tar.gz sonarqube-246cdd07b859273bdf688c9013e6ee2c5a04a4c2.zip |
move sidebar to the left
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/components/AllProjects.js | 8 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/components/App.js | 7 |
2 files changed, 5 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/components/AllProjects.js b/server/sonar-web/src/main/js/apps/projects/components/AllProjects.js index cc303887e71..248f2f7bbbb 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/AllProjects.js +++ b/server/sonar-web/src/main/js/apps/projects/components/AllProjects.js @@ -59,14 +59,14 @@ export default class AllProjects extends React.Component { !Object.keys(this.state.query).some(key => this.state.query[key] != null); return ( - <div className="page-with-sidebar projects-page"> + <div className="page-with-sidebar page-with-left-sidebar projects-page"> + <aside className="page-sidebar-fixed projects-sidebar"> + <PageSidebar query={this.state.query} isFavorite={this.props.isFavorite}/> + </aside> <div className="page-main"> <ProjectsListContainer favoriteAndNoFilters={favoriteAndNoFilters}/> <ProjectsListFooterContainer query={this.state.query} isFavorite={this.props.isFavorite}/> </div> - <aside className="page-sidebar-fixed projects-sidebar"> - <PageSidebar query={this.state.query} isFavorite={this.props.isFavorite}/> - </aside> </div> ); } diff --git a/server/sonar-web/src/main/js/apps/projects/components/App.js b/server/sonar-web/src/main/js/apps/projects/components/App.js index 3bc99f5782b..594055dadfb 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/App.js +++ b/server/sonar-web/src/main/js/apps/projects/components/App.js @@ -40,12 +40,7 @@ export default class App extends React.Component { <GlobalMessagesContainer/> - <div className="page-with-sidebar"> - <div className="page-main"> - <PageHeaderContainer/> - </div> - <aside className="page-sidebar-fixed projects-sidebar"/> - </div> + <PageHeaderContainer/> {this.props.children} </div> |