140 lines
2.7 KiB
HTML
140 lines
2.7 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: black;
|
|
color: white;
|
|
font-family: Arial, sans-serif;
|
|
text-align: center;
|
|
padding-top: 50px;
|
|
}
|
|
|
|
h1 {
|
|
color: orange;
|
|
}
|
|
|
|
#logo {
|
|
max-width: 200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#form-container {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
border: 2px solid orange;
|
|
border-radius: 10px;
|
|
align: center;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
width: 100%;
|
|
border: 1px solid orange;
|
|
border-radius: 5px;
|
|
background-color: black;
|
|
color: white;
|
|
margin: auto;
|
|
display: block;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
border: 1px solid orange;
|
|
border-radius: 5px;
|
|
background-color: black;
|
|
color: white;
|
|
align: center;
|
|
margin: auto;
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
input[type="submit"] {
|
|
background-color: orange;
|
|
color: black;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
background-color: darkorange;
|
|
}
|
|
|
|
/* CSS for the table */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
border: 2px solid orange;
|
|
color: white;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 10px;
|
|
text-align: left;
|
|
border-bottom: 1px solid orange;
|
|
}
|
|
|
|
th {
|
|
background-color: black;
|
|
color: orange;
|
|
}
|
|
|
|
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: orange;
|
|
}
|
|
|
|
.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">Name</label>
|
|
<input type="text" id="name" name="name" required>
|
|
|
|
<label for="content">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="submit">
|
|
</form>
|
|
</div>
|
|
<hr>
|
|
<a href="https://gitea.squi.fr/Rust/SqPad">SqPad</a> by Squi
|
|
<hr>
|