better UI
This commit is contained in:
parent
55174136bb
commit
98789913ea
@ -24,7 +24,7 @@ import lombok.extern.log4j.Log4j2;
|
||||
|
||||
@Log4j2
|
||||
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 {
|
||||
log.info("Starting Basketball Server...");
|
||||
|
||||
@ -252,8 +252,9 @@ a:hover {
|
||||
}
|
||||
|
||||
.league-name {
|
||||
font-weight: 500;
|
||||
font-weight: 400;
|
||||
color: #4ade80;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
@ -364,8 +365,7 @@ a:hover {
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Čas</th>
|
||||
<th>Domácí</th>
|
||||
<th>Hosté</th>
|
||||
<th>Zápas</th>
|
||||
<th>Liga</th>
|
||||
<th>Preview</th>
|
||||
<th>Live</th>
|
||||
@ -526,8 +526,7 @@ function renderMatches(matches) {
|
||||
|
||||
tr.innerHTML = `
|
||||
<td class="match-time">${match.status}</td>
|
||||
<td class="team-name">${match.home.name}</td>
|
||||
<td class="team-name">${match.away.name}</td>
|
||||
<td class="team-name">${match.home.name} <span style="color: #808080;">-</span> ${match.away.name}</td>
|
||||
<td class="league-name">${league}</td>
|
||||
<td>${previewUrl ? '<a href="'+previewUrl+'" target="_blank">Preview</a>' : ''}</td>
|
||||
<td>${liveUrl ? '<a href="'+liveUrl+'" target="_blank">Live</a>' : ''}</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user