mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-14 07:09:06 +00:00
Added leaderboard page. Updated debug commands
This commit is contained in:
91
servers.php
91
servers.php
@@ -29,6 +29,43 @@ $user = SessionManager::get();
|
||||
src: url("assets/fonts/FSEX301-L2.ttf");
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 0 0 2.25em 0;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
table tbody tr {
|
||||
border: solid 2px #f4f4f4;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
table tbody tr:nth-child(2n + 1) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 0.75em 0.75em;
|
||||
}
|
||||
|
||||
table th {
|
||||
color: #777;
|
||||
font-size: 0.9em;
|
||||
font-weight: 700;
|
||||
padding: 0 0.75em 0.75em 0.75em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table thead {
|
||||
border-bottom: solid 4px #e4e4e4;
|
||||
}
|
||||
|
||||
table tfoot {
|
||||
border-top: solid 4px #e4e4e4;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
@@ -38,7 +75,8 @@ $user = SessionManager::get();
|
||||
<nav id="nav">
|
||||
<ul>
|
||||
<li><a href="index.php">Home</a></li>
|
||||
<li class="current"><a href="servers.php">Play</a></li>
|
||||
<li class="current"><a href="#">Play</a></li>
|
||||
<li><a href="leaderboard.php">Leaderboard</a></li>
|
||||
<li>
|
||||
<a href="#">Account</a>
|
||||
<ul>
|
||||
@@ -62,57 +100,16 @@ $user = SessionManager::get();
|
||||
<div id="main" class="container">
|
||||
<div class="12u">
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
table {
|
||||
margin: 0 0 2.25em 0;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
table tbody tr {
|
||||
border: solid 2px #f4f4f4;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
table tbody tr:nth-child(2n + 1) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 0.75em 0.75em;
|
||||
}
|
||||
|
||||
table th {
|
||||
color: #777;
|
||||
font-size: 0.9em;
|
||||
font-weight: 700;
|
||||
padding: 0 0.75em 0.75em 0.75em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table thead {
|
||||
border-bottom: solid 4px #e4e4e4;
|
||||
}
|
||||
|
||||
table tfoot {
|
||||
border-top: solid 4px #e4e4e4;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<h2>Server list</h2>
|
||||
<h2>Server List</h2>
|
||||
|
||||
<table id="serverList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach (SERVER_LIST as $server) {
|
||||
echo "<tr>";
|
||||
@@ -123,6 +120,8 @@ $user = SessionManager::get();
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user