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 | <div class="container my-3">
|
---|
9 | <form th:object="${electionRelaization}" action="/admin/realizations" method="post">
|
---|
10 | <input type="hidden" th:field="*{id}">
|
---|
11 | <div class="mb-3">
|
---|
12 | <label for="name" class="form-label">Име</label>
|
---|
13 | <input type="text" th:field="*{name}" class="form-control" id="name" aria-describedby="emailHelp">
|
---|
14 | </div>
|
---|
15 | <div class="mb-3">
|
---|
16 | <label for="surname" class="form-label">Датум на одржување</label>
|
---|
17 | <input type="date" th:field="*{date}" class="form-control" id="surname" aria-describedby="emailHelp">
|
---|
18 | </div>
|
---|
19 | <div class="mb-3">
|
---|
20 | <label class="form-label">Тип на избори</label>
|
---|
21 | <select class="form-control" id="municipality" th:field="*{election}" name="municipality">
|
---|
22 | <option th:each="election : ${elections}" th:value="${election.id}"
|
---|
23 | th:text="${election.name}"></option>
|
---|
24 | </select>
|
---|
25 | </div>
|
---|
26 | <div class="mb-3">
|
---|
27 | <div class="btn-group" role="group" aria-label="Basic checkbox toggle button group">
|
---|
28 | <input type="checkbox" class="btn-check" id="btncheck1" autocomplete="off" name="candidacyElections"
|
---|
29 | value="candidacyElections">
|
---|
30 | <label class="btn btn-outline-primary" for="btncheck1">Избори со кандидатури</label>
|
---|
31 |
|
---|
32 | <input type="checkbox" class="btn-check" id="btncheck2" autocomplete="off"
|
---|
33 | name="candidateListElections" value="candidateListElections">
|
---|
34 | <label class="btn btn-outline-primary" for="btncheck2">Избори со кандидатски листи</label>
|
---|
35 | </div>
|
---|
36 | </div>
|
---|
37 | <button type="submit" class="btn btn-primary">Запиши</button>
|
---|
38 | </form>
|
---|
39 | </div>
|
---|
40 |
|
---|
41 | <div class="container-fluid">
|
---|
42 | <div class="row">
|
---|
43 | <div class="col-6">
|
---|
44 | <h3>Реализации на избори со кандидати</h3>
|
---|
45 | <table class="table table-striped table-hover">
|
---|
46 | <thead class="table-header">
|
---|
47 | <tr>
|
---|
48 | <th>#</th>
|
---|
49 | <th>Име</th>
|
---|
50 | <th>Датум</th>
|
---|
51 | </tr>
|
---|
52 | </thead>
|
---|
53 | <tbody>
|
---|
54 | <tr th:onclick="|window.location.href='/admin/citizens/${elections.id}/edit';|"
|
---|
55 | th:each="elections, iter : ${candidacyRealizations}">
|
---|
56 | <td th:text="${iter.count}"></td>
|
---|
57 | <td th:text="${elections.name}"></td>
|
---|
58 | <td th:text="${elections.date}"></td>
|
---|
59 | </tr>
|
---|
60 | </tbody>
|
---|
61 | </table>
|
---|
62 | </div>
|
---|
63 | <div class="col-6">
|
---|
64 | <h3>Реализации на избори со кандидатска листа</h3>
|
---|
65 | <table class="table table-striped table-hover">
|
---|
66 | <thead class="table-header">
|
---|
67 | <tr>
|
---|
68 | <th>#</th>
|
---|
69 | <th>Име</th>
|
---|
70 | <th>Датум</th>
|
---|
71 | </tr>
|
---|
72 | </thead>
|
---|
73 | <tbody>
|
---|
74 | <tr th:onclick="|window.location.href='/admin/citizens/${elections.id}/edit';|"
|
---|
75 | th:each="elections, iter : ${candidateListRealizations}">
|
---|
76 | <td th:text="${iter.count}"></td>
|
---|
77 | <td th:text="${elections.name}"></td>
|
---|
78 | <td th:text="${elections.date}"></td>
|
---|
79 | </tr>
|
---|
80 | </tbody>
|
---|
81 | </table>
|
---|
82 | </div>
|
---|
83 | </div>
|
---|
84 |
|
---|
85 | </div>
|
---|
86 |
|
---|
87 | </div> |
---|