Merge pull request #116 from ilya-konanykhin/issue-115

Issue #115: New top menu for desktop & mobile.
This commit is contained in:
Jason Denney
2017-01-22 16:35:02 -08:00
committed by GitHub
7 changed files with 34 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
= top_menu link_to_dashboard
= top_menu
%h1 Add Bike
+4 -2
View File
@@ -1,8 +1,10 @@
- btn = if @show_add_bike
- capture do
= link_to 'Add Another Bike?', new_bike_path, class: 'btn btn-default'
= link_to 'Add Another Bike?', new_bike_path, class: 'btn btn-default navbar-btn hidden-xs'
= link_to new_bike_path, class: 'navbar-brand visible-xs', title: 'Add Another Bike?' do
%i.glyphicon.glyphicon-plus
= top_menu link_to_dashboard, btn
= top_menu btn
%h1 #{@bike.shop_id}: #{@bike.bike_brand}
%h4= @bike.model
+1 -1
View File
@@ -1,4 +1,4 @@
= top_menu link_to_dashboard
= top_menu
%h1 Task List
+1 -1
View File
@@ -1,4 +1,4 @@
= top_menu link_to_dashboard
= top_menu
%h1 Your Timesheet
+1 -1
View File
@@ -1,4 +1,4 @@
= top_menu link_to_dashboard
= top_menu
%h1 Add Time Entry
- time = Time.now