change design of upload page

This commit is contained in:
hippoz 2020-10-05 00:21:51 +03:00
parent 1e6e4defaa
commit fffeb2fbc4
2 changed files with 17 additions and 4 deletions

View file

@ -1,8 +1,9 @@
<h1>this is the upload page</h1>
<p>i think</p>
<br>
<form action='https://files.hippoz.xyz/api/upload' method="POST" enctype="multipart/form-data">
Password: <input type="password" name="password"> </br>
File name: <input type="text" name="filename"> </br>
<input type="file" name="file"/> </br>
<input type='submit' value='Upload!'/>
<input class="input" placeholder="password" type="password" name="password"> </br>
<input class="input" placeholder="file name" type="text" name="filename"> </br>
<input class="button-default" type="file" name="file"/> </br>
<input class="button-default" type='submit' value='upload'/>
</form>

View file

@ -55,8 +55,20 @@ body {
background-color:#2E2E2E;
}
.button-border {
border: 2px solid #606060;
}
@media screen and (max-width: 768px) {
.card {
width: 80%;
}
}
.input {
border: none;
outline: none;
border-radius: 2px;
padding: 3px;
margin: 3px;
}