From bc15e292faf6f823d2eba2caa165395d488c31d8 Mon Sep 17 00:00:00 2001 From: Bruno Michel Date: Fri, 5 Feb 2016 09:41:56 +0100 Subject: [PATCH] Fix #199 - add warning when JS or cookies are disabled --- server/views/index.jade | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/views/index.jade b/server/views/index.jade index 8ca86ef9..3cb9491b 100644 --- a/server/views/index.jade +++ b/server/views/index.jade @@ -7,6 +7,13 @@ block title block content main(role='application') + noscript + section.popup + header + a(title='Cozy Website', href='https://cozy.io') + .container + h1 Sorry + p.help Cozy needs JavaScript and cookies to work but it looks like you have disabled one of them. block js script(src="/scripts/vendor.js")