mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
New top menu for desktop & mobile.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
= top_menu link_to_dashboard
|
||||
= top_menu
|
||||
|
||||
%h1 Add Bike
|
||||
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
= top_menu link_to_dashboard
|
||||
= top_menu
|
||||
|
||||
%h1 Task List
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= top_menu link_to_dashboard
|
||||
= top_menu
|
||||
|
||||
%h1 Your Timesheet
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= top_menu link_to_dashboard
|
||||
= top_menu
|
||||
|
||||
%h1 Add Time Entry
|
||||
- time = Time.now
|
||||
|
||||
Reference in New Issue
Block a user