From b3ed4f0dbf47ed4986b7ff745324fbde20123631 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 27 Aug 2018 11:33:10 +0000 Subject: updated to bs 4 --- views/faq.haml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'views/faq.haml') diff --git a/views/faq.haml b/views/faq.haml index 818b96a..63479e2 100644 --- a/views/faq.haml +++ b/views/faq.haml @@ -1,2 +1,6 @@ -%div.well.faq - = @faq +%div.card + %a.btn.btn-warning{:href => to('/predict')} + %i.fa.fa-caret-left + Back + %div.card-body + = @faq -- cgit v1.2.3 From 1546e77e9b2796f20215caa23f06822c96be27ee Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 5 Aug 2019 09:48:54 +0000 Subject: ensure xhr requests are https to avoid mixed content issue in browsers --- views/faq.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/faq.haml') diff --git a/views/faq.haml b/views/faq.haml index 63479e2..b058de8 100644 --- a/views/faq.haml +++ b/views/faq.haml @@ -1,5 +1,5 @@ %div.card - %a.btn.btn-warning{:href => to('/predict')} + %a.btn.btn-warning{:href => "//#{ENV['VIRTUAL_HOST']}/predict"} %i.fa.fa-caret-left Back %div.card-body -- cgit v1.2.3 From 270bddf5081671cd1905d6cce6eb3659159f573a Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 16 Aug 2019 09:49:53 +0000 Subject: change hostname method --- views/faq.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/faq.haml') diff --git a/views/faq.haml b/views/faq.haml index b058de8..8c0e604 100644 --- a/views/faq.haml +++ b/views/faq.haml @@ -1,5 +1,5 @@ %div.card - %a.btn.btn-warning{:href => "//#{ENV['VIRTUAL_HOST']}/predict"} + %a.btn.btn-warning{:href => "//#{$host_with_port}/predict"} %i.fa.fa-caret-left Back %div.card-body -- cgit v1.2.3