[Cpan-forum-commit] rev 15 - in trunk: lib/CPAN templates www

svn at pti.co.il svn at pti.co.il
Sat Jan 15 18:17:14 IST 2005


Author: gabor
Date: 2005-01-15 18:17:13 +0200 (Sat, 15 Jan 2005)
New Revision: 15

Modified:
   trunk/lib/CPAN/Forum.pm
   trunk/templates/about.tmpl
   trunk/templates/change_password.tmpl
   trunk/templates/faq.tmpl
   trunk/templates/footer.tmpl
   trunk/templates/groups.tmpl
   trunk/templates/head.tmpl
   trunk/templates/home.tmpl
   trunk/templates/internal_error.tmpl
   trunk/templates/login.tmpl
   trunk/templates/module_search_form.tmpl
   trunk/templates/mypan.tmpl
   trunk/templates/notes.tmpl
   trunk/templates/posts.tmpl
   trunk/templates/pwreminder.tmpl
   trunk/templates/register.tmpl
   trunk/templates/search.tmpl
   trunk/templates/threads.tmpl
   trunk/templates/users.tmpl
   trunk/www/style.css
Log:
cleaning up some of the markup and the style sheet

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/lib/CPAN/Forum.pm	2005-01-15 16:17:13 UTC (rev 15)
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-our $VERSION = "0.09_03";
+our $VERSION = "0.09_03_dev";
 
 use base "CGI::Application";
 use CGI::Application::Plugin::Session;

Modified: trunk/templates/about.tmpl
===================================================================
--- trunk/templates/about.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/about.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>About CPAN::Forum</h2>
-</div>
+<p id="pageTitle">About CPAN::Forum</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/change_password.tmpl
===================================================================
--- trunk/templates/change_password.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/change_password.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,13 +1,13 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Change Password</h2>
-</div>
+<p id="pageTitle">Change Password</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 
 
 <TMPL_IF done>
+<p>
 Your password was updated.
-
+</p>
 <TMPL_ELSE>
 <div class="error">
 <TMPL_IF bad_pw_pair>The two passwords mustbe the same<br></TMPL_IF>

Modified: trunk/templates/faq.tmpl
===================================================================
--- trunk/templates/faq.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/faq.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Frequently Asked Questions</h2>
-</div>
+<p id="pageTitle">Frequently Asked Questions</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 <div class="faq">

Modified: trunk/templates/footer.tmpl
===================================================================
--- trunk/templates/footer.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/footer.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,14 +1,15 @@
 <TMPL_INCLUDE name="navigation.tmpl">
-	<div class="footer">
-		Service launched in January 2005.<br />
-		Comments, and other submissions on CPAN Forum are Copyright 2005, their respective owners.<br />
-		Site maintainer is not responsible for content.
-	</div>
+
+<div class="footer">
+	Service launched in January 2005.<br />
+	Comments, and other submissions on CPAN Forum are Copyright 2005, their respective owners.<br />
+	Site maintainer is not responsible for content.
 </div>
+</div>
 <p>
-      <a href="http://validator.w3.org/check?uri=referer"><img
-          src="http://www.w3.org/Icons/valid-xhtml10"
-          alt="Valid XHTML 1.0!" height="31" width="88" /></a>
+     <a href="http://validator.w3.org/check?uri=referer"><img
+        src="http://www.w3.org/Icons/valid-xhtml10"
+        alt="Valid XHTML 1.0!" height="31" width="88" /></a>
 </p>
 </body>
 </html>

Modified: trunk/templates/groups.tmpl
===================================================================
--- trunk/templates/groups.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/groups.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,10 +1,11 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2><TMPL_VAR group></h2>
+<p id="pageTitle"><TMPL_VAR group></p>
+
 <TMPL_INCLUDE NAME="navigation.tmpl">
 <TMPL_INCLUDE NAME="links.tmpl">
 
 <p>
-This section of the site is for discussing the <TMPL_VAR group> CPAN distribution.<br>
+This section of the site is for discussing the <TMPL_VAR group> CPAN distribution.<br />
 <a href="/mypan/dist/<TMPL_VAR group>">Manage my subscription to <TMPL_VAR group></a>
 </p>
 

Modified: trunk/templates/head.tmpl
===================================================================
--- trunk/templates/head.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/head.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -11,6 +11,6 @@
 For real use, please wait till we launch the production site.</p>
 </TMPL_IF>
 <div id="container">
-	<div id="pageHeader">
-		<h1>CPAN::Forum</h1>
+	
+<p id="pageHeader">CPAN::Forum</p>
 

Modified: trunk/templates/home.tmpl
===================================================================
--- trunk/templates/home.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/home.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,11 +1,11 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2></h2>
-</div>
+<p id="pageTitle"></p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
+
 <div id="posts">
-	<h3>Latest posts:</h3>
-	<TMPL_INCLUDE NAME="listing.tmpl">
+<h3>Latest posts:</h3>
+<TMPL_INCLUDE NAME="listing.tmpl">
 </div>
 
 <TMPL_INCLUDE NAME="footer.tmpl">

Modified: trunk/templates/internal_error.tmpl
===================================================================
--- trunk/templates/internal_error.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/internal_error.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,9 +1,11 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Internal Error</h2>
+<p id="pageTitle">Internal Error</p>
+
 <TMPL_INCLUDE NAME="navigation.tmpl">
 
-Something went wrong here. The webmaster will be informed and will try to take
-action. 
+<p>
+Something went wrong here. The webmaster will be informed and will try to take action. 
+</p>
 
 <TMPL_INCLUDE NAME="footer.tmpl">
 

Modified: trunk/templates/login.tmpl
===================================================================
--- trunk/templates/login.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/login.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Login</h2>
-</div>
+<p id="pageTitle">Login</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/module_search_form.tmpl
===================================================================
--- trunk/templates/module_search_form.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/module_search_form.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,15 +1,18 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Search for module name</h2>
-</div>
+<p id="pageTitle">Search for module name</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
-
+<p>
 Please type in the name of a module.
 You can use '%' signs as wide cards.
+</p>
+
 <form method="post" action="/module_search/">
-<input type="hidden" name="rm" value="search">
-<input name="q" value="<TMPL_VAR q>">
-<input type="submit" value="Search">
+<p>
+<input type="hidden" name="rm" value="search" />
+<input name="q" value="<TMPL_VAR q>" />
+<input type="submit" value="Search" />
+</p>
 </form>
 
 <TMPL_INCLUDE NAME="footer.tmpl">

Modified: trunk/templates/mypan.tmpl
===================================================================
--- trunk/templates/mypan.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/mypan.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Personal configuration of <TMPL_VAR fullname> (<TMPL_VAR username>)</h2>
-</div>
+<p id="pageTitle">Personal configuration of <TMPL_VAR fullname> (<TMPL_VAR username>)</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/notes.tmpl
===================================================================
--- trunk/templates/notes.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/notes.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2></h2>
-</div>
+<p id="pageTitle"></p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/posts.tmpl
===================================================================
--- trunk/templates/posts.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/posts.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2><TMPL_VAR group> - <TMPL_VAR subject></h2>
-</div>
+<p id="pageTitle"><TMPL_VAR group> - <TMPL_VAR subject></p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/pwreminder.tmpl
===================================================================
--- trunk/templates/pwreminder.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/pwreminder.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Password Reminder</h2>
-</div>
+<p id="pageTitle">Password Reminder</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/register.tmpl
===================================================================
--- trunk/templates/register.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/register.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Registration Page</h2>
-</div>
+<p id="pageTitle">Registration Page</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/search.tmpl
===================================================================
--- trunk/templates/search.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/search.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Search page</h2>
-</div>
+<p id="pageTitle">Search page</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/templates/threads.tmpl
===================================================================
--- trunk/templates/threads.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/threads.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>CPAN Forum - Thread</h2>
-</div>
+<p id="pageTitle">Thread</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 <TMPL_INCLUDE NAME="links.tmpl">

Modified: trunk/templates/users.tmpl
===================================================================
--- trunk/templates/users.tmpl	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/templates/users.tmpl	2005-01-15 16:17:13 UTC (rev 15)
@@ -1,6 +1,5 @@
 <TMPL_INCLUDE NAME="head.tmpl">
-<h2>Recent postings by <TMPL_VAR this_fullname> (<TMPL_VAR this_username>)</h2>
-</div>
+<p id="pageTitle">Recent postings by <TMPL_VAR this_fullname> (<TMPL_VAR this_username>)</p>
 
 <TMPL_INCLUDE NAME="navigation.tmpl">
 

Modified: trunk/www/style.css
===================================================================
--- trunk/www/style.css	2005-01-15 15:36:51 UTC (rev 14)
+++ trunk/www/style.css	2005-01-15 16:17:13 UTC (rev 15)
@@ -10,7 +10,7 @@
 	font-size: 20pt;
 }
 
-#pageHeader h1 { 
+#pageHeader { 
 	background: MidnightBlue; 
 	margin-top: 10px; 
 	margin-left: 25px; 
@@ -23,7 +23,7 @@
 	color: white;
 }
 
-#pageHeader h2 { 
+#pageTitle { 
 	margin-top: 0px; 
 	background: white; 
 	height: 18px; 



More information about the Cpan-forum-commit mailing list