Skip to content

Commit

Permalink
add help links
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Apr 1, 2022
1 parent 47d34ff commit 44c6318
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,22 @@ <h2>A simple web server for local web development</h2>
<div class="item checkbox">
<label for="cors">Set CORS headers</label>
<input type="checkbox" id="cors"/>
<a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">[?]</a>
</div>
<div class="item checkbox">
<label for="unityHack">Support Unity</label>
<input type="checkbox" id="unityHack"/>
<a target="_blank" href="https://docs.unity3d.com/2021.2/Documentation/Manual/webgl-deploying.html">[?]</a>
</div>
<div class="item checkbox">
<label for="sharedArrayBuffers">SharedArrayBuffer headers</label>
<input type="checkbox" id="sharedArrayBuffers"/>
<a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements">[?]</a>
</div>
<div class="item checkbox">
<label for="ssl">Use HTTPS</label>
<input type="checkbox" id="ssl"/>
<a target="_blank" href="https://greggman.github.io/servez/#https">[?]</a>
</div>
<div class="buttons">
<button id="start">Start</button>
Expand Down
9 changes: 7 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ input {
.checkbox label {
order: 2;
}

.checkbox a {
margin-left: 0.5em;
order: 3;
color: plum;
font-weight: bold;
}
.icon {

}
Expand Down Expand Up @@ -123,7 +128,7 @@ input {
}

.buttons {
padding-top: s1em;
padding-top: 1em;
}
.buttons button {
font-size: large;
Expand Down

0 comments on commit 44c6318

Please sign in to comment.