margin-bottom: 10px;
width:100%;
}
-
+#player-index-table{
+ width: 600px;
+}
#recent-games {
width: 950px;
}
background-color:#000F4C;
}
+/* column-specific table widths */
+.create-dt{
+ width: 150px;
+}
+
/* Containers */
#filter {
float:left;
\r
% else:\r
<h2>Player Index</h2>\r
-<table border="1">\r
+<table id="player-index-table" border="1">\r
<tr>\r
- <th>#</th>\r
<th>Nick</th>\r
- <th>Joined</th>\r
+ <th class="create-dt">Joined</th>\r
</tr>\r
% for player in players:\r
<tr>\r
- <td>${player.player_id}</th>\r
<td><a href="${request.route_url("player_info", id=player.player_id)}" title="Go to this player's info page">${player.nick_html_colors()|n}</a></th>\r
<td>${player.create_dt.strftime('%m/%d/%Y at %H:%M')}</th>\r
</tr>\r
try:\r
player_q = DBSession.query(Player).\\r
filter(Player.player_id > 2).\\r
- order_by(Player.player_id)\r
+ order_by(Player.player_id.desc())\r
\r
players = Page(player_q, current_page, url=page_url)\r
\r