Skip to content
Browse files

Add a noscript banner to search_template.html

  • Loading branch information...
1 parent 1b78322 commit 034fe94d39151a8f6347427d9dbb2a41271406d6 @japhb japhb committed Jul 20, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 search_template.html
View
7 search_template.html
@@ -24,11 +24,16 @@
</script>
<style type="text/css">
#buffer { height: 0; width: 0; border: none; }
-
+noscript p { padding: .5em; }
</style>
</head>
<body>
+<noscript>
+<p class="ui-state-error ui-corner-all">This search page requires JavaScript. Please enable it in your browser,
+ or use the <a href="index.html">index page</a> instead.</p>
+</noscript>
+
<div id="search" class="ui-widget">
<label for="query">Search for: </label>
<input id="query" style="z-index: 100; position: relative" title="Enter Perl 6 document to search for" />

0 comments on commit 034fe94

Please sign in to comment.
Something went wrong with that request. Please try again.