159 lines
3.5 KiB
HTML
159 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>SqPad</title>
|
|
<style>
|
|
body {
|
|
background-color: #2e2e2e;
|
|
color: white;
|
|
text-align: center;
|
|
padding-top: 50px;
|
|
font-family: Fira Mono;
|
|
}
|
|
|
|
@import url(https://fonts.bunny.net/css?family=fira-mono:400);
|
|
|
|
|
|
h1 {
|
|
color: pink;
|
|
}
|
|
|
|
#logo {
|
|
max-width: 200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#form-container {
|
|
max-width: 90%;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
/*border: 2px solid pink;
|
|
border-radius: 10px;*/
|
|
align: center;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
width: 100%;
|
|
border: 1px solid pink;
|
|
border-radius: 5px;
|
|
background-color: #2e2e2e;
|
|
color: white;
|
|
margin: auto;
|
|
display: block;
|
|
height: 40px;
|
|
font-size: x-large;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
border: 1px solid pink;
|
|
border-radius: 5px;
|
|
background-color: #2e2e2e;
|
|
color: white;
|
|
align: center;
|
|
margin: auto;
|
|
display: block;
|
|
font-size: x-large;
|
|
|
|
}
|
|
|
|
a {
|
|
color: pink;
|
|
}
|
|
|
|
|
|
input[type="submit"] {
|
|
background-color: pink;
|
|
color: black;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
background-color: darkpink;
|
|
}
|
|
|
|
/* CSS for the table */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
border: 2px solid pink;
|
|
color: white;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 10px;
|
|
text-align: left;
|
|
border-bottom: 1px solid pink;
|
|
}
|
|
|
|
th {
|
|
background-color: black;
|
|
color: pink;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #333;
|
|
}
|
|
|
|
tr:nth-child(odd) {
|
|
background-color: #444;
|
|
}
|
|
|
|
/* Additional styles for the table */
|
|
caption {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
color: pink;
|
|
}
|
|
|
|
.table-container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>SqPad</h1>
|
|
|
|
<div id="form-container">
|
|
<form action="/" method="post" enctype="application/x-www-form-urlencoded">
|
|
<label for="name"></label>
|
|
<input type="text" id="name" name="name" placeholder="Title Here." required>
|
|
|
|
<label for="content"></label>
|
|
<textarea type="input" id="content" name="content" rows="30" cols="55" placeholder="Put your content here. It will be encrypted via DES-256 and stored." required></textarea>
|
|
<input type="submit" value="Send">
|
|
</form>
|
|
<form action="/file" method="post" enctype="multipart/form-data">
|
|
<br>
|
|
<label for="fileupload">Or upload a file, max. size 100MB:</label>
|
|
<input id="fileupload" name="file" type="file" required>
|
|
<br>
|
|
<input type="submit" value="Upload">
|
|
</form>
|
|
</div>
|
|
<hr>
|
|
<a href="https://gitea.squi.fr/Rust/SqPad">SqPad</a> by Squi
|
|
<hr>
|
|
<a href="tos"> Conditions d'utilisation </a>
|
|
<p> Need to report something hosted on this website ? Send an email to <a href="mailto:admin@squi.fr">admin@squi.fr</a> including the link to the content.</p>
|
|
<p> Vous avez trouvé quelque chose de problématique hebergé sur ce site ? Ecrivez à <a href="mailto:admin@squi.fr">admin@squi.fr</a> en incluant le lien du contenu.</p>
|
|
|
|
|