better UI

This commit is contained in:
Radek Davidek 2025-11-16 10:18:19 +01:00
parent 55174136bb
commit 98789913ea
2 changed files with 5 additions and 6 deletions

View File

@ -24,7 +24,7 @@ import lombok.extern.log4j.Log4j2;
@Log4j2 @Log4j2
public class BasketballServer { public class BasketballServer {
private static final String VERSION = "1.0.3"; private static final String VERSION = "1.0.4";
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
log.info("Starting Basketball Server..."); log.info("Starting Basketball Server...");

View File

@ -252,8 +252,9 @@ a:hover {
} }
.league-name { .league-name {
font-weight: 500; font-weight: 400;
color: #4ade80; color: #4ade80;
font-size: 11px;
} }
/* Responsive design */ /* Responsive design */
@ -364,8 +365,7 @@ a:hover {
<thead> <thead>
<tr> <tr>
<th>Čas</th> <th>Čas</th>
<th>Domácí</th> <th>Zápas</th>
<th>Hosté</th>
<th>Liga</th> <th>Liga</th>
<th>Preview</th> <th>Preview</th>
<th>Live</th> <th>Live</th>
@ -526,8 +526,7 @@ function renderMatches(matches) {
tr.innerHTML = ` tr.innerHTML = `
<td class="match-time">${match.status}</td> <td class="match-time">${match.status}</td>
<td class="team-name">${match.home.name}</td> <td class="team-name">${match.home.name} <span style="color: #808080;">-</span> ${match.away.name}</td>
<td class="team-name">${match.away.name}</td>
<td class="league-name">${league}</td> <td class="league-name">${league}</td>
<td>${previewUrl ? '<a href="'+previewUrl+'" target="_blank">Preview</a>' : ''}</td> <td>${previewUrl ? '<a href="'+previewUrl+'" target="_blank">Preview</a>' : ''}</td>
<td>${liveUrl ? '<a href="'+liveUrl+'" target="_blank">Live</a>' : ''}</td> <td>${liveUrl ? '<a href="'+liveUrl+'" target="_blank">Live</a>' : ''}</td>