From 9d6043aef3836e0678942dccda2d8eeda0dc17b4 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 20 Apr 2016 14:49:21 +0000 Subject: keep back faq --- application.rb | 4 ++-- views/layout.haml | 6 +++--- 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 -- cgit v1.2.3