parent
03d9c31e14
commit
c16461ed56
@ -0,0 +1,3 @@ |
|||||||
|
User Database |
||||||
|
============= |
||||||
|
Storage using flat files. User information stores the password hash. Store a session token too. Avatar uploader. |
@ -0,0 +1,34 @@ |
|||||||
|
<!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"> |
||||||
|
|
||||||
|
SigPlace |
||||||
|
<form method="post" action="./SUBMITFILE" enctype="multipart/form-data"> |
||||||
|
<input type="file"/> |
||||||
|
<input type="submit"/> |
||||||
|
</form> |
||||||
|
|
||||||
|
</div> <!--End Content Body--> |
||||||
|
<div class="codeForeground" id="codeForeground"></div> |
||||||
|
<div class="codeBackground" id="codeBackground"></div> |
||||||
|
</body> |
||||||
|
<footer> |
||||||
|
|
||||||
|
</footer> |
||||||
|
</html> |
@ -0,0 +1,5 @@ |
|||||||
|
$SITENAME |
||||||
|
<form method="post" action="./SUBMITFILE" enctype="multipart/form-data"> |
||||||
|
<input type="file"/> |
||||||
|
<input type="submit"/> |
||||||
|
</form> |
Loading…
Reference in new issue