Skip to content

Instantly share code, notes, and snippets.

@tetherit
Created October 4, 2012 22:46
Show Gist options
  • Save tetherit/3836942 to your computer and use it in GitHub Desktop.
Save tetherit/3836942 to your computer and use it in GitHub Desktop.
!!!
%html
%head
%title Xanview: Monitoring Solutions
/[if lt IE 9]
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
%body
#topbar
.inner
.logo= image_tag "logo-small-glow.png"
.brand
XANVIEW
.subtitle Monitoring Solutions
.contact
02080996260
sales@xanview.com
= link_to "Request Quote", "#", class: "quote"
.login
%i.icon-user.icon-white
= link_to "Login"
#container.container
.row
.span12
%ul.menu
%li{ class: params["action"] == "home" ? "active" : "" }
= link_to "Home", home_path
%li{ class: params["action"] == "products" ? "active" : "" }
= link_to "Products", products_path
%li{ class: params["action"] == "compare" ? "active" : "" }
= link_to "Compare", compare_path
%li{ class: params["action"] == "blog" ? "active" : "" }
= link_to "Blog", blog_path
%li{ class: params["action"] == "demo" ? "active" : "" }
= link_to "Demo", demo_path
%li{ class: params["action"] == "about" ? "active" : "" }
= link_to "About", about_path
.row
.span12
.content
- flash.each do |name, msg|
%div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
%a.close{"data-dismiss" => "alert"} ×
= msg
= yield
%footer
%ul#footer_menu
%li= link_to "Privacy Policy"
%li|
%li= link_to "Contact Us"
%li|
%li= link_to "Support"
%span Copyright © 2007-2012 Xanview Ltd. All rights Reserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment