New domain, templates for HTML

This commit is contained in:
Jade Levesque 2017-12-21 01:13:31 -06:00
parent 37bec12d95
commit 90777c1878
6 changed files with 66 additions and 96 deletions

View File

@ -1,41 +1,8 @@
<html>
<head>
<!-- THIS ENTIRE FILE IS UNDER THE GNU AGPLv3+
https://www.gnu.org/licenses/agpl-3.0.html -->
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/connection" type="text/css"/>
<link rel="stylesheet" type="text/css" href="../../res/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../res/style.css">
<link rel="shortcut icon" href="../../res/img/coin.ico">
</head>
<body style="font-family: 'ConnectionRegular'; font-weight: normal; font-style: normal;">
<div class="row text-center">
<a href="../mazes/">
<div class="col-md-4 col-lg-4" id="sectiona">
<h1>ihatemazes</h1>
</div>
</a>
<a href="../naia/">
<div class="col-md-4 col-lg-4" id="sectionb">
<h1>naia</h1>
</div>
</a>
<a href="../files/">
<div class="col-md-4 col-lg-4" id="sectionc">
<h1>image-file_upload</h1>
</div>
</a>
</div>
<center style="margin-top: 30px">
<?php
include("header.html");
echo "<center>";
if (empty($_POST["desired_filename"]))
{
$file_name = $_FILES["fileToUpload"]["name"];
@ -111,8 +78,6 @@ else {
}
}
?>
include("footer.html");
</center>
</body>
</html>
?>

View File

@ -1,56 +0,0 @@
<html>
<head>
<!-- THIS ENTIRE FILE IS UNDER THE AGPLv3+
https://www.gnu.org/licenses/agpl-3.0.html -->
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/connection" type="text/css"/>
<link rel="stylesheet" type="text/css" href="../../res/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../res/style.css">
<link rel="shortcut icon" href="../../res/img/coin.ico">
<title>INSERT URANIUM</title>
</head>
<body style="font-family: 'ConnectionRegular'; font-weight: normal; font-style: normal;">
<div class="row text-center">
<a href="../mazes/">
<div class="col-md-4 col-lg-4" id="sectiona">
<h1>ihatemazes</h1>
</div>
</a>
<a href="../naia/">
<div class="col-md-4 col-lg-4" id="sectionb">
<h1>naia</h1>
</div>
</a>
<a href="../files/">
<div class="col-md-4 col-lg-4" id="sectionc">
<h1>insert-coin</h1>
</div>
</a>
</div>
<center style="margin-top: 30px">
<form action="git.php" method="post" enctype="multipart/form-data">
<!-- <input type="text" placeholder="Upload from URL" name="fileToDownload" id="fileToDownload" style="width: 400px;"><br/> -->
<input type="text" placeholder="Filename (Blank for uploaded name)" name="desired_filename" id="desired_filename" style="width: 400px;"><br/>
<!-- <p><b>Indexing:</b><br>
<input type="radio" name="index" value="0" checked="checked"> <b>god no!</b>
<input type="radio" name="index" value="1"> <b>ok, I guess</b></p> -->
<input type="file" name="fileToUpload" id="fileToUpload">
<input style="margin-top: 10px; margin-bottom: 10px" type="submit" value="INSERT COIN" name="submit">
</form>
<img src="../../res/img/insertcoin_big.png">
<p>No data will be recorded on who inserts what coin-- all I'll get is a timestamp.</p>
<p>--> <a href="index.html">normie edition</a> <--</p>
<p><a href="https://notabug.org/jadedctrl/insert-coin">source juice</a></p>
</center>
</body>
</html>

12
footer.html Normal file
View File

@ -0,0 +1,12 @@
<center>
<footer>
No data will be recorded on who inserts what coin-- all I'll get is a timestamp.
</footer>
<p>
<a href="https://notabug.org/jadedctrl/insert-coin">source juice</a>
</p>
</center>
</body>
</html>

34
header.html Normal file
View File

@ -0,0 +1,34 @@
<html>
<head>
<!-- THIS ENTIRE FILE IS UNDER THE AGPLv3+
https://www.gnu.org/licenses/agpl-3.0.html -->
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/connection" type="text/css"/>
<link rel="stylesheet" type="text/css" href="res/bootstrap.css">
<link rel="stylesheet" type="text/css" href="res/style.css">
<link rel="shortcut icon" href="res/img/coin.ico">
<title>SHRED COIN</title>
</head>
<body style="font-family: 'ConnectionRegular'; font-weight: normal; font-style: normal;">
<div class="row text-center">
<a href="https://ihatemazes.xyz">
<div class="col-md-4 col-lg-4" id="sectiona">
<h1>ihatemazes</h1>
</div>
</a>
<a href="https://igpumatinlay.info">
<div class="col-md-4 col-lg-4" id="sectionb">
<h1>naia</h1>
</div>
</a>
<a href="https://coinsh.red">
<div class="col-md-4 col-lg-4" id="sectionc">
<h1>image-file_upload</h1>
</div>
</a>
</div>

15
index.php Normal file
View File

@ -0,0 +1,15 @@
<?php include("header.html");?>
<center style="margin-top: 30px">
<form action="beam.php" method="post" enctype="multipart/form-data">
<p>
<input type="text" placeholder="Filename (Blank for uploaded name)"
name="desired_filename" id="desired_filename" style="width: 400px;">
</p>
<input type="file" name="fileToUpload" id="fileToUpload">
<input style="margin-top: 10px; margin-bottom: 10px" type="submit" value="INSERT COIN" name="submit">
</form>
<img src="../../res/img/insertcoin_big.png">
<?php include("footer.html");?>