diff options
author | Daniel Jones <admin@danieljon.es> | 2020-02-09 16:43:42 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-02-09 16:43:42 +1030 |
commit | fd7d4c157e1de0d9573ab5b3c5a062db193ba917 (patch) | |
tree | fac61fb91fc66b5a5aef0eb3384de4f7919b93bc | |
parent | 99202e7ea1c4085b57e2a8f34002b07423d13710 (diff) | |
download | websitegenerator-fd7d4c157e1de0d9573ab5b3c5a062db193ba917.tar.gz websitegenerator-fd7d4c157e1de0d9573ab5b3c5a062db193ba917.zip |
added disable js warning
-rw-r--r-- | template.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/template.txt b/template.txt index 94d692e..3c86817 100644 --- a/template.txt +++ b/template.txt @@ -35,10 +35,19 @@ div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding- .content{} .pinned{margin-left: 10px; display: inline-block; border-width: 1px; width: auto; outline: 1px solid #000; outline-offset: 10px;} .notes{margin-left: 10px; display: inline-block; border-width: 1px; width: auto; outline: 1px solid #000; outline-offset: 10px; max-height: 300px; max-width: 500px; overflow-y:scroll;} +.js-message +{ + color: white; + background: red; +} + </style> </head> <body> <div class="middle"> +<script> + document.write("<div class='js-message'>This site works best with JavaScript disabled, please disable it.</div>"); +</script> <h1>danieljon.es</h1> <a href="/">index</a> <a href="/posts">posts</a> <a href="/opinions">opinions</a> <a href="/like.html">likes</a> <a href="/dislike.html">dislikes</a> <a href="/interesting.html">interesting</a> <a href="https://git.danieljon.es">cgit</a> <a href="https://github.com/daniel-Jones/">github</a> <br> |