Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add javascript disabled warning using noscript tag #314

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions assets/stylesheets/mailcatcher.css.sass
Expand Up @@ -82,6 +82,10 @@ body > header
float: left
border-left: 1px solid #fff
border-right: 1px solid #ccc
&.noscript
color: red
padding: 10px
font-weight: bold
input
margin: 6px
a
Expand Down
1 change: 1 addition & 0 deletions views/index.erb
Expand Up @@ -11,6 +11,7 @@
<h1><a href="http://mailcatcher.me" target="_blank">MailCatcher</a></h1>
<nav class="app">
<ul>
<noscript><li class="noscript">Javascript is not enabled</li></noscript>
<li class="search"><input type="search" name="search" placeholder="Search messages..." incremental="true" /></li>
<li class="clear"><a href="#" title="Clear all messages">Clear</a></li>
<% if MailCatcher.quittable? %>
Expand Down