]> source.dussan.org Git - sonarqube.git/commitdiff
move sidebar to the left
authorStas Vilchik <vilchiks@gmail.com>
Wed, 9 Nov 2016 09:48:47 +0000 (10:48 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 9 Nov 2016 14:51:40 +0000 (15:51 +0100)
server/sonar-web/src/main/js/apps/projects/components/AllProjects.js
server/sonar-web/src/main/js/apps/projects/components/App.js

index cc303887e71d54838cb50e04372e4b6e407e1646..248f2f7bbbbfc8bbfe09e1b1ac4c802eb7ec7fbd 100644 (file)
@@ -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>
     );
   }
index 3bc99f5782be260b43c3f1e185cbb3cfd42a8ec8..594055dadfb08db2e1da2bc9491ae801b9eb5797 100644 (file)
@@ -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>