]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Adding colors for yellow/pink teams; make all team colors consistent (HSV value ...
authorJan Behrens <zykure@web.de>
Sat, 2 Feb 2013 16:25:01 +0000 (17:25 +0100)
committerJan Behrens <zykure@web.de>
Sat, 2 Feb 2013 16:25:01 +0000 (17:25 +0100)
xonstat/models.py
xonstat/static/css/style.css

index e316dc13d62315c765eb16379118e9193d85ec7a..4e3bb63ce6f7dd8672c0943f72709931e9cd3e5c 100644 (file)
@@ -149,10 +149,8 @@ class PlayerGameStat(object):
             return html_colors(self.nick)
 
     def team_html_color(self):
-        # blue
         if self.team == 5:
             return "red"
-        # red
         if self.team == 14:
             return "blue"
         if self.team == 13:
index a270f6488f71169e4d94413563bf3a8555e1114f..441de51c763915f504d78940c9b02bdfc3093379 100755 (executable)
@@ -3466,10 +3466,16 @@ header h2 { display:none; }
     background-color: #000;
 }
 .game tr.red {
-  background-color: #571612;
+  background-color: #4d0000;
 }
 .game tr.blue {
-  background-color: #000F4C;
+  background-color: #00004d;
+}
+.game tr.yellow {
+  background-color: #4d4d00;
+}
+.game tr.pink {
+  background-color: #4d004d;
 }
 .game tr:hover {
     background-color: #222;