|
@ -4,11 +4,25 @@ |
|
|
<meta charset="utf-8" /> |
|
|
<meta charset="utf-8" /> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
<title>Perma-Upload a picture</title> |
|
|
<title>Perma-Upload a picture</title> |
|
|
|
|
|
<style media="screen"> |
|
|
|
|
|
body { |
|
|
|
|
|
background-image: url({{ url_for('static', filename='content/glit_background.gif')}}); |
|
|
|
|
|
} |
|
|
|
|
|
#uploadform{ |
|
|
|
|
|
background: #f9f871; |
|
|
|
|
|
margin: auto; |
|
|
|
|
|
padding: 1em; |
|
|
|
|
|
width: 30em; |
|
|
|
|
|
min-height: 5em; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<form method="POST" enctype="multipart/form-data"> |
|
|
<form method="POST" enctype="multipart/form-data" id="uploadform"> |
|
|
{{ imageuploadform.csrf_token }} |
|
|
{{ imageuploadform.csrf_token }} |
|
|
<fieldset class="fileupload-field"> |
|
|
<fieldset class="fileupload-field"> |
|
|
|
|
|
<legend>Upload an image here</legend> |
|
|
{{ imageuploadform.image.label }} |
|
|
{{ imageuploadform.image.label }} |
|
|
{{ imageuploadform.image }} |
|
|
{{ imageuploadform.image }} |
|
|
{% for message in imageuploadform.image.errors %} |
|
|
{% for message in imageuploadform.image.errors %} |
|
|