main
Rev | Line | |
---|
[ac151d1] | 1 | <nav class="navbar bg-secondary bg-gradient container-fluid px-0">
|
---|
| 2 | <div class="container-fluid">
|
---|
| 3 | <span class="navbar-brand mb-0 h1">Податоци за општините</span>
|
---|
| 4 | </div>
|
---|
| 5 | </nav>
|
---|
| 6 |
|
---|
| 7 | <div class="container-fluid">
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | <div class="container">
|
---|
| 11 | <form th:object="${municipality}" action="/admin/municipalities" method="post">
|
---|
| 12 | <input type="hidden" th:field="*{id}">
|
---|
| 13 | <div class="mb-3">
|
---|
| 14 | <label for="exampleInputEmail1" class="form-label">Име на општина</label>
|
---|
| 15 | <input type="text" th:field="*{name}" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
|
---|
| 16 | </div>
|
---|
| 17 | <button type="submit" class="btn btn-primary">Запиши</button>
|
---|
| 18 | </form>
|
---|
| 19 | </div>
|
---|
| 20 |
|
---|
| 21 | <div class="container">
|
---|
| 22 | <table class="table table-striped table-hover">
|
---|
| 23 | <thead class="table-header">
|
---|
| 24 | <tr>
|
---|
| 25 | <th>#</th>
|
---|
| 26 | <th>Име</th>
|
---|
| 27 | </tr>
|
---|
| 28 | </thead>
|
---|
| 29 | <tbody>
|
---|
| 30 | <tr th:onclick="|window.location.href='/admin/municipalities/${municipality.id}/edit';|" th:each="municipality, iter : ${municipalities}">
|
---|
| 31 | <td th:text="${iter.count}"></td>
|
---|
| 32 | <td th:text="${municipality.name}"></td>
|
---|
| 33 | </tr>
|
---|
| 34 | </tbody>
|
---|
| 35 | </table>
|
---|
| 36 | </div>
|
---|
| 37 |
|
---|
| 38 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.