[Groonga-commit] ranguba/ranguba-server at 207f509 [master] Style nav items

Back to archive index

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


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

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

  Message:
    Style nav items

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

  Modified: app/assets/stylesheets/application.scss (+12 -0)
===================================================================
--- app/assets/stylesheets/application.scss    2017-02-20 00:14:00 +0900 (0b1dafe)
+++ app/assets/stylesheets/application.scss    2017-02-20 00:19:30 +0900 (6ba08de)
@@ -22,6 +22,18 @@ header {
     a.home {
       @extend .navbar-brand;
     }
+
+    ul {
+      @extend .navbar-nav;
+
+      li {
+        @extend .nav-item;
+
+        a {
+          @extend .nav-link;
+        }
+      }
+    }
   }
 }
 

  Modified: app/views/layouts/application.html.erb (+3 -0)
===================================================================
--- app/views/layouts/application.html.erb    2017-02-20 00:14:00 +0900 (a7cdd0f)
+++ app/views/layouts/application.html.erb    2017-02-20 00:19:30 +0900 (fdbf73e)
@@ -15,6 +15,9 @@
     <header>
       <nav>
         <%= link_to("Ranguba", root_path, class: "home") %>
+        <ul>
+          <li><%= link_to("Entries", entries_path) %></li>
+        </ul>
       </nav>
     </header>
 
-------------- next part --------------
HTML����������������������������...
Download 



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