[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r4125 - trunk/htdocs
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r4125 - trunk/htdocs |
Date: |
Tue, 13 Apr 2010 12:16:22 +0200 |
Author: grumbel
Date: 2010-04-13 12:16:21 +0200 (Tue, 13 Apr 2010)
New Revision: 4125
Added:
trunk/htdocs/videos.xml
Modified:
trunk/htdocs/Makefile
trunk/htdocs/default.css
trunk/htdocs/default.xsl
Log:
Added video page
Modified: trunk/htdocs/Makefile
===================================================================
--- trunk/htdocs/Makefile 2010-04-13 09:55:37 UTC (rev 4124)
+++ trunk/htdocs/Makefile 2010-04-13 10:16:21 UTC (rev 4125)
@@ -17,6 +17,7 @@
build/screenshots-0.4.html \
build/screenshots-0.5.html \
build/screenshots-0.6.html \
+ build/videos.html \
build/levelbuilding-tutorial.html \
build/development.html \
build/manual.html \
@@ -51,8 +52,8 @@
@echo
"----------------------------------------------------------------------------"
FILENAME=$<; \
echo $${FILENAME%%.xml}; \
- xsltproc -param filename "'$${FILENAME%%.xml}'" --output $@ default.xsl
$<; \
- tidy -modify -quiet -ashtml $@
+ xsltproc -param filename "'$${FILENAME%%.xml}'" --output $@ default.xsl
$<
+ # tidy -modify -quiet -ashtml $@
upload: all
rsync --checksum --exclude "old/" --cvs-exclude -rv build/ \
Modified: trunk/htdocs/default.css
===================================================================
--- trunk/htdocs/default.css 2010-04-13 09:55:37 UTC (rev 4124)
+++ trunk/htdocs/default.css 2010-04-13 10:16:21 UTC (rev 4125)
@@ -44,14 +44,16 @@
text-decoration: none;
}
+div.screenshotmenu-center {
+ text-align: center;
+}
+
ul.screenshotmenu
{
font-weight: bold;
- display: block;
- width: 35em;
+ display: inline-block;
margin: 0 auto 1.5em auto;
padding: 0.25em 0em;
- text-align: center;
background-color: $COLOR-PAGEHEADER$;
border-style: solid;
border-width: 1px;
@@ -277,4 +279,9 @@
color: rgb(50,50,200);
}
+.youtube {
+ margin: 0 auto;
+ display: block;
+}
+
/* EOF */
Modified: trunk/htdocs/default.xsl
===================================================================
--- trunk/htdocs/default.xsl 2010-04-13 09:55:37 UTC (rev 4124)
+++ trunk/htdocs/default.xsl 2010-04-13 10:16:21 UTC (rev 4125)
@@ -14,7 +14,7 @@
<!-- Copy all html4 elements over to the resulting html page -->
<xsl:template match=" a | abbr | acronym | address | applet | area | b |
base | basefont |
bdo | big | blockquote | body | br | button | caption
| center | cite | code | col |
- colgroup | dd | del | dfn | dir | div | dl | dt | em |
fieldset | font | form |
+ colgroup | dd | del | dfn | dir | div | dl | dt | em |
embed | fieldset | font | form |
frame | frameset | h1 | h2 | h3 | h4 | h5 | h6 | head |
hr | html | i | iframe | img |
input | ins | isindex | kbd | label | legend | li |
link | map | menu | meta |
noframes | noscript | object | ol | optgroup | option |
p | param | pre | q | s |
@@ -172,7 +172,9 @@
</xsl:template>
<xsl:template match="screenshot-menu">
+ <div class="screenshotmenu-center">
<ul class="screenshotmenu">
+ <li><a href="videos.html">Videos</a></li>
<li><a href="screenshots.html">0.7</a></li>
<li><a href="screenshots-0.6.html">0.6</a></li>
<li><a href="screenshots-0.5.html">0.5</a></li>
@@ -182,6 +184,7 @@
<li><a href="screenshots-0.1.html">0.1</a></li>
<li><a href="screenshots-0.0.html">0.0</a></li>
</ul>
+ </div>
</xsl:template>
<xsl:template match="section-toc">
Added: trunk/htdocs/videos.xml
===================================================================
--- trunk/htdocs/videos.xml 2010-04-13 09:55:37 UTC (rev 4124)
+++ trunk/htdocs/videos.xml 2010-04-13 10:16:21 UTC (rev 4125)
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<?xml-stylesheet type="text/xsl" href="default.xsl"?>
+<page title="Videos">
+ <screenshot-menu/>
+ <object width="480" height="385" class="youtube">
+ <param name="movie"
value="http://www.youtube.com/v/NPTWg3g-1lM&hl=en_US&fs=1&"></param>
+ <param name="allowFullScreen" value="true"></param>
+ <param name="allowscriptaccess" value="always"></param>
+ <embed
src="http://www.youtube.com/v/NPTWg3g-1lM&hl=en_US&fs=1&"
+ type="application/x-shockwave-flash"
+ allowscriptaccess="always"
+ allowfullscreen="true"
+ width="480" height="385" />
+ </object>
+</page>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r4125 - trunk/htdocs,
grumbel at BerliOS <=