Add noscript warning

This commit is contained in:
Shadowfacts 2016-10-01 11:26:48 -04:00
parent dbbf6d6e6c
commit 9290f1579b
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
3 changed files with 22 additions and 0 deletions

View File

@ -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;
}

View File

@ -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">

View File

@ -8,6 +8,13 @@
</head>
<body>
<noscript>
<div class="error">
JavaScript must be enabled.
</div>
<br>
</noscript>
<select id="language">
<option value="auto-detect">Auto-Detect</option>
</select>