sync
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
<span v-else>N/A</span>
|
||||
</div>
|
||||
<div class="version">{{ server.version_name }}</div>
|
||||
<div v-if="server.bluemap_url" class="bluemap-link">
|
||||
<a :href="server.bluemap_url" target="_blank" rel="noopener noreferrer">Карта мира</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,6 +47,7 @@ interface GameServer {
|
||||
max_players: number | null;
|
||||
version_name: string | null;
|
||||
ping_proxy_server: number | null;
|
||||
bluemap_url: string | null;
|
||||
}
|
||||
|
||||
const servers = ref<GameServer[]>([]);
|
||||
@@ -140,4 +144,20 @@ onUnmounted(() => {
|
||||
margin-bottom: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.bluemap-link {
|
||||
margin-top: 0.5rem;
|
||||
text-align: right;
|
||||
}
|
||||
.bluemap-link a {
|
||||
display: inline-block;
|
||||
padding: 0.25rem 0.5rem;
|
||||
background-color: #3eaf7c;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.bluemap-link a:hover {
|
||||
background-color: #339265;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user