forked from svrjs/svrjs
Update the design of default HTML pages
This commit is contained in:
parent
01d3a18e01
commit
87ba2dd985
3 changed files with 250 additions and 57 deletions
77
index.html
77
index.html
|
@ -5,25 +5,89 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<style>
|
<style>
|
||||||
body {
|
html {
|
||||||
font-family: FreeSans, Helvetica, Tahoma, Arial, sans-serif;
|
background-color: #dfffdf;
|
||||||
|
color: #000000;
|
||||||
|
font-family: FreeSans, Helvetica, Tahoma, Verdana, Arial, sans-serif;
|
||||||
|
margin: 0.75em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 0.5em 0.5em 0.1em;
|
||||||
|
margin: 0.5em auto;
|
||||||
|
width: 90%;
|
||||||
|
max-width: 800px;
|
||||||
|
-webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
-moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15)
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2.25em;
|
||||||
|
margin: 0.3em 0 0.5em
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
background-color: #dfffdf;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
-moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
display: block;
|
||||||
|
padding: 0.2em;
|
||||||
|
font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Hack, Menlo, Consolas, Monaco, monospace;
|
||||||
|
font-size: 0.85em;
|
||||||
|
margin: auto;
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (prefers-color-scheme: dark) {
|
||||||
|
html {
|
||||||
|
background-color: #002000;
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #000f00;
|
||||||
|
-webkit-box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15);
|
||||||
|
-moz-box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15);
|
||||||
|
box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15)
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
background-color: #002000;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1);
|
||||||
|
-moz-box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1);
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1)
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #00ff00
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Welcome to SVR.JS Nightly-GitMain</h1>
|
<h1>Welcome to SVR.JS Nightly-GitMain</h1>
|
||||||
<div style="background-color: #ffff00; border-color: #ff7f00; border-width: 5px; border-style: solid; padding: 5px; display: inline-block;">
|
<div style="background-color: #ffff00; color: #000000; border-color: #ff7f00; border-width: 5px; border-style: solid; padding: 5px; display: inline-block;">
|
||||||
<b style="font-size: 26px">WARNING!</b><br />
|
<b style="font-size: 26px">WARNING!</b><br />
|
||||||
This version is only for test purposes and may be unstable.
|
This version is only for test purposes and may be unstable.
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<img src="/logo.png" style="width: 256px; max-width: 100%;" />
|
<img src="/logo.png" style="width: 224px; max-width: 100%;" />
|
||||||
<br />
|
<br />
|
||||||
<p>If you see this page that means that the server is working properly. You can further configure the server and replace <i>index.html</i> and <i>tests.html</i> pages with custom ones.</p>
|
<p>If you see this page that means that the server is working properly. You can further configure the server and replace <i>index.html</i> and <i>tests.html</i> pages with custom ones.</p>
|
||||||
<p>Default <i>config.json</i> looks like this:</p>
|
<p>Default <i>config.json</i> looks like this:</p>
|
||||||
<code style="background-color: #e0e0e0; padding: 5px; text-align: left; display: block; display: inline-block;">
|
<code style="padding: 5px; text-align: left; display: block; display: inline-block;">
|
||||||
<pre style="margin: 0.2em; white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; word-break: break-all; word-break: break-word">{
|
<pre style="margin: 0.2em; white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; word-break: break-all; word-break: break-word; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;">{
|
||||||
"users": [],
|
"users": [],
|
||||||
"port": 80,
|
"port": 80,
|
||||||
"pubport": 80,
|
"pubport": 80,
|
||||||
|
@ -98,4 +162,5 @@
|
||||||
</p>
|
</p>
|
||||||
<img src="/powered.png" />
|
<img src="/powered.png" />
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -5,10 +5,74 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<style>
|
<style>
|
||||||
body {
|
html {
|
||||||
font-family: FreeSans, Helvetica, Tahoma, Arial, sans-serif;
|
background-color: #dfffdf;
|
||||||
|
color: #000000;
|
||||||
|
font-family: FreeSans, Helvetica, Tahoma, Verdana, Arial, sans-serif;
|
||||||
|
margin: 0.75em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 0.5em 0.5em 0.1em;
|
||||||
|
margin: 0.5em auto;
|
||||||
|
width: 90%;
|
||||||
|
max-width: 800px;
|
||||||
|
-webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
-moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15)
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2.25em;
|
||||||
|
margin: 0.3em 0 0.5em
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
background-color: #dfffdf;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
-moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
display: block;
|
||||||
|
padding: 0.2em;
|
||||||
|
font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Hack, Menlo, Consolas, Monaco, monospace;
|
||||||
|
font-size: 0.85em;
|
||||||
|
margin: auto;
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (prefers-color-scheme: dark) {
|
||||||
|
html {
|
||||||
|
background-color: #002000;
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #000f00;
|
||||||
|
-webkit-box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15);
|
||||||
|
-moz-box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15);
|
||||||
|
box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15)
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
background-color: #002000;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1);
|
||||||
|
-moz-box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1);
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1)
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #00ff00
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -39,7 +103,7 @@
|
||||||
</div>
|
</div>
|
||||||
<h2>Packages used by SVR.JS Nightly-GitMain</h2>
|
<h2>Packages used by SVR.JS Nightly-GitMain</h2>
|
||||||
<div style="width: 100%; max-width: 1280px; margin: auto">
|
<div style="width: 100%; max-width: 1280px; margin: auto">
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/asap.txt"><b>asap</b></a>
|
<a href="/licenses/asap.txt"><b>asap</b></a>
|
||||||
|
@ -48,7 +112,7 @@
|
||||||
High-priority task queue for Node.js and browsers
|
High-priority task queue for Node.js and browsers
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/asn1.js.txt"><b>asn1.js</b></a> (by Fedor Indutny)
|
<a href="/licenses/asn1.js.txt"><b>asn1.js</b></a> (by Fedor Indutny)
|
||||||
|
@ -57,7 +121,7 @@
|
||||||
ASN.1 encoder and decoder
|
ASN.1 encoder and decoder
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/asn1.js-rfc2560.txt"><b>asn1.js-rfc2560</b></a> (by Fedor Indutny)
|
<a href="/licenses/asn1.js-rfc2560.txt"><b>asn1.js-rfc2560</b></a> (by Fedor Indutny)
|
||||||
|
@ -66,7 +130,7 @@
|
||||||
RFC2560 structures for asn1.js
|
RFC2560 structures for asn1.js
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/asn1.js-rfc5280.txt"><b>asn1.js-rfc5280</b></a> (by Felix Hanley)
|
<a href="/licenses/asn1.js-rfc5280.txt"><b>asn1.js-rfc5280</b></a> (by Felix Hanley)
|
||||||
|
@ -75,7 +139,7 @@
|
||||||
RFC5280 extension structures for asn1.js
|
RFC5280 extension structures for asn1.js
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/async.txt"><b>async</b></a> (by Caolan McMahon)
|
<a href="/licenses/async.txt"><b>async</b></a> (by Caolan McMahon)
|
||||||
|
@ -84,7 +148,7 @@
|
||||||
Higher-order functions and common patterns for asynchronous code
|
Higher-order functions and common patterns for asynchronous code
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/bn.js.txt"><b>bn.js</b></a> (by Fedor Indutny)
|
<a href="/licenses/bn.js.txt"><b>bn.js</b></a> (by Fedor Indutny)
|
||||||
|
@ -93,7 +157,7 @@
|
||||||
Big number implementation in pure javascript
|
Big number implementation in pure javascript
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/call-bind.txt"><b>call-bind</b></a> (by Jordan Harband)
|
<a href="/licenses/call-bind.txt"><b>call-bind</b></a> (by Jordan Harband)
|
||||||
|
@ -102,7 +166,7 @@
|
||||||
Robustly `.call.bind()` a function
|
Robustly `.call.bind()` a function
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/chownr.txt"><b>chownr</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/chownr.txt"><b>chownr</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -111,7 +175,7 @@
|
||||||
like `chown -R`
|
like `chown -R`
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/dezalgo.txt"><b>dezalgo</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/dezalgo.txt"><b>dezalgo</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -120,7 +184,7 @@
|
||||||
Contain async insanity so that the dark pony lord doesn't eat souls
|
Contain async insanity so that the dark pony lord doesn't eat souls
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/formidable.txt"><b>formidable</b></a>
|
<a href="/licenses/formidable.txt"><b>formidable</b></a>
|
||||||
|
@ -130,7 +194,7 @@
|
||||||
<b>Required by SVR.JS</b>
|
<b>Required by SVR.JS</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/fs-minipass.txt"><b>fs-minipass</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/fs-minipass.txt"><b>fs-minipass</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -140,7 +204,7 @@
|
||||||
<b>Patched to work with Bun</b>
|
<b>Patched to work with Bun</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/function-bind.txt"><b>function-bind</b></a> (by Raynos)
|
<a href="/licenses/function-bind.txt"><b>function-bind</b></a> (by Raynos)
|
||||||
|
@ -149,7 +213,7 @@
|
||||||
Implementation of Function.prototype.bind
|
Implementation of Function.prototype.bind
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/get-intrinsic.txt"><b>get-intrinsic</b></a> (by Jordan Harband)
|
<a href="/licenses/get-intrinsic.txt"><b>get-intrinsic</b></a> (by Jordan Harband)
|
||||||
|
@ -158,7 +222,7 @@
|
||||||
Get and robustly cache all JS language-level intrinsics at first require time
|
Get and robustly cache all JS language-level intrinsics at first require time
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/graceful-fs.txt"><b>graceful-fs</b></a>
|
<a href="/licenses/graceful-fs.txt"><b>graceful-fs</b></a>
|
||||||
|
@ -168,7 +232,7 @@
|
||||||
<b>Required by SVR.JS.</b>
|
<b>Required by SVR.JS.</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/has.txt"><b>has</b></a> (by Thiago de Arruda)
|
<a href="/licenses/has.txt"><b>has</b></a> (by Thiago de Arruda)
|
||||||
|
@ -177,7 +241,7 @@
|
||||||
Object.prototype.hasOwnProperty.call shortcut
|
Object.prototype.hasOwnProperty.call shortcut
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/has-symbols.txt"><b>has-symbols</b></a> (by Jordan Harband)
|
<a href="/licenses/has-symbols.txt"><b>has-symbols</b></a> (by Jordan Harband)
|
||||||
|
@ -186,7 +250,7 @@
|
||||||
Determine if the JS environment has Symbol support. Supports spec, or shams.
|
Determine if the JS environment has Symbol support. Supports spec, or shams.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/hexoid.txt"><b>hexoid</b></a> (by Luke Edwards)
|
<a href="/licenses/hexoid.txt"><b>hexoid</b></a> (by Luke Edwards)
|
||||||
|
@ -195,7 +259,7 @@
|
||||||
A tiny (190B) and extremely fast utility to generate random IDs of fixed length
|
A tiny (190B) and extremely fast utility to generate random IDs of fixed length
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/inherits.txt"><b>inherits</b></a>
|
<a href="/licenses/inherits.txt"><b>inherits</b></a>
|
||||||
|
@ -204,7 +268,7 @@
|
||||||
Browser-friendly inheritance fully compatible with standard node.js inherits()
|
Browser-friendly inheritance fully compatible with standard node.js inherits()
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/mime-db.txt"><b>mime-db</b></a>
|
<a href="/licenses/mime-db.txt"><b>mime-db</b></a>
|
||||||
|
@ -213,7 +277,7 @@
|
||||||
Media Type Database
|
Media Type Database
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/mime-types.txt"><b>mime-types</b></a>
|
<a href="/licenses/mime-types.txt"><b>mime-types</b></a>
|
||||||
|
@ -223,7 +287,7 @@
|
||||||
<b>Required by SVR.JS.</b>
|
<b>Required by SVR.JS.</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/minimalistic-assert.txt"><b>minimalistic-assert</b></a>
|
<a href="/licenses/minimalistic-assert.txt"><b>minimalistic-assert</b></a>
|
||||||
|
@ -232,7 +296,7 @@
|
||||||
minimalistic-assert ===
|
minimalistic-assert ===
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/minipass.txt"><b>minipass</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/minipass.txt"><b>minipass</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -241,7 +305,7 @@
|
||||||
minimal implementation of a PassThrough stream
|
minimal implementation of a PassThrough stream
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/minizlib.txt"><b>minizlib</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/minizlib.txt"><b>minizlib</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -250,7 +314,7 @@
|
||||||
A small fast zlib stream built on <a href="http://npm.im/minipass">minipass</a> and Node.js's zlib binding.
|
A small fast zlib stream built on <a href="http://npm.im/minipass">minipass</a> and Node.js's zlib binding.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/mkdirp.txt"><b>mkdirp</b></a>
|
<a href="/licenses/mkdirp.txt"><b>mkdirp</b></a>
|
||||||
|
@ -259,7 +323,7 @@
|
||||||
Recursively mkdir, like `mkdir -p`
|
Recursively mkdir, like `mkdir -p`
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/object-inspect.txt"><b>object-inspect</b></a> (by James Halliday)
|
<a href="/licenses/object-inspect.txt"><b>object-inspect</b></a> (by James Halliday)
|
||||||
|
@ -268,7 +332,7 @@
|
||||||
string representations of objects in node and the browser
|
string representations of objects in node and the browser
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/ocsp.txt"><b>ocsp</b></a> (by Fedor Indutny)
|
<a href="/licenses/ocsp.txt"><b>ocsp</b></a> (by Fedor Indutny)
|
||||||
|
@ -278,7 +342,7 @@
|
||||||
<b>Required by SVR.JS.</b>
|
<b>Required by SVR.JS.</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/once.txt"><b>once</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/once.txt"><b>once</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -287,7 +351,7 @@
|
||||||
Run a function exactly one time
|
Run a function exactly one time
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: BSD-3</div>
|
<div style="float: right;">License: BSD-3</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/qs.txt"><b>qs</b></a>
|
<a href="/licenses/qs.txt"><b>qs</b></a>
|
||||||
|
@ -296,7 +360,7 @@
|
||||||
A querystring parser that supports nesting and arrays, with a depth limit
|
A querystring parser that supports nesting and arrays, with a depth limit
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/side-channel.txt"><b>side-channel</b></a> (by Jordan Harband)
|
<a href="/licenses/side-channel.txt"><b>side-channel</b></a> (by Jordan Harband)
|
||||||
|
@ -305,7 +369,7 @@
|
||||||
Store information about any JS value in a side channel. Uses WeakMap if available.
|
Store information about any JS value in a side channel. Uses WeakMap if available.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: MIT</div>
|
<div style="float: right;">License: MIT</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/simple-lru-cache.txt"><b>simple-lru-cache</b></a> (by Gabriel Eisbruch)
|
<a href="/licenses/simple-lru-cache.txt"><b>simple-lru-cache</b></a> (by Gabriel Eisbruch)
|
||||||
|
@ -314,7 +378,7 @@
|
||||||
node-simple-lru-cache =====================
|
node-simple-lru-cache =====================
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/tar.txt"><b>tar</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/tar.txt"><b>tar</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -324,7 +388,7 @@
|
||||||
<b>Required by SVR.JS.</b>
|
<b>Required by SVR.JS.</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/wrappy.txt"><b>wrappy</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/wrappy.txt"><b>wrappy</b></a> (by Isaac Z. Schlueter)
|
||||||
|
@ -333,7 +397,7 @@
|
||||||
Callback wrapping utility
|
Callback wrapping utility
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
|
<div style="width: 100%; background-color: #ccc; background-color: rgba(200, 200, 200, 0.3); border: 1px solid green; text-align: left; margin: 10px 0;">
|
||||||
<div style="float: right;">License: ISC</div>
|
<div style="float: right;">License: ISC</div>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 20px;">
|
||||||
<a href="/licenses/yallist.txt"><b>yallist</b></a> (by Isaac Z. Schlueter)
|
<a href="/licenses/yallist.txt"><b>yallist</b></a> (by Isaac Z. Schlueter)
|
||||||
|
|
82
tests.html
82
tests.html
|
@ -5,28 +5,92 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<style>
|
<style>
|
||||||
body {
|
html {
|
||||||
font-family: FreeSans, Helvetica, Tahoma, Arial, sans-serif;
|
background-color: #dfffdf;
|
||||||
|
color: #000000;
|
||||||
|
font-family: FreeSans, Helvetica, Tahoma, Verdana, Arial, sans-serif;
|
||||||
|
margin: 0.75em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 0.5em 0.5em 0.1em;
|
||||||
|
margin: 0.5em auto;
|
||||||
|
width: 90%;
|
||||||
|
max-width: 800px;
|
||||||
|
-webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
-moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15)
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2.25em;
|
||||||
|
margin: 0.3em 0 0.5em
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
background-color: #dfffdf;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
-moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
display: block;
|
||||||
|
padding: 0.2em;
|
||||||
|
font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Hack, Menlo, Consolas, Monaco, monospace;
|
||||||
|
font-size: 0.85em;
|
||||||
|
margin: auto;
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (prefers-color-scheme: dark) {
|
||||||
|
html {
|
||||||
|
background-color: #002000;
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #000f00;
|
||||||
|
-webkit-box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15);
|
||||||
|
-moz-box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15);
|
||||||
|
box-shadow: 0 5px 10px 0 rgba(127, 127, 127, 0.15)
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
background-color: #002000;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1);
|
||||||
|
-moz-box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1);
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(127, 127, 127, 0.1)
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #00ff00
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>SVR.JS Nightly-GitMain Tests</h1>
|
<h1>SVR.JS Nightly-GitMain Tests</h1>
|
||||||
<h2>Directory (without trailing slash)</h2>
|
<h2>Directory (without trailing slash)</h2>
|
||||||
<iframe src="/testdir" width="50%" height="300px"></iframe>
|
<iframe src="/testdir" width="75%" height="300px"></iframe>
|
||||||
<h2>Directory (with query)</h2>
|
<h2>Directory (with query)</h2>
|
||||||
<iframe src="/testdir/?query=value" width="50%" height="300px"></iframe>
|
<iframe src="/testdir/?query=value" width="75%" height="300px"></iframe>
|
||||||
<h2>Directory (personalized)</h2>
|
<h2>Directory (personalized)</h2>
|
||||||
<iframe src="/testdir/.personalized" width="50%" height="300px"></iframe>
|
<iframe src="/testdir/.personalized" width="75%" height="300px"></iframe>
|
||||||
<h2>404 Error</h2>
|
<h2>404 Error</h2>
|
||||||
<iframe src="/tfhgfhggf" width="50%" height="300px"></iframe>
|
<iframe src="/tfhgfhggf" width="75%" height="300px"></iframe>
|
||||||
<h2>Server Side Javascript</h2>
|
<h2>Server Side Javascript</h2>
|
||||||
<iframe src="/hello.svr" width="50%" height="300px"></iframe>
|
<iframe src="/hello.svr" width="75%" height="300px"></iframe>
|
||||||
<h2>Proxy test</h2>
|
<h2>Proxy test</h2>
|
||||||
<iframe src="/proxy.svr/this/hello.svr" width="50%" height="300px" id="proxy"></iframe>
|
<iframe src="/proxy.svr/this/hello.svr" width="75%" height="300px" id="proxy"></iframe>
|
||||||
<h2>URL rewriting test (/testdir_rewritten => /testdir)</h2>
|
<h2>URL rewriting test (/testdir_rewritten => /testdir)</h2>
|
||||||
<iframe src="/testdir_rewritten" width="50%" height="300px"></iframe>
|
<iframe src="/testdir_rewritten" width="75%" height="300px"></iframe>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<img src="/powered.png" />
|
<img src="/powered.png" />
|
||||||
|
|
Reference in a new issue