diff --git a/stargaterando-data.rb b/stargaterando-data.rb index 05036cf..ebb0f0e 100644 --- a/stargaterando-data.rb +++ b/stargaterando-data.rb @@ -123,7 +123,7 @@ module StargateRando::Data 'SG-1|5x19' => 'Menace', 'SG-1|5x20' => 'Sentinel', 'SG-1|5x21' => 'Meridian', - 'SG-2|5x22' => 'Revelations', + 'SG-1|5x22' => 'Revelations', # SG-1 Season 6 (22 episodes) 'SG-1|6x1' => 'Redemption (Part 1)', @@ -146,7 +146,7 @@ module StargateRando::Data 'SG-1|6x18' => 'Forsaken', 'SG-1|6x19' => 'The Changeling', 'SG-1|6x20' => 'Memento', - 'SG-1|6x21' => 'Propehcy', + 'SG-1|6x21' => 'Prophecy', 'SG-1|6x22' => 'Full Circle', # SG-1 Season 7 (22 episodes) @@ -394,4 +394,4 @@ module StargateRando::Data 'SGU|2x20' => 'Gauntlet' } # Our crimes against humanity have ended. Please forgive us. -end \ No newline at end of file +end diff --git a/stargaterando.rb b/stargaterando.rb index a44fa95..ec0026d 100644 --- a/stargaterando.rb +++ b/stargaterando.rb @@ -109,6 +109,7 @@ module StargateRando::Views def layout html do head do + meta :charset => "UTF-8" title { "Stargate Episode Randomizer" } meta :name => "viewport", :content => "width=device-width, user-scalable=no" link :rel => "stylesheet", :href => "https://fonts.googleapis.com/css?family=Fira+Sans:400,700", :type => "text/css" @@ -121,7 +122,7 @@ module StargateRando::Views def results h1 "You should watch: " - h2 "#{@series}: #{@episode_and_season}: #{@episode_name}" + h2.result! "#{@series}: #{@episode_and_season}: #{@episode_name}" button :onclick => "document.location.reload()", :id => "reload" do "Get a new episode" end