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%;
|
width: 100%;
|
||||||
height: 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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<noscript>
|
||||||
|
<div class="error">
|
||||||
|
JavaScript must be enabled.
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
</noscript>
|
||||||
|
|
||||||
<form id="form">
|
<form id="form">
|
||||||
<input type="text" id="repo" placeholder="owner/repo" required="true">
|
<input type="text" id="repo" placeholder="owner/repo" required="true">
|
||||||
|
|
|
@ -8,6 +8,13 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<noscript>
|
||||||
|
<div class="error">
|
||||||
|
JavaScript must be enabled.
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
</noscript>
|
||||||
|
|
||||||
<select id="language">
|
<select id="language">
|
||||||
<option value="auto-detect">Auto-Detect</option>
|
<option value="auto-detect">Auto-Detect</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue