[Groonga-commit] groonga/groonga-admin at 048f6a8 [master] table index: surround by "content" class

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 31 17:18:54 JST 2014


Kouhei Sutou	2014-12-31 17:18:54 +0900 (Wed, 31 Dec 2014)

  New Revision: 048f6a89249fe498f62648cfce63f41c0ffbc93a
  https://github.com/groonga/groonga-admin/commit/048f6a89249fe498f62648cfce63f41c0ffbc93a

  Message:
    table index: surround by "content" class

  Modified files:
    app/styles/main.scss
    app/views/tables/index.html

  Modified: app/styles/main.scss (+4 -0)
===================================================================
--- app/styles/main.scss    2014-12-31 17:16:01 +0900 (751cda2)
+++ app/styles/main.scss    2014-12-31 17:18:54 +0900 (8171451)
@@ -23,6 +23,10 @@ $icon-font-path: "../bower_components/bootstrap-sass-official/assets/fonts/boots
   @extend .col-md-10;
 }
 
+.content {
+  @extend .col-md-12;
+}
+
 .search-form {
   @extend .form-inline;
 

  Modified: app/views/tables/index.html (+37 -35)
===================================================================
--- app/views/tables/index.html    2014-12-31 17:16:01 +0900 (cd51b90)
+++ app/views/tables/index.html    2014-12-31 17:18:54 +0900 (58446b8)
@@ -4,41 +4,43 @@
     <li class="active"><a href="#/tables/">Tables</a></li>
   </ol>
 
-  <div class="alert alert-warning" ng-show="message.length &gt; 0">
-    <p>{{message}}</p>
-  </div>
+  <div class="content">
+    <div class="alert alert-warning" ng-show="message.length &gt; 0">
+      <p>{{message}}</p>
+    </div>
 
-  <h2>Tables</h2>
-  <div class="tables">
-    <table>
-      <thead>
-        <tr>
-          <th>id</th>
-          <th>name</th>
-          <th>type</th>
-          <th>value type</th>
-          <th>normalizer</th>
-          <th>tokenizer</th>
-          <th>token filters</th>
-          <th>path</th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr ng-repeat="table in tables track by $index">
-          <td>{{table.id}}</td>
-          <td>
-            <a href="#/tables/{{table.name}}">
-              {{table.name}}
-            </a>
-          </td>
-          <td>{{table.type}}</td>
-          <td>{{table.range}}</td>
-          <td>{{table.normalizer}}</td>
-          <td>{{table.tokenizer}}</td>
-          <td>{{table.token_filters}}</td>
-          <td>{{table.path}}</td>
-        </tr>
-      </tbody>
-    </table>
+    <h2>Tables</h2>
+    <div class="tables">
+      <table>
+        <thead>
+          <tr>
+            <th>id</th>
+            <th>name</th>
+            <th>type</th>
+            <th>value type</th>
+            <th>normalizer</th>
+            <th>tokenizer</th>
+            <th>token filters</th>
+            <th>path</th>
+          </tr>
+        </thead>
+        <tbody>
+          <tr ng-repeat="table in tables track by $index">
+            <td>{{table.id}}</td>
+            <td>
+              <a href="#/tables/{{table.name}}">
+                {{table.name}}
+              </a>
+            </td>
+            <td>{{table.type}}</td>
+            <td>{{table.range}}</td>
+            <td>{{table.normalizer}}</td>
+            <td>{{table.tokenizer}}</td>
+            <td>{{table.token_filters}}</td>
+            <td>{{table.path}}</td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
   </div>
 </div>
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index