FEAT : Mise en place de l'architecture + instription d'un utilisateur
This commit is contained in:
23
target/classes/templates/upload.html
Normal file
23
target/classes/templates/upload.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Upload - FotoSharing</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Uploader une photo</h1>
|
||||
<form th:action="@{/upload}" method="post" enctype="multipart/form-data">
|
||||
<input type="file" name="file"/><br/>
|
||||
<label>Visibilité:
|
||||
<select name="visibilite">
|
||||
<option value="PRIVATE">Privée</option>
|
||||
<option value="PUBLIC">Publique</option>
|
||||
<option value="SHARED">Partagée</option>
|
||||
</select>
|
||||
</label><br/>
|
||||
<button type="submit">Envoyer</button>
|
||||
</form>
|
||||
<div th:if="${error}" th:text="${error}"></div>
|
||||
<div th:if="${message}" th:text="${message}"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user