[Planner Dev] oops, diff file



Here is a diff file for my earlier post.

-- 
-Josh More, RHCE, CISSP
 morej alliancetechnologies net
 515-245-7701
Only in CVS/: at_planner2html.xsl
diff -u CVS/html1_gantt.xsl this/html1_gantt.xsl
--- CVS/html1_gantt.xsl	2005-02-24 16:17:45.093264635 -0600
+++ this/html1_gantt.xsl	2005-02-24 16:16:35.233610890 -0600
@@ -92,7 +92,7 @@
     </xsl:choose>
   </xsl:variable>
 
-  <div style="overflow: auto">
+  <div style="width: {$max-width}; overflow: auto">
   <table cellspacing="0" cellpadding="0" border="1" style="margin-bottom: 0">
     <tr class="header" align="left">
       <th rowspan="2"><span>WBS</span></th>
@@ -123,7 +123,7 @@
       
 	  <xsl:variable name="start">
         <xsl:call-template name="mrproj-parse-date">
-          <xsl:with-param name="thedate" select="@work-start"/>
+          <xsl:with-param name="thedate" select="@start"/>
         </xsl:call-template>
       </xsl:variable>
 
diff -u CVS/html1_resources.xsl this/html1_resources.xsl
--- CVS/html1_resources.xsl	2005-02-24 16:17:58.303282726 -0600
+++ this/html1_resources.xsl	2005-02-24 16:16:35.234610513 -0600
@@ -23,7 +23,7 @@
     select="boolean (count(//resource[ note!='']))"/>
   
   <h2><a name="resources">Resources</a></h2>
-
+	<div style="width: {$max-width}; overflow: auto">
   <table cellspacing="0" cellpadding="0" border="1" width="100%">
     <tr class="header" align="left">
       <th><span>Name</span></th>
@@ -47,6 +47,7 @@
           
 	</xsl:for-each>
   </table>
+	</div>
 </xsl:template>
 
 
diff -u CVS/html1_tasks.xsl this/html1_tasks.xsl
--- CVS/html1_tasks.xsl	2005-02-24 16:18:04.093099205 -0600
+++ this/html1_tasks.xsl	2005-02-24 16:16:35.271596564 -0600
@@ -45,6 +45,7 @@
   <xsl:variable name="hasproperties" select="boolean (count(//task/properties/property[ value!='']))"/>
   <xsl:variable name="hasnotes" select="boolean (count(//task[ note!='']))"/>
   <h2><a name="tasks">Tasks</a></h2>
+	<div style="width: {$max-width}; overflow: auto">
   <table cellspacing="0" cellpadding="0" border="1" width="100%">
     <tr class="header" align="left">
       <th><span>WBS</span></th>
@@ -296,5 +297,6 @@
         </xsl:choose>
     </xsl:for-each>
   </table>
+	</div>
 </xsl:template>
 </xsl:stylesheet>
diff -u CVS/planner2html.xsl this/planner2html.xsl
--- CVS/planner2html.xsl	2005-02-24 16:18:12.537914402 -0600
+++ this/planner2html.xsl	2005-02-24 16:18:55.878569289 -0600
@@ -32,6 +32,9 @@
 <!--                           Global variables                            -->
 
 <!-- Indentation-level in pixels for hierarchical tasks -->
+<xsl:variable name="max-width" select="800px"/>
+
+<!-- Indentation-level in pixels for hierarchical tasks -->
 <xsl:variable name="task-indent-pixels" select="18"/>
 
 <!-- CSS file to be included in XHTML output -->


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]