Permalink
Browse files

working on Haml + bootstrap layout

  • Loading branch information...
1 parent 042e938 commit 880e7ce98dda27be75aaf956b935537fdd00ee7d @brandonmwest committed Jan 3, 2012
Showing with 26 additions and 0 deletions.
  1. +7 −0 index.rb
  2. 0 views/index.haml
  3. +19 −0 views/layout.haml
View
@@ -0,0 +1,7 @@
+require 'rubygems'
+require 'sinatra'
+require 'haml'
+
+get '/' do
+ haml :index, :format => :html5
+end
View
No changes.
View
@@ -0,0 +1,19 @@
+%html
+ %head
+ %title I/O Doctor - GUI for generating I/O Docs configurations
+ %link{:href => "/css/bootstrap.min.css", :rel => "stylesheet"}
+ %body
+ .topbar
+ .fill
+ .container
+ %a.brand{:href => "#"} I/O Doctor
+ %ul.nav
+ %li.active
+ %a{:href => "#"} Home
+ %li
+ %a{:href => "#about"} About
+ %form.pull-right{:action => ""}
+ %input.input-small{:placeholder => "Username", :type => "text"}
+ %input.input-small{:placeholder => "Password", :type => "password"}
+ %button.btn{:type => "submit"} Sign in
+ =yield

0 comments on commit 880e7ce

Please sign in to comment.