kelmerp/web-flashcards — pull request #24 by JTFrancis (2013-09-01 21:03:49+00:00)
Title: updates layout of user.erb and results.erb

Adds conditional display of table data in user.erb. If no data to display, it says "no games played yet". Adds conditional display of "You need to work on this shit!" in results.erb. Only displays "You need to work on this shit!" if the user missed a card. Otherwise displays "You're so smart! You didn't miss any guesses!". Shifts audio controls to lower right of header. Adds tag to header as a comment. can be used to autoplay the song without controls so if the game is ever ajaxified this code could be entered on the round.erb page to play in the background. Adds some javascript to the application.js file that doesn't have any useful function.