Where people come together to learn, code, and play. Custom-built HTTP server, site generator, and website from scratch using no external libraries. Goal is to be as minimalistic and fun as possible.
http://projectdivar.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
3.2 KiB
47 lines
3.2 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="/reset.css">
|
|
<link rel="stylesheet" type="text/css" href="/sig.css">
|
|
<meta charset="UTF-8">
|
|
<script type="text/javascript">
|
|
function loadCodeBackground() {
|
|
fetch("/codeBackground").then((data)=>data.text())
|
|
.then((data)=>{
|
|
document.getElementById("codeForeground").innerText=data
|
|
document.getElementById("codeBackground").innerText=data
|
|
})
|
|
}
|
|
loadCodeBackground();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="contentBody">
|
|
|
|
<pre>Test<span style="color:red;">Testing</span>
|
|
Test a whole
|
|
bunch of random Java code.
|
|
|
|
<span class="variable">System</span>.<span class="variable">out</span>.<span class="function">println</span>(<span class="string">"Building directory listings..."</span>);
|
|
<span class="keyword">try</span> {
|
|
<span class="function">buildDirectoryListings()</span>;
|
|
} <span class="keyword">catch</span> (<span class="class">IOException</span> <span class="variable">e</span>) {
|
|
<span class="variable">e.</span><span class="function">printStackTrace()</span>;
|
|
<span class="variable">System</span>.<span class="variable">err</span>.<span class="function">println</span>(<span class="string">Failed to build directory listings!"</span>);
|
|
<span class="keyword">return</span>;
|
|
}</pre>
|
|
<h2>Directory Listing for \articles\test articles\</h2><div class="folderlisting"><a href="\articles\test articles\.." class="icon">📁</a><a href="\articles\test articles\..">.. </a><a href="\articles\test articles\.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="\articles\test articles\test1.article" class="icon">🗎</a><a href="\articles\test articles\test1.article">test1.article</a> 2022-05-19T03:42:49.8963007Z LAPTOP-NEAKT518\sigon (User) 1071</div>
|
|
<div class="filelisting"><a href="\articles\test articles\test1.article.html" class="icon">🗎</a><a href="\articles\test articles\test1.article.html">test1.article.html</a> 2022-05-19T03:42:49.9539501Z LAPTOP-NEAKT518\sigon (User) 2577</div>
|
|
<div class="filelisting"><a href="\articles\test articles\test2.article" class="icon">🗎</a><a href="\articles\test articles\test2.article">test2.article</a> 2022-05-19T03:42:49.8982941Z LAPTOP-NEAKT518\sigon (User) 767</div>
|
|
<div class="filelisting"><a href="\articles\test articles\test2.article.html" class="icon">🗎</a><a href="\articles\test articles\test2.article.html">test2.article.html</a> 2022-05-19T03:42:49.957395Z LAPTOP-NEAKT518\sigon (User) 2273</div>
|
|
<div class="filelisting"><a href="\articles\test articles\test3.article" class="icon">🗎</a><a href="\articles\test articles\test3.article">test3.article</a> 2022-05-19T03:42:49.8999694Z LAPTOP-NEAKT518\sigon (User) 980</div>
|
|
<div class="filelisting"><a href="\articles\test articles\test3.article.html" class="icon">🗎</a><a href="\articles\test articles\test3.article.html">test3.article.html</a> 2022-05-19T03:42:49.959957Z LAPTOP-NEAKT518\sigon (User) 2486</div>
|
|
|
|
</div> <!--End Content Body-->
|
|
<div class="codeForeground" id="codeForeground"></div>
|
|
<div class="codeBackground" id="codeBackground"></div>
|
|
</body>
|
|
<footer>
|
|
|
|
</footer>
|
|
</html>
|
|
|