mail[Wesnoth-commits] r36912 - in /website/stats.wesnoth.org/wesstats/templates: index.html pieview.html


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by cornmander on July 15, 2009 - 05:27:
Author: cornmander
Date: Wed Jul 15 05:27:20 2009
New Revision: 36912

URL: http://svn.gna.org/viewcvs/wesnoth?rev=36912&view=rev
Log:
Added basic CSS.


Modified:
    website/stats.wesnoth.org/wesstats/templates/index.html
    website/stats.wesnoth.org/wesstats/templates/pieview.html

Modified: website/stats.wesnoth.org/wesstats/templates/index.html
URL: 
http://svn.gna.org/viewcvs/wesnoth/website/stats.wesnoth.org/wesstats/templates/index.html?rev=36912&r1=36911&r2=36912&view=diff
==============================================================================
--- website/stats.wesnoth.org/wesstats/templates/index.html (original)
+++ website/stats.wesnoth.org/wesstats/templates/index.html Wed Jul 15 
05:27:20 2009
@@ -18,8 +18,27 @@
 ?>
 <head>
 <title>Wesnoth Stats</title>
+<style type="text/css">@import 
url('http://www.wesnoth.org/mw/skins/glamdrol/main.css');</style>
 </head>
 <body>
+<div id="header">
+       <div id="logo">
+               <a href="http://www.wesnoth.org/";><img alt="Wesnoth logo" 
src="http://www.wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg"; /></a>
+       </div>
+       <div id="nav">
+               <ul>
+                       <li><a href="http://www.wesnoth.org/";>Home</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Play";>Play</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Create";>Create</a></li>
+                       <li><a 
href="http://www.wesnoth.org/forum/";>Forums</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Support";>Support</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Project";>Project</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Credits";>Credits</a></li>
+               </ul>
+       </div>
+</div>
+<div id="main_"> <!--- TODO: remove id tag collision -->
 <h3 py:for="view in views"><a 
href="/wesstats/${urllib.quote(view[1])}">${view[0]}</a></h3>
+</div>
 </body>
 </html>

Modified: website/stats.wesnoth.org/wesstats/templates/pieview.html
URL: 
http://svn.gna.org/viewcvs/wesnoth/website/stats.wesnoth.org/wesstats/templates/pieview.html?rev=36912&r1=36911&r2=36912&view=diff
==============================================================================
--- website/stats.wesnoth.org/wesstats/templates/pieview.html (original)
+++ website/stats.wesnoth.org/wesstats/templates/pieview.html Wed Jul 15 
05:27:20 2009
@@ -16,7 +16,7 @@
 <head>
     <script type="text/javascript" src="/wesstats/js/calendar.js"></script>
     <link rel="stylesheet" rev="stylesheet" 
href="/wesstats/css/calendar.css" media="screen" />
-
+    <style type="text/css">@import 
url('http://www.wesnoth.org/mw/skins/glamdrol/main.css');</style>
     <script type="text/javascript" 
src="http://www.google.com/jsapi";></script>
     <script type="text/javascript">
       google.load('visualization', '1', {packages: ['piechart']});
@@ -31,17 +31,33 @@
        ${data} 
         // Create and draw the visualization.
         new 
google.visualization.PieChart(document.getElementById('visualization')).
-            draw(data, {title: '${title}'} );
+            draw(data, {title: '${title}', backgroundColor: 
{stroke:'#FFFBF0', fill:'#FFFBF0', strokeSize: 0} } );
       }      
 
       google.setOnLoadCallback(drawVisualization);
     </script>
 </head>
 <body>
+<div id="header">
+       <div id="logo">
+               <a href="http://www.wesnoth.org/";><img alt="Wesnoth logo" 
src="http://www.wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg"; /></a>
+       </div>
+       <div id="nav">
+               <ul>
+                       <li><a href="http://www.wesnoth.org/";>Home</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Play";>Play</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Create";>Create</a></li>
+                       <li><a 
href="http://www.wesnoth.org/forum/";>Forums</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Support";>Support</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Project";>Project</a></li>
+                       <li><a 
href="http://www.wesnoth.org/wiki/Credits";>Credits</a></li>
+               </ul>
+       </div>
+</div>
 
-<!--- <h3 py:for="view in views"><a 
href="${urllib.quote(view[1])}">${view[0]}</a></h3> -->
 <div id="visualization" style="width: 300px; height: 300px;">
 </div>
+
 <div id="filter_box">
 Used filters:
 <b py:if="len(used_filters) == 0">None</b>




Related Messages


Powered by MHonArc, Updated Wed Jul 15 05:40:51 2009