ブラウザ設定でJavaScriptが無効になっている場合、メッセージを表示
This commit is contained in:
parent
b57a272611
commit
5961d3e27a
11
public/css/tissue.css
vendored
11
public/css/tissue.css
vendored
@ -36,3 +36,14 @@
|
||||
.timeline-action-item {
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.tis-noscript {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 110000;
|
||||
width: 100vw;
|
||||
padding: 1.125rem; /* navbarが隠れるくらい */
|
||||
background: #ffeeba;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #fb6;
|
||||
}
|
@ -129,7 +129,11 @@
|
||||
</div>
|
||||
</div>
|
||||
@endguest
|
||||
|
||||
<noscript>
|
||||
<div class="tis-noscript">
|
||||
Tissueを閲覧するためには、ブラウザのJavaScriptを有効にする必要があります。
|
||||
</div>
|
||||
</noscript>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.0/js.cookie.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user