SigPlace/ref/DEFAULT.html

32 lines
1.3 KiB
HTML
Raw Normal View History

2022-05-02 18:16:03 +00:00
<!DOCTYPE html>
<html>
<head>
2022-05-02 21:03:16 -05:00
<link rel="stylesheet" type="text/css" href="/reset.css">
<link rel="stylesheet" type="text/css" href="/sig.css">
2022-05-04 13:38:26 +00:00
<meta charset="UTF-8">
2022-05-02 21:03:16 -05:00
<script type="text/javascript">
function loadCodeBackground() {
fetch("/codeBackground").then((data)=>data.text())
2022-05-02 21:03:16 -05:00
.then((data)=>{
document.getElementById("codeForeground").innerText=data
document.getElementById("codeBackground").innerText=data
})
}
loadCodeBackground();
</script>
2022-05-02 18:16:03 +00:00
</head>
<body>
2022-05-03 14:51:51 +00:00
<div class="contentBody">
2022-05-02 18:16:03 +00:00
<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>