Some fixes for automatic HTML generation
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Nov 2011 23:05:51 +0000 (23:05 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Nov 2011 23:05:51 +0000 (23:05 +0000)
PWG2/FORWARD/analysis2/qa/QABase.h
PWG2/FORWARD/analysis2/qa/RunQA.sh

index 1b8ef8e..52a239e 100644 (file)
@@ -269,9 +269,9 @@ struct QABase
        << " </head>\n"
        << " <body>\n"
        << "  <h1>" << pngName << "</h1>\n"
-       << "  <center>\n"
+       << "  <div class='img'>\n"
        << "    <img src='" << pngName << ".png'>\n"
-       << "  </center>\n" << std::endl;
+       << "  </div>\n" << std::endl;
     WriteImageFooter(img, pngName);
     img << " </body>\n" 
        << "</html>" << std::endl;
index 87fc03e..bf5f5f8 100755 (executable)
@@ -143,6 +143,7 @@ EOF
 
 # --- Make index.html ------------------------------------------------
 cd ..
+date=`date`
 period=`pwd`
 period=`basename $period`
 cat <<EOF > index.html
@@ -162,6 +163,9 @@ done
 cat <<EOF >> index.html
 </ul>
 <div class='back'><a href="../">Back</a></div>
+<div class='change'>
+Last update: $date
+</div>
 </body>
 </html>
 EOF
@@ -191,6 +195,9 @@ for i in * ; do
 done
 cat <<EOF >> index.html
 </ul>
+<div class='change'>
+Last update: $date
+</div>
 </body>
 </html>
 EOF