Rev | Line | |
---|
[3965aed] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
---|
| 4 | <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
---|
| 5 | <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
---|
| 6 | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
---|
| 7 |
|
---|
| 8 | <head>
|
---|
| 9 | <meta charset="UTF-8">
|
---|
| 10 | <title>Add vehicle</title>
|
---|
| 11 | <style>
|
---|
| 12 | body{
|
---|
| 13 | background: #FFDAB9;
|
---|
| 14 | }
|
---|
| 15 | a:link, a:visited {
|
---|
| 16 | background-color: lightcoral;
|
---|
| 17 | color: black;
|
---|
| 18 | padding: 14px 25px;
|
---|
| 19 | text-align: center;
|
---|
| 20 | text-decoration: none;
|
---|
| 21 | display: inline-block;
|
---|
| 22 | }
|
---|
| 23 | </style>
|
---|
| 24 | </head>
|
---|
| 25 | <body>
|
---|
| 26 | <h3><a th:href="@{/}">Home</a></h3>
|
---|
| 27 | <div class="container">
|
---|
| 28 | <form class="form-signin mt-xl-5" method="post" th:action="@{/addVehicle}" th:object="${vozilo}">
|
---|
| 29 | <h2 class="form-signin-heading">Add Vehicle</h2>
|
---|
| 30 | <p>
|
---|
| 31 | <label for="Marka">Marka</label>
|
---|
| 32 | <input type="text" th:field="*{marka}" id="Marka" name="marka" class="form-control" placeholder="Marka" required=""
|
---|
| 33 | autofocus="">
|
---|
| 34 | </p>
|
---|
| 35 | <p>
|
---|
| 36 | <label for="Model">Model</label>
|
---|
| 37 | <input type="text" th:field="*{model}" id="Model" name="model" class="form-control" placeholder="Model" required="" autofocus="">
|
---|
| 38 | </p>
|
---|
| 39 | <p>
|
---|
| 40 | <label for="Regtab">Regtab</label>
|
---|
| 41 | <input type="text" th:field="*{regtab}" id="Regtab" name="regtab" class="form-control" placeholder="Regtab" required=""
|
---|
| 42 | autofocus="">
|
---|
| 43 | </p>
|
---|
| 44 | <p>
|
---|
| 45 | <label for="Cena">Cena</label>
|
---|
| 46 | <input type="number" th:field="*{cenavozi}" id="Cena" name="cenavozi" class="form-control" placeholder="Cena" required=""
|
---|
| 47 | autofocus="">
|
---|
| 48 | </p>
|
---|
| 49 | <button class="btn btn-lg btn-primary btn-block" type="submit">Add</button>
|
---|
| 50 | </form>
|
---|
| 51 |
|
---|
| 52 | </div>
|
---|
| 53 |
|
---|
| 54 | </body>
|
---|
| 55 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.