1
0
Fork 0
forked from svrjs/svrjs
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs/tests.html

99 lines
2.9 KiB
HTML
Raw Permalink Normal View History

2023-07-29 20:32:17 +02:00
<!DOCTYPE html>
<html>
<head>
2024-08-26 08:36:01 +02:00
<title>SVR.JS 3.15.7 Tests</title>
2023-07-29 20:32:17 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<style>
2024-05-06 12:30:50 +02:00
html {
background-color: #dfffdf;
color: #000000;
font-family: FreeSans, Helvetica, Tahoma, Verdana, Arial, sans-serif;
margin: 0.75em;
text-align: center;
}
2023-07-29 20:32:17 +02:00
body {
2024-05-06 12:30:50 +02:00
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 {
2023-07-29 20:32:17 +02:00
text-align: center;
2024-05-06 12:30:50 +02:00
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
}
2023-07-29 20:32:17 +02:00
}
</style>
</head>
<body>
2024-08-26 08:36:01 +02:00
<h1>SVR.JS 3.15.7 Tests</h1>
2023-12-03 16:19:34 +01:00
<h2>Directory (without trailing slash)</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/testdir" width="75%" height="300px"></iframe>
2023-07-29 20:32:17 +02:00
<h2>Directory (with query)</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/testdir/?query=value" width="75%" height="300px"></iframe>
2023-07-29 20:32:17 +02:00
<h2>Directory (personalized)</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/testdir/.personalized" width="75%" height="300px"></iframe>
2023-07-29 20:32:17 +02:00
<h2>404 Error</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/tfhgfhggf" width="75%" height="300px"></iframe>
2023-07-29 20:32:17 +02:00
<h2>Server Side Javascript</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/hello.svr" width="75%" height="300px"></iframe>
2023-07-29 20:32:17 +02:00
<h2>Proxy test</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/proxy.svr/this/hello.svr" width="75%" height="300px" id="proxy"></iframe>
2024-02-07 00:57:09 +01:00
<h2>URL rewriting test (/testdir_rewritten => /testdir)</h2>
2024-05-06 12:30:50 +02:00
<iframe src="/testdir_rewritten" width="75%" height="300px"></iframe>
2023-07-29 20:32:17 +02:00
<br/>
<br/>
<img src="/powered.png" />
</body>
</html>