changeset 736:e1d5c3e19930

Work a bit on the party info display code.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 19 Nov 2014 02:42:18 +0200
parents 884c97eb3585
children f97498ef28f4
files show.php showajax.php
diffstat 2 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/show.php	Wed Nov 19 02:11:53 2014 +0200
+++ b/show.php	Wed Nov 19 02:42:18 2014 +0200
@@ -9,7 +9,7 @@
 require_once "msession.inc.php";
 require_once "majax.inc.php";
 
-$pageCSS["css/show.css"] = "";
+$pageCSS = "css/show.css";
 
 stSetupCacheControl();
 
--- a/showajax.php	Wed Nov 19 02:11:53 2014 +0200
+++ b/showajax.php	Wed Nov 19 02:42:18 2014 +0200
@@ -40,14 +40,12 @@
 {
   echo
   "  <div class=\"compoHeader\">\n".
-  "    <img src=\"img/fapsm.png\" /><br />\n".
-  "    <div class=\"compoTitle\">".chentities($compo["name"])." competition</div>\n";
-  
+  "    <div class=\"compoHeaderDiv\"></div>\n".
+  "    <div class=\"compoTitle\">".chentities($compo["name"])." competition</div>\n".
+  "  </div>\n";
+
   if ($entry === false && $prev === false)
-    echo "<h1>... Is starting ...</h1>";
-
-  echo
-  "  </div>\n";
+    echo "<div class=\"compoStarting\">... Is about to start ...</div>";
   
   if ($entry !== false)
     stPrintCompoEntry($entry, "compoNext", $compo, false);
@@ -61,7 +59,6 @@
 {
   echo
   "  <div class=\"showHeader\">\n".
-  "    <img src=\"img/fapsm.png\" /><br />\n".
   "  </div>\n".
   "  <div class=\"showText\">\n".
   $slide["text"].
@@ -176,7 +173,6 @@
       stSetDisplayVar("activeSlideMode", SMODE_COMPO);
       $updated = TRUE;
     }
-    
     break;
 }