You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2016/07/14 10:21:50 UTC
fauxton commit: updated refs/heads/master to a8bbcc2
Repository: couchdb-fauxton
Updated Branches:
refs/heads/master ced196ab1 -> a8bbcc2cb
Added Fauxton noscript element
- CSS are inline because of noscript state.
Closes COUCHDB-3056
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/a8bbcc2c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/a8bbcc2c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/a8bbcc2c
Branch: refs/heads/master
Commit: a8bbcc2cb4daa253794ce11f0eadaee209e14397
Parents: ced196a
Author: ali norouzi <al...@keemail.me>
Authored: Tue Jul 12 23:05:36 2016 +0430
Committer: Garren Smith <ga...@gmail.com>
Committed: Thu Jul 14 12:21:34 2016 +0200
----------------------------------------------------------------------
assets/index.underscore | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/a8bbcc2c/assets/index.underscore
----------------------------------------------------------------------
diff --git a/assets/index.underscore b/assets/index.underscore
index 782ca96..01248d9 100644
--- a/assets/index.underscore
+++ b/assets/index.underscore
@@ -22,6 +22,17 @@
<title>Project Fauxton</title>
<!-- Application styles. -->
+ <style>
+ .noscript-warning {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ padding: 1px 30px 10px 30px;
+ color: #fff;
+ background: #AF2D24;
+ margin: 100px;
+ box-shadow: 2px 2px 5px #989898;
+ }
+ </style>
+
<% if (base) { %>
<base href="<%= base %>"></base>
<% } %>
@@ -29,6 +40,13 @@
<body id="home">
+ <noscript>
+ <div class="noscript-warning">
+ <h1>Please turn on JavaScript</h1>
+ <p>Fauxton <strong>requires</strong> JavaScript to be enabled.</p>
+ </div>
+ </noscript>
+
<div id="notifications"></div>
<!-- Main container. -->