Explicitly set charset, add "result" id
This commit is contained in:
parent
b75fa133ff
commit
01c5a3ca41
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue