mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 00:45:35 -04:00 
			
		
		
		
	WIP, adding time entry index page
This commit is contained in:
		
							parent
							
								
									7dd556d718
								
							
						
					
					
						commit
						3d71add637
					
				
							
								
								
									
										9
									
								
								app/views/time_entries/index.haml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/views/time_entries/index.haml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| %a{ class: "btn btn-default btn-lg", href: root_path} | ||||
|   %span{ class:"icon-home"} | ||||
| %h2 Your Timesheet | ||||
| 
 | ||||
| %p Total Hours Worked: #{@hours_worked} | ||||
| %p Total Credits Available: #{@credits_available} | ||||
| 
 | ||||
| %a{class: "btn btn-lg btn-block btn-primary", href: new_time_entry_path } Add Time Entry | ||||
| 
 | ||||
| @ -11,7 +11,8 @@ Velocipede::Application.routes.draw do | ||||
| 
 | ||||
|   get  'task_lists/:id/edit' => "task_lists#edit", as: "edit_task_list" | ||||
| 
 | ||||
|   get  'time_entries/new' => "time_entries#new", as: "new_time_entry" | ||||
|   get  'time_entries'     => "time_entries#index", as: "time_entries" | ||||
|   get  'time_entries/new' => "time_entries#new",   as: "new_time_entry" | ||||
| 
 | ||||
|   ########################### | ||||
|   # API Routes | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user