Skip to content

Instantly share code, notes, and snippets.

@zetachang
Created December 2, 2011 16:43
Show Gist options
  • Save zetachang/1423906 to your computer and use it in GitHub Desktop.
Save zetachang/1423906 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
%html
%head
%meta{:charset=>"utf-8"}
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
%meta{:content=>"IE=edge,chrome=1", :"http-equiv"=>"X-UA-Compatible"}
= stylesheet_link_tag "site"
= javascript_include_tag "https://www.google.com/jsapi"
= javascript_include_tag "application"
%meta{:property=>"og:title",:content=>"針對新聞說出你的看法--台灣投票 Taiwan Voting"}
%meta{:property=>"og:type",:content=>"Web Service"}
%meta{:property=>"og:url",:content=>"http://voting.tw/"}
%meta{:property=>"og:image",:content=>asset_path('vote.png')}
%meta{:property=>"og:site_name",:content=>"台灣投票"}
%meta{:property=>"fb:app_id",:content=>"205771172833899"}
%title 台灣投票
%link{:rel=>"shortcut icon", :href=>"/favicon.ico"}
%body
.container
#header
#topbar
= link_to image_tag("fan.png"),"http://www.facebook.com/pages/%E5%8F%B0%E7%81%A3%E6%8A%95%E7%A5%A8-Taiwan-Voting/275016809211737"
.fb-like{"data-href"=>"http://voting.tw/","data-send"=>"false","data-width"=>"40","data-layout"=>"button_count"}
= link_to image_tag("maen.jpg"), root_path, :id => 'home-image'
#content
= yield
#footer
一、「台灣投票」線上民意調查之資料,為應用程式的使用者依其個人意願,下載程式並投票而得,與程式開發公司、Apple Inc.,或其他合作贊助單位無關,亦不代表其立場。
%br
二、抽樣方式、母體及樣本數:抽樣對象為擁有「臉書」帳號之使用者,一個「臉書」帳號可以投一票。本民調至總統大選前十日截止,母體及樣本數視屆時總投票數為定。
%br
Copyright © 2011, XFlea Production. All Right Reserved.
#fb-root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment