Improve display of clippy lints page when JS is disabled
This commit is contained in:
parent
5873cb9d17
commit
c056928af2
@ -24,6 +24,7 @@ Otherwise, have a great day =^.^=
|
||||
<link id="styleNight" rel="stylesheet" href="https://rust-lang.github.io/mdBook/tomorrow-night.css" disabled="true"> {# #}
|
||||
<link id="styleAyu" rel="stylesheet" href="https://rust-lang.github.io/mdBook/ayu-highlight.css" disabled="true"> {# #}
|
||||
<link rel="stylesheet" href="style.css"> {# #}
|
||||
<noscript><link rel="stylesheet" href="noscript.css"></noscript> {# #}
|
||||
</head> {# #}
|
||||
<body> {# #}
|
||||
<script src="theme.js"></script> {# #}
|
||||
@ -52,12 +53,12 @@ Otherwise, have a great day =^.^=
|
||||
|
||||
<noscript> {# #}
|
||||
<div class="alert alert-danger" role="alert"> {# #}
|
||||
Sorry, this site only works with JavaScript! :( {# #}
|
||||
Lints search and filtering only works with JS enabled. :( {# #}
|
||||
</div> {# #}
|
||||
</noscript> {# #}
|
||||
|
||||
<div> {# #}
|
||||
<div class="panel panel-default"> {# #}
|
||||
<div class="panel panel-default" id="menu-filters"> {# #}
|
||||
<div class="panel-body row"> {# #}
|
||||
<div id="upper-filters" class="col-12 col-md-5"> {# #}
|
||||
<div class="btn-group" id="lint-levels" tabindex="-1"> {# #}
|
||||
|
3
util/gh-pages/noscript.css
Normal file
3
util/gh-pages/noscript.css
Normal file
@ -0,0 +1,3 @@
|
||||
#settings-dropdown, #menu-filters {
|
||||
display: none;
|
||||
}
|
Loading…
Reference in New Issue
Block a user