| 118 |
|
""") |
| 119 |
|
if part[:3] == "MWE": |
| 120 |
|
outputFile.write('<li><a class="current" href="index2.html">%s</a></li>\n'% headdingList[0]) |
| 121 |
+ |
outputFile.write('<li><a href="KPMGs_Plate.html">%s</a></li>\n'% headdingList[1]) |
| 122 |
+ |
outputFile.write('<li><a href="Closed_Items.html">%s</a></li>\n'% headdingList[2]) |
| 123 |
|
outputFile.write(""" |
| 122 |
– |
<li><a href="KPMGs_Plate.html">KPMG's Plate (4)</a></li> |
| 123 |
– |
<li><a href="Closed_Items.html">Closed Issues (239)</a></li> |
| 124 |
|
<li><a href="Project_View.html">Project View</a></li> |
| 125 |
|
</ul> |
| 126 |
|
</div> |
| 166 |
|
outputFile.write("</table></center><br><br>\n") |
| 167 |
|
|
| 168 |
|
elif part[:3] == "KPM": |
| 169 |
< |
outputFile.write('<li><a class="current" href="index2.html">%s</a></li>\n'% headdingList[1]) |
| 169 |
> |
outputFile.write('<li><a href="index2.html">%s</a></li>\n'% headdingList[0]) |
| 170 |
> |
outputFile.write('<li><a class="current" href="KPMGs_Plate.html">%s</a></li>\n'% headdingList[1]) |
| 171 |
> |
outputFile.write('<li><a href="Closed_Items.html">%s</a></li>\n'% headdingList[2]) |
| 172 |
> |
outputFile.write(""" |
| 173 |
> |
<li><a href="Project_View.html">Project View</a></li> |
| 174 |
> |
</ul> |
| 175 |
> |
</div> |
| 176 |
> |
|
| 177 |
> |
<div id="feature"> |
| 178 |
> |
<div class="left"> |
| 179 |
> |
<h2>About the KPMG Plate</h2> |
| 180 |
> |
<p>These are all of the tasks and projects, broken out by Issue type, that are currently assigned to the KPMG team.</p> |
| 181 |
> |
</div> |
| 182 |
> |
<div class="clear"> </div> |
| 183 |
> |
</div> |
| 184 |
> |
<div id="main"> |
| 185 |
> |
<div id="sidebar"> |
| 186 |
> |
<div class="sidebarbox"> |
| 187 |
> |
<h2>Issue menu</h2> |
| 188 |
> |
<ul class="sidemenu">\n""") |
| 189 |
> |
for section in currentMatrix.keys(): |
| 190 |
> |
outputFile.write(' <li><a href="#%s">%s</a></li>\n'%(section,section)) |
| 191 |
> |
outputFile.write(""" </ul> |
| 192 |
> |
</div> |
| 193 |
> |
|
| 194 |
> |
<div class="sidebarbox"> |
| 195 |
> |
<h2>Text box</h2> |
| 196 |
> |
<p>Important links:</p> |
| 197 |
> |
<ul> |
| 198 |
> |
<li><a href="https://fts.shs.us.kpmg.com/vpn/index.html">KPMG Relativity</a></li> |
| 199 |
> |
<li><a href="#">Another</a></li> |
| 200 |
> |
</ul> |
| 201 |
> |
</div> |
| 202 |
> |
</div> |
| 203 |
> |
|
| 204 |
> |
<div id="content"> |
| 205 |
> |
""") |
| 206 |
> |
for section in currentMatrix.keys(): |
| 207 |
> |
outputFile.write('<h3 id="%s">%s</h3>\n'%(section,section)) |
| 208 |
> |
outputFile.write("<center><table border=1 cellspacing=0 cellpadding=5 width=95%>\n") |
| 209 |
> |
outputFile.write("<tr><th>ID</th><th>KPMG Status</th><th>MWE Status</th><th>TE Prefix</th><th>TE Description</th><th>Reporter</th><th>Assignee</th><th>Created On</th><th>Modified On</th></tr>") |
| 210 |
> |
for x in currentMatrix[section]: |
| 211 |
> |
outputFile.write("<tr>\n") |
| 212 |
> |
for y in x: |
| 213 |
> |
outputFile.write("<td>%s</td>"%y) |
| 214 |
> |
outputFile.write("</tr>\n") |
| 215 |
> |
outputFile.write("</table></center><br><br>\n") |
| 216 |
|
elif part[:3] == "Clo": |
| 217 |
< |
outputFile.write('<h2>%s</h2>\n'% headdingList[2]) |
| 217 |
> |
outputFile.write('<li><a href="index2.html">%s</a></li>\n'% headdingList[0]) |
| 218 |
> |
outputFile.write('<li><a href="KPMGs_Plate.html">%s</a></li>\n'% headdingList[1]) |
| 219 |
> |
outputFile.write('<li><a class="current" href="Closed_Items.html">%s</a></li>\n'% headdingList[2]) |
| 220 |
> |
outputFile.write(""" |
| 221 |
> |
<li><a href="Project_View.html">Project View</a></li> |
| 222 |
> |
</ul> |
| 223 |
> |
</div> |
| 224 |
> |
|
| 225 |
> |
<div id="feature"> |
| 226 |
> |
<div class="left"> |
| 227 |
> |
<h2>About the Closed Items page</h2> |
| 228 |
> |
<p>These are all of the tasks and projects, broken out by Issue type, that are currently closed and marked complete.</p> |
| 229 |
> |
</div> |
| 230 |
> |
<div class="clear"> </div> |
| 231 |
> |
</div> |
| 232 |
> |
<div id="main"> |
| 233 |
> |
<div id="sidebar"> |
| 234 |
> |
<div class="sidebarbox"> |
| 235 |
> |
<h2>Issue menu</h2> |
| 236 |
> |
<ul class="sidemenu">\n""") |
| 237 |
> |
for section in currentMatrix.keys(): |
| 238 |
> |
outputFile.write(' <li><a href="#%s">%s</a></li>\n'%(section,section)) |
| 239 |
> |
outputFile.write(""" </ul> |
| 240 |
> |
</div> |
| 241 |
> |
|
| 242 |
> |
<div class="sidebarbox"> |
| 243 |
> |
<h2>Text box</h2> |
| 244 |
> |
<p>Important links:</p> |
| 245 |
> |
<ul> |
| 246 |
> |
<li><a href="https://fts.shs.us.kpmg.com/vpn/index.html">KPMG Relativity</a></li> |
| 247 |
> |
<li><a href="#">Another</a></li> |
| 248 |
> |
</ul> |
| 249 |
> |
</div> |
| 250 |
> |
</div> |
| 251 |
> |
|
| 252 |
> |
<div id="content"> |
| 253 |
> |
""") |
| 254 |
> |
for section in currentMatrix.keys(): |
| 255 |
> |
outputFile.write('<h3 id="%s">%s</h3>\n'%(section,section)) |
| 256 |
> |
outputFile.write("<center><table border=1 cellspacing=0 cellpadding=5 width=95%>\n") |
| 257 |
> |
outputFile.write("<tr><th>ID</th><th>KPMG Status</th><th>MWE Status</th><th>TE Prefix</th><th>TE Description</th><th>Reporter</th><th>Assignee</th><th>Created On</th><th>Modified On</th></tr>") |
| 258 |
> |
for x in currentMatrix[section]: |
| 259 |
> |
outputFile.write("<tr>\n") |
| 260 |
> |
for y in x: |
| 261 |
> |
outputFile.write("<td>%s</td>"%y) |
| 262 |
> |
outputFile.write("</tr>\n") |
| 263 |
> |
outputFile.write("</table></center><br><br>\n") |
| 264 |
|
else: |
| 265 |
|
pass |
| 266 |
|
## |
| 279 |
|
outputFile.close() |
| 280 |
|
|
| 281 |
|
if __name__ == '__main__': |
| 282 |
< |
#exportFile = "/Users/ninoborges/Dropbox/Misc/export_20140106_191259.csv" |
| 283 |
< |
#htmlFile = "/Users/ninoborges/Documents/ITO_Report.html" |
| 284 |
< |
exportFile = "T:\honeywell\export_20140106_191259.csv" |
| 285 |
< |
indexFile= "T:\honeywell\ITO_Report\index2.html" |
| 286 |
< |
kpmgFile = "T:\honeywell\ITO_Report\KPMGs_Plate.html" |
| 287 |
< |
closedFile = "T:\honeywell\ITO_Report\Closed_Items.html" |
| 288 |
< |
projectViewFile = "T:\honeywell\ITO_Report\Project_View.html" |
| 282 |
> |
exportFile = "/Users/ninoborges/Dropbox/Misc/export_20140109_011143.csv" |
| 283 |
> |
indexFile = "/Users/ninoborges/Documents/ITO_Report/index2.html" |
| 284 |
> |
kpmgFile = "/Users/ninoborges/Documents/ITO_Report/KPMGs_Plate.html" |
| 285 |
> |
closedFile = "/Users/ninoborges/Documents/ITO_Report/Closed_Items.html" |
| 286 |
> |
projectViewFile = "/Users/ninoborges/Documents/ITO_Report/Project_View.html" |
| 287 |
> |
#exportFile = "T:\honeywell\export_20140106_191259.csv" |
| 288 |
> |
#indexFile= "T:\honeywell\ITO_Report\index2.html" |
| 289 |
> |
#kpmgFile = "T:\honeywell\ITO_Report\KPMGs_Plate.html" |
| 290 |
> |
#closedFile = "T:\honeywell\ITO_Report\Closed_Items.html" |
| 291 |
> |
#projectViewFile = "T:\honeywell\ITO_Report\Project_View.html" |
| 292 |
|
openMWEList,openKPMGList, closedList = SplitIntoPlates(exportFile) |
| 293 |
|
print "mwe list %s"%len(openMWEList) |
| 294 |
|
print "kpmg list %s"%len(openKPMGList) |