mirror of https://github.com/shadowfacts/type.git
Add noscript warning
This commit is contained in:
parent
dbbf6d6e6c
commit
9290f1579b
|
@ -12,3 +12,12 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.error {
|
||||
border: 1px solid red;
|
||||
border-radius: 3px;
|
||||
background-color: rgba(255, 0, 0, 0.5);
|
||||
padding: 5px;
|
||||
font-size: 2em;
|
||||
font-family: "Helvetica", Arial, sans-serif;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,12 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<noscript>
|
||||
<div class="error">
|
||||
JavaScript must be enabled.
|
||||
</div>
|
||||
<br>
|
||||
</noscript>
|
||||
|
||||
<form id="form">
|
||||
<input type="text" id="repo" placeholder="owner/repo" required="true">
|
||||
|
|
Loading…
Reference in New Issue