main
Last change
on this file since ac151d1 was ac151d1, checked in by David <darsov2@…>, 7 months ago |
initial
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
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 | <div class="container">
|
---|
| 10 | <form th:object="${unit}" action="/admin/units" method="post">
|
---|
| 11 | <input type="hidden" th:field="*{id}">
|
---|
| 12 | <div class="mb-3">
|
---|
| 13 | <label for="exampleInputEmail1" class="form-label">Име на изборната единица</label>
|
---|
| 14 | <input type="text" th:field="*{name}" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
|
---|
| 15 | <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
|
---|
| 16 | </div>
|
---|
| 17 | <div class="mb-3">
|
---|
| 18 | <label for="exampleInputPassword1" class="form-label">Број на пратеници</label>
|
---|
| 19 | <input type="number" th:field="*{numDeputies}" class="form-control" id="exampleInputPassword1">
|
---|
| 20 | </div>
|
---|
| 21 | <button type="submit" class="btn btn-primary">Запиши</button>
|
---|
| 22 | </form>
|
---|
| 23 | </div>
|
---|
| 24 |
|
---|
| 25 | <div class="container">
|
---|
| 26 | <table class="table table-striped table-hover">
|
---|
| 27 | <thead class="table-header">
|
---|
| 28 | <tr>
|
---|
| 29 | <th>#</th>
|
---|
| 30 | <th>Име</th>
|
---|
| 31 | <th>Број пратеници</th>
|
---|
| 32 | </tr>
|
---|
| 33 | </thead>
|
---|
| 34 | <tbody>
|
---|
| 35 | <tr th:onclick="|window.location.href='/admin/units/${unit.id}/edit';|" th:each="unit, iter : ${units}">
|
---|
| 36 | <td th:text="${iter.count}"></td>
|
---|
| 37 | <td th:text="${unit.name}"></td>
|
---|
| 38 | <td th:text="${unit.numDeputies}"></td>
|
---|
| 39 | </tr>
|
---|
| 40 | </tbody>
|
---|
| 41 | </table>
|
---|
| 42 | </div>
|
---|
| 43 |
|
---|
| 44 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.