source: Prototype Application/Paw5/src/main/resources/templates/CreatePost.html@ b1b571b

main
Last change on this file since b1b571b was cfc3e81, checked in by Filip Chorbeski <86695898+FilipChorbeski@…>, 17 months ago

Created html and controller for post

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Create a post</title>
6</head>
7<body>
8 <h1>Create post</h1>
9<form method="post" action="/CreatePost">
10
11 <div id="SelectPet">
12 <label for="pet">Selet pet:</label>
13 <select id="pet">
14 </select>
15 </div>
16
17 <div id="AddNewPet">
18 <label for="newpet">Add new pet:</label>
19 <input id="newpet" type="checkbox">
20 </div>
21
22 <div id="PetName">
23 Name:<input type="text">
24 </div>
25
26 <div id="Genders">
27 <label for="gender">Gender:</label>
28 <select id="gender">
29 <option>male</option>
30 <option>female</option>
31 </select>
32 </div>
33
34 <div id="AgeGroup">
35 <label for="age">Age Group:</label>
36 <select id="age">
37 <option>young</option>
38 <option>adult</option>
39 <option>elder</option>
40 </select>
41 </div>
42
43 <div id="Sizes">
44 <label for="size">Size:</label>
45 <select id="size">
46 <option>extra small</option>
47 <option>small</option>
48 <option>medium</option>
49 <option>large</option>
50 <option>extra large</option>
51 </select>
52 </div>
53
54 <div id="Species">
55 <label for="specie">Species:</label>
56 <select id="specie">
57 <option>cat</option>
58 <option>dog</option>
59 <option>bird</option>
60 </select>
61 </div>
62
63 <div id="Breed">
64 Breed:<input type="text">
65 </div>
66
67 <div id="UploadImage">
68 URL of Image:<input type="text">
69 <!-- <label for="upload">Image:</label>
70 <input id="upload" type="file" accept="image/*">
71 <input type="submit">-->
72 </div>
73 <input id="SubmitPost" type="submit">
74</form>
75</body>
76</html>
Note: See TracBrowser for help on using the repository browser.