main
Rev | Line | |
---|
[ac151d1] | 1 | <div class="container mt-5">
|
---|
| 2 | <div class="row align-items-md-stretch gx-5">
|
---|
| 3 |
|
---|
| 4 | <div class="col-xl-2 col-lg-3 col-md-6" th:each="candidacy : ${candidacies}">
|
---|
| 5 | <div class="card bg-secondary text-white">
|
---|
| 6 | <img src="https://as1.ftcdn.net/v2/jpg/05/16/27/58/1000_F_516275801_f3Fsp17x6HQK0xQgDQEELoTuERO4SsWV.jpg" class="card-img-top" alt="#">
|
---|
| 7 | <div class="card-body">
|
---|
| 8 | <h5 class="card-title" th:text="${candidacy.candidate.name}+' '+${candidacy.candidate.surname}"></h5>
|
---|
| 9 | </div>
|
---|
| 10 | <ul class="list-group list-group-flush">
|
---|
| 11 | <li class="list-group-item" style="min-height: 6em" th:text="'Опис ' + ${candidacy.description}"></li>
|
---|
| 12 | <li class="list-group-item" th:text="'Партија ' + ${candidacy.party.name}"></li>
|
---|
| 13 | <li class="list-group-item text-center">
|
---|
| 14 | <button th:onclick="|window.location.href='/vote/candidate/${candidacy.id}';|" class="btn btn-primary rounded-pill px-5" th:text="${candidacy.candidate.id}"></button>
|
---|
| 15 | </li>
|
---|
| 16 | </ul>
|
---|
| 17 | </div>
|
---|
| 18 | </div>
|
---|
| 19 | </div>
|
---|
| 20 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.