Changeset c694e8 in indico
- Timestamp:
- 10/21/09 17:09:49 (4 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- c2d3a0
- Parents:
- 9712a4
- Files:
-
- 25 added
- 1 edited
- 2 moved
-
bin/utils/VSGuideHTMLFix.py (modified) (3 diffs)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/ServerAdminUserGuide_VS.odt (moved) (moved from indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS.odt)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/ServerAdminUserGuide_VS.pdf (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index.html (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_10323a5a.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_25c4d730.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_2d19d8bb.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_7888a91.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m16793c54.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m4642245a.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m5714eb8c.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m592cc7ef.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m62d03def.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m6e90655c.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m7ab274bc.png (added)
-
indico/htdocs/ihelp/VideoServices/ServerAdminUserGuide_VS/index_html_m95dc26.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/VSAdminUserGuide_VS.odt (moved) (moved from indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS.odt)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/VSAdminUserGuide_VS.pdf (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index.html (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_10323a5a.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_136982eb.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_7339cfff.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_73bc97ce.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_m22629ac6.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_m38e22d3d.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_m4642245a.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_m5714eb8c.png (added)
-
indico/htdocs/ihelp/VideoServices/VSAdminUserGuide_VS/index_html_m7d810dd9.png (added)
Legend:
- Unmodified
- Added
- Removed
-
bin/utils/VSGuideHTMLFix.py
r562f19 rc694e8 76 76 tag, attrs = MyHTMLParser._processAttrs(tag, attrs) 77 77 strattrs = "".join([' %s="%s"' % (key, value) for key, value in attrs.iteritems()]) 78 self._out.write("<%s%s> \n" % (tag, strattrs))78 self._out.write("<%s%s>" % (tag, strattrs)) 79 79 80 80 def handle_startendtag(self, tag, attrs): 81 81 tag, attrs = MyHTMLParser._processAttrs(tag, attrs) 82 82 strattrs = "".join([' %s="%s"' % (key, value) for key, value in attrs]) 83 self._out.write("<%s%s /> \n" % (tag, strattrs))83 self._out.write("<%s%s />" % (tag, strattrs)) 84 84 85 85 def handle_endtag(self, tag): 86 86 if tag.lower() == 'style': 87 87 self._inStyleTag = False 88 self._out.write("</%s> \n" % tag)88 self._out.write("</%s>" % tag) 89 89 90 90 def handle_data(self, text): … … 97 97 endIPStyle = text.find('}', iPStyle) 98 98 self._out.write(text[:endIPStyle]) 99 self._out.write(';margin: 0; padding: 0;') 99 if not text[:endIPStyle].endswith(';margin: 0; padding: 0;'): 100 self._out.write(';margin: 0; padding: 0;') 100 101 self._out.write(text[endIPStyle:]) 101 102 else: … … 124 125 p = MyHTMLParser() 125 126 ihelpPath = "../../indico/htdocs/ihelp/" 126 p.process(ihelpPath + "VideoServices/IndicoUserGuide_VS/ IndicoUserGuide_VS.html")127 p.process(ihelpPath + "VideoServices/EventManagerUserGuide_VS/ EventManagerUserGuide_VS.html")128 p.process(ihelpPath + "VideoServices/ServerAdminUserGuide_VS/ ServerAdminUserGuide_VS.html")129 p.process(ihelpPath + "VideoServices/VSAdminUserGuide_VS/ VSAdminUserGuide_VS.html")127 p.process(ihelpPath + "VideoServices/IndicoUserGuide_VS/index.html") 128 p.process(ihelpPath + "VideoServices/EventManagerUserGuide_VS/index.html") 129 p.process(ihelpPath + "VideoServices/ServerAdminUserGuide_VS/index.html") 130 p.process(ihelpPath + "VideoServices/VSAdminUserGuide_VS/index.html")
Note: See TracChangeset
for help on using the changeset viewer.
