aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/pages/history.jsp
diff options
context:
space:
mode:
authorcirakg <ciraboxkg@gmail.com>2023-01-07 23:00:20 +0100
committercirakg <ciraboxkg@gmail.com>2023-01-07 23:00:20 +0100
commit60770759488e8c784648983040521e7d8430925f (patch)
tree611a9057cc4c6cfe2b3b35a15e81f7d63e2d1d52 /src/main/webapp/pages/history.jsp
parente94e9a85d819f5a5cffbdaf62981066ef287f1f9 (diff)
Dodati tooltip-ovi na web aplikaciji.
Diffstat (limited to 'src/main/webapp/pages/history.jsp')
-rw-r--r--src/main/webapp/pages/history.jsp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/webapp/pages/history.jsp b/src/main/webapp/pages/history.jsp
index 7e36faf..34bf05c 100644
--- a/src/main/webapp/pages/history.jsp
+++ b/src/main/webapp/pages/history.jsp
@@ -21,12 +21,22 @@
%>
<table>
+<tr>
+ <th>Ime
+ </th>
+ <th>Slika
+ </th>
+ <th>Datun
+ </th>
+ <th>Rezultat
+ </th>
+</tr>
<c:forEach items="${history}" var="item">
<tr bgcolor="${item.result eq 1 ? 'LawnGreen': 'IndianRed'}">
<td><c:out value="${item.pokemon.name}"/></td>
<td><img style="height: 50px" src="data:image/*;base64, ${item.pokemon.base64Image}" /></td>
<td><c:out value="${item.time}"/></td>
- <td><c:out value="${item.result eq 1 ? 'Victory': 'Defeat'}"/></td>
+ <td><c:out value="${item.result eq 1 ? 'Pobeda': 'Poraz'}"/></td>
</tr>
</c:forEach>
</table>