This commit is contained in:
Aviv "RustyStriker" Romem 2022-06-11 13:32:33 +03:00
parent 018772f321
commit c108f98432
3 changed files with 80 additions and 0 deletions

9
bscripts/ls_to_a.py Normal file
View File

@ -0,0 +1,9 @@
# Gets ls output and transform it into <a> tag
while True:
try:
a = input()
except:
break;
print('<a href=\'' + a + '\'>' + a + '</a>')

21
template/footer.html Normal file
View File

@ -0,0 +1,21 @@
<footer>
<p>
Copyright (C) 2022 Aviv "RustyStriker" Romem |
Except where otherwise noted.
<br>
works and publications on this website are licenced under
<a href = "https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
<br>
Codes are published under
<a href = "https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPL v3 or later</a>
and JavaScript is also published under
<a href = "https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL v3 or later</a>
| Except where otherwise noted.
<br>
Website is compiled using my custom
<a href = "https://gitea.rustystriker.dev/RustyStriker/command_injector">injector</a>
</p>
</footer>
</body>
</html>

50
template/header.html Normal file
View File

@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>
<head>
<!-- JS Licese -->
<script>
/*
@licstart The following is the entire license notice for the
JavaScript code in this page.
Copyright (C) 2022 Aviv "RustyStriker" Romem
The JavaScript code in this page is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this page.
*/
</script>
<title>__PAGE TITLE__</title>
<!--Style stuff -->
<link rel="stylesheet" type="text/css" href="default_style.css" media="all">
</head>
<body>
<header>
<div>
<a href = "https://rustystriker.dev/">
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
</a>
<p style = "margin-top: 0px;">
A place for wanky stuff, weird JavaScript and warm-ish takes
</p>
<a href = "https://rustystriker.dev/about.html">About</a>
<a href = "https://gitea.rustystriker.dev/RustyStriker/website">Source</a>
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
</div>
</header>