Module: CiInACan::WebContent

Defined in:
lib/ci_in_a_can/web_content.rb

Class Method Summary collapse

Class Method Details

.layout_page_around(content) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/ci_in_a_can/web_content.rb', line 5

def self.layout_page_around content
"<html>\n  <head>\n<link rel=\"stylesheet\" href=\"//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css\">\n<link rel=\"stylesheet\" href=\"//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css\">\n<script src=\"//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js\"></script>\n  </head>\n  <body>\n  \#{content}\n  </body>\n</html>\n"
end