Compare commits

...

3 commits

2 changed files with 5 additions and 4 deletions

View file

@ -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)

View file

@ -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