mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
Moved the script tag outputted by the blame module.
This commit is contained in:
parent
a5789197e0
commit
66915b7737
1 changed files with 2 additions and 3 deletions
5
blame.py
5
blame.py
|
@ -178,8 +178,7 @@ class BlameOutput(Outputable):
|
|||
chart_data += ", "
|
||||
|
||||
blame_xml += "<tfoot><tr> <td> </td> <td> </td> <td> </td> </tr></tfoot></tbody></table>"
|
||||
blame_xml += "<div class=\"chart\" id=\"blame_chart\"></div></div></div></div>"
|
||||
|
||||
blame_xml += "<div class=\"chart\" id=\"blame_chart\"></div></div>"
|
||||
blame_xml += "<script type=\"text/javascript\">"
|
||||
blame_xml += " $.plot($(\"#blame_chart\"), [{0}], {{".format(chart_data)
|
||||
blame_xml += " series: {"
|
||||
|
@ -189,7 +188,7 @@ class BlameOutput(Outputable):
|
|||
blame_xml += " }"
|
||||
blame_xml += " }"
|
||||
blame_xml += " });"
|
||||
blame_xml += "</script>"
|
||||
blame_xml += "</script></div></div>"
|
||||
|
||||
print(blame_xml)
|
||||
|
||||
|
|
Loading…
Reference in a new issue