h2 {
font-size:18px;
color:#D0E8FF;
+ text-shadow:1px 1px 4px #013;
margin:15px 0 12px;
}
h3 {
font-size:16px;
- color:#FF7000;
+ /*color:#FF7000;*/
+ color:#ADC0D2;
margin:18px 0 4px;
}
h4 {
text-align:center;
height:25px;
line-height:25px;
- top:-44px;
+ top:-48px;
color:#DCE9F5;
}
.window {
/* Main Menu */
#menu {
top: -33px;
- left: -19px;
- width:986px;
+ top: -40px;
+ width: 976px;
list-style:none;
border:1px solid #AED5FE;
border-top:0;
}
/* Content Specific */
+
+/*Tables */
#top-players, #top-servers, #top-maps {
float: left;
margin-bottom: 10px;
top: -38px;
right: 0;
}
-
+#search { margin-bottom:10px; }
+table { text-shadow:1px 1px 4px #013; }
+thead {
+ background-color:#020F1C;
+}
thead.red {
- color:#D31D12;
+ color:#EEAFAB;
background-color:#170403;
+ text-shadow:1px 1px 4px #722;
}
tr.odd.red {
background-color:#571612;
background-color:#571612;
}
thead.blue {
- color:#2F53F7;
+ color:#ABBBEE;
background-color:#04081A;
- border-color:#101940 !important;
+ text-shadow:1px 1px 4px #227;
}
tr.odd.blue {
background-color:#000F4C;
tr.even.blue {
background-color:#571612;
}
+
+/* Containers */
+#filter {
+ float:left;
+ width:200px;
+}
+#recent-games-list {
+ float:right;
+ width:735px;
+}
.game {
- background-color:#0a0a0a;
+ float:left;
+ background-image: -moz-linear-gradient(center bottom , #062C52, #041B33);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
- color-stop(0.67, #101114),
- color-stop(0.51, #000A15)
- );
- background-image: -moz-linear-gradient(
- center bottom,
- #111 67%,
- #000A15 51%
+ color-stop(0.51, #062C52),
+ color-stop(0.51, #041B33)
);
- border:1px solid #373B45;
- margin-bottom:10px;
- padding:3px;
+ border: 1px solid #A4B7CA;
+ border-radius: 7px;
+ -moz-border-radius: 7px;
+ -webkit-border-radius: 7px;
+ margin-bottom: 20px;
+ padding: 10px 7px;
+ box-shadow: 0 0 3px 1px;
+ min-width:600px;
}
.game h3 {
color:#93B1CF;
+ text-shadow:1px 1px 2px #000;
padding:4px 4px 8px;
margin:0;
}
.game h3 a:hover {
color:#fff;
}
+.game th {
+ font-size:10px;
+ padding:2px 5px;
+ min-width:40px;
+}
+.game th.nick {
+ min-width:160px;
+}
.permalink {
float:right;
font-size:12px;
}
.permalink a {
- color:#666 !important;
+ color:#6F8194 !important;
}
.permalink a:hover {
- color:#999 !important;
+ color:#A4B7CA !important;
text-decoration:underline;
}
<h2>Sorry, no games yet. Get playing!</h2>\r
\r
% else:\r
-<h2>Recent Games</h2>\r
-% for (game, server, map) in games:\r
-<div class="game">\r
- <h3><a href="${request.route_url("map_info", id=map.map_id)}" name="Map info page for ${map.name}">${map.name}</a> on <a href="${request.route_url("server_info", id=server.server_id)}" name="Server info page for ${server.name}">${server.name}</a> <span class="permalink">(<a href="${request.route_url('game_info', id=game.game_id)}" name="Permalink for game #${game.game_id}">permalink</a>)</span></h3>\r
-## show scoreboard using a def from another file\r
-${scoreboard(game.game_type_cd, pgstats[game.game_id])}\r
+<div id="filter">\r
+ <h2>Filter</h2>\r
+ <input id="search" type="text" name="search" />\r
+ <input id="show-bots" type="checkbox" class="checkbox" checked="checked" /><label for="show-bots" class="checkbox-label">Show Bots</label><br />\r
+ <h3>Gametype</h3>\r
+ <input id="game-ca" type="checkbox" class="checkbox" /><label for="game-ca" class="checkbox-label">CA</label><br />\r
+ <input id="game-ctf" type="checkbox" class="checkbox" /><label for="game-ctf" class="checkbox-label">CTF</label><br />\r
+ <input id="game-dm" type="checkbox" class="checkbox" /><label for="game-dm" class="checkbox-label">DM</label><br />\r
+ <input id="game-freezetag" type="checkbox" class="checkbox" /><label for="game-freeztag" class="checkbox-label">Freezetag</label><br />\r
+ <h3>Sort By</h3>\r
+ <select id="sort-by">\r
+ <option>Kills</option>\r
+ <option>Deaths</option>\r
+ <option>Suicides</option>\r
+ <option>Time</option>\r
+ <option>Score</option>\r
+ </select>\r
</div>\r
-\r
+<div id="recent-games-list">\r
+ <h2>Recent Games</h2>\r
+ % for (game, server, map) in games:\r
+ <div class="game">\r
+ <h3><a href="${request.route_url("map_info", id=map.map_id)}" name="Map info page for ${map.name}">${map.name}</a> on <a href="${request.route_url("server_info", id=server.server_id)}" name="Server info page for ${server.name}">${server.name}</a> <span class="permalink">(<a href="${request.route_url('game_info', id=game.game_id)}" name="Permalink for game #${game.game_id}">permalink</a>)</span></h3>\r
+ ## show scoreboard using a def from another file\r
+ ${scoreboard(game.game_type_cd, pgstats[game.game_id])}\r
+ </div>\r
% endfor\r
+</div><!-- #recent-games-list -->\r
% endif\r
\r
% if games.previous_page:\r
% endif
% if game_type_cd == 'ctf':
- <thead class="${pgstat.team_html_color()}">
+ <thead class="ctf ${pgstat.team_html_color()}">
<tr>
- <th>Nick</th>
- <th>Kills</th>
- <th>Captures</th>
- <th>Pickups</th>
- <th>Flag Carrier Kills</th>
- <th>Returns</th>
- <th>Score</th>
- <th>Accuracy</th>
+ <th class="nick">Nick</th>
+ <th class="kills">Kills</th>
+ <th class="captures">Captures</th>
+ <th class="pickups">Pickups</th>
+ <th class="fck" title="Flag Carrier Kill">FCK</th>
+ <th class="returns">Returns</th>
+ <th class="score">Score</th>
+ <th class="accuracy">Accuracy</th>
</tr>
</thead>
% endif
% if game_type_cd == 'ca':
- <thead class="${pgstat.team_html_color()}">
+ <thead class="ca ${pgstat.team_html_color()}">
<tr>
<th>Nick</th>
<th>Kills</th>
% endif
% if game_type_cd == 'freezetag':
- <thead class="${pgstat.team_html_color()}">
+ <thead class="freezetag ${pgstat.team_html_color()}">
<tr>
<th>Nick</th>
<th>Kills</th>