Browse Source

Getting started with tables actions.

Rafał Pitoń 11 years ago
parent
commit
9591878bea

+ 6 - 2
uiframework/admin/layout.html

@@ -133,7 +133,9 @@
 
 
     <div class="container">
     <div class="container">
 
 
-      [page] [filters] [sorting] &lt;- - - nothing - - -&gt; [with selected]
+      <div class="table-actions">
+        [page] [filters] [sorting] &lt;- - - nothing - - -&gt; [with selected]
+      </div>
 
 
       <div class="table-panel">
       <div class="table-panel">
         <table class="table">
         <table class="table">
@@ -188,7 +190,9 @@
         </table>
         </table>
       </div>
       </div>
 
 
-      [page]
+      <div class="table-actions">
+        [page]
+      </div>
 
 
     </div><!-- /.container -->
     </div><!-- /.container -->
 
 

+ 4 - 1
uiframework/misago/admin/css/misago/tables.less

@@ -2,13 +2,16 @@
 // Tables
 // Tables
 // --------------------------------------------------
 // --------------------------------------------------
 
 
+.table-actions {
+  margin-bottom: @line-height-computed;
+}
+
 .table-panel {
 .table-panel {
   border: 1px solid @table-panel-border;
   border: 1px solid @table-panel-border;
   border-radius: @border-radius-base;
   border-radius: @border-radius-base;
   box-shadow: 0px 0px 0px 3px @table-panel-shadow;
   box-shadow: 0px 0px 0px 3px @table-panel-shadow;
   margin-bottom: @line-height-computed;
   margin-bottom: @line-height-computed;
 
 
-  margin-top: @line-height-computed;
   table {
   table {
     margin: 0px;
     margin: 0px;
 
 

+ 3 - 1
uiframework/misago/admin/css/style.css

@@ -6074,12 +6074,14 @@ body {
     color: #ffffff;
     color: #ffffff;
   }
   }
 }
 }
+.table-actions {
+  margin-bottom: 20px;
+}
 .table-panel {
 .table-panel {
   border: 1px solid #d4d4d4;
   border: 1px solid #d4d4d4;
   border-radius: 4px;
   border-radius: 4px;
   box-shadow: 0px 0px 0px 3px #ededed;
   box-shadow: 0px 0px 0px 3px #ededed;
   margin-bottom: 20px;
   margin-bottom: 20px;
-  margin-top: 20px;
 }
 }
 .table-panel table {
 .table-panel table {
   margin: 0px;
   margin: 0px;