summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-04-20 14:49:21 +0000
committergebele <gebele@in-silico.ch>2016-04-20 14:49:21 +0000
commit9d6043aef3836e0678942dccda2d8eeda0dc17b4 (patch)
treedd36d80c1f54b16ac2b6917f32e8dc76577f5f9e
parent48738e50ab34768cccfc770d3010c4f055bd76eb (diff)
keep back faq
-rw-r--r--application.rb4
-rw-r--r--views/layout.haml6
2 files changed, 5 insertions, 5 deletions
diff --git a/application.rb b/application.rb
index cebe4f2..7b774bc 100644
--- a/application.rb
+++ b/application.rb
@@ -304,12 +304,12 @@ post '/predict/?' do
haml :prediction
end
end
-
+=begin
get '/faq' do
@faq = RDiscount.new(File.read("FAQ.md")).to_html
haml :faq, :layout => :faq_layout
end
-
+=end
get '/style.css' do
headers 'Content-Type' => 'text/css; charset=utf-8'
scss :style
diff --git a/views/layout.haml b/views/layout.haml
index 46d326d..a49238f 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -27,9 +27,9 @@
%img.media-object{:src=>"/images/ist_logo.png", :alt=>"logo", :style=>"margin:0 3em 0 2em;"}
%div.col-md-8
%h1.media-heading{:style=>"margin: 0 0 0 1em;"} Lazar Toxicity Predictions
- %div.col-md-2
- %a.btn.btn-info{:href=> to("/faq"), :rel => "external"}
- FAQ
+ /%div.col-md-2
+ / %a.btn.btn-info{:href=> to("/faq"), :rel => "external"}
+ / FAQ
%div.container-fluid
:javascript