charlottebrf / DoctorsWhoCode

My Time Manager: Your helpful time manager app created for CF: G Ruby course AW 2016 course competition project.
https://evening-lowlands-39707.herokuapp.com/
0 stars 0 forks source link

Add Back button at bottom of week, month, targets pages #48

Closed melikecode closed 7 years ago

melikecode commented 7 years ago

For ease of use on mobiles.

Add to week, month, target .erb files, at the bottom of the page somewhere:

<a href="href="javascript:history.back()">

...note you may want to put some padding or margin at the top so that it's not too close to all the main stuff on the page

sohbaker commented 7 years ago

added the go back button but the link is broken

melikecode commented 7 years ago

What are you seeing or not seeing?

melikecode commented 7 years ago

Ahh oops i think I forgot to include the script information see below

http://www.w3schools.com/jsref/met_his_back.asp

sohbaker commented 7 years ago

fixed it now, it didn't like the href after a ref