bib_recognition/bibrecognition/imguploader/templates/upload.html

46 lines
979 B
HTML
Raw Normal View History

2020-06-15 00:32:25 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload Photos</title>
</head>
2020-06-20 07:48:31 +02:00
<style>
body{
margin: 0;
}
form{
padding: 20px;
margin: 30px;
border: 1px solid #dedede;
border-radius: 10px;
display: flex;
flex-direction: column;
}
form label{
margin: 20px 0 5px 0;
color: #2e2e2e;
font-size: 16px;
font-family: sans-serif;
}
form input[type=submit]{
margin: 25px 0 0 0;
color: white;
background-color: #0077ff;
padding: 10px;
font-size: 16px;
font-weight: bold;
border: none;
border-radius: 5px;
}
</style>
2020-06-15 00:32:25 +02:00
<body>
<form action="/upload" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form }}
2020-06-20 07:48:31 +02:00
<input type="submit" value="Dodaj">
2020-06-15 00:32:25 +02:00
</form>
</body>
</html>