Pārlūkot izejas kodu

Added stylesheet

tags/last-sinatra-version
Adrian Short pirms 16 gadiem
vecāks
revīzija
d8ae2aed66
3 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      app.rb
  2. +2
    -0
      config.ru
  3. +4
    -0
      public/style.css

+ 1
- 0
app.rb Parādīt failu

@@ -27,6 +27,7 @@ __END__
%html
%head
%title Find My Candidates
%link{ :rel => 'stylesheet', :type => 'text/css', :href => 'style.css' }
%body
#main
%h1 Find My Candidates


+ 2
- 0
config.ru Parādīt failu

@@ -1,2 +1,4 @@
# For deploying on Heroku

require 'app'
run Sinatra::Application

+ 4
- 0
public/style.css Parādīt failu

@@ -0,0 +1,4 @@
body
{
background-color: beige;
}

Notiek ielāde…
Atcelt
Saglabāt