[Groonga-commit] ranguba/ranguba-server at f3665f9 [master] Use header

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 20 00:14:00 JST 2017


Kouhei Sutou	2017-02-20 00:14:00 +0900 (Mon, 20 Feb 2017)

  New Revision: f3665f966e883b78c9fc6d57af0b41c463247aab
  https://github.com/ranguba/ranguba-server/commit/f3665f966e883b78c9fc6d57af0b41c463247aab

  Message:
    Use header

  Modified files:
    app/assets/stylesheets/application.scss
    app/views/layouts/application.html.erb

  Modified: app/assets/stylesheets/application.scss (+7 -5)
===================================================================
--- app/assets/stylesheets/application.scss    2017-02-20 00:12:22 +0900 (a63a2bd)
+++ app/assets/stylesheets/application.scss    2017-02-20 00:14:00 +0900 (0b1dafe)
@@ -14,12 +14,14 @@
 
 @import "bootstrap";
 
-nav.header {
-  @extend .navbar;
-  @extend .navbar-toggleable-md;
+header {
+  nav {
+    @extend .navbar;
+    @extend .navbar-toggleable-md;
 
-  a.home {
-    @extend .navbar-brand;
+    a.home {
+      @extend .navbar-brand;
+    }
   }
 }
 

  Modified: app/views/layouts/application.html.erb (+5 -3)
===================================================================
--- app/views/layouts/application.html.erb    2017-02-20 00:12:22 +0900 (90d83b7)
+++ app/views/layouts/application.html.erb    2017-02-20 00:14:00 +0900 (a7cdd0f)
@@ -12,9 +12,11 @@
   </head>
 
   <body>
-    <nav class="header">
-      <%= link_to("Ranguba", root_path, class: "home") %>
-    </nav>
+    <header>
+      <nav>
+        <%= link_to("Ranguba", root_path, class: "home") %>
+      </nav>
+    </header>
 
     <div class="content">
       <%= yield %>
-------------- next part --------------
HTML����������������������������...
다운로드 



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