|
|
@@ -697,7 +697,7 @@ class HTMLReportCreator(ReportCreator):
|
|
697
|
697
|
binarypath = os.path.dirname(os.path.abspath(__file__))
|
|
698
|
698
|
secondarypath = os.path.join(binarypath, '..', 'share', 'gitstats')
|
|
699
|
699
|
basedirs = [binarypath, secondarypath, '/usr/share/gitstats']
|
|
700
|
|
- for file in ('gitstats.css', 'sortable.js', 'arrow-up.gif', 'arrow-down.gif', 'arrow-none.gif'):
|
|
|
700
|
+ for file in ('bootstrap.js','bootstrap.css','gitstats.css', 'sortable.js', 'arrow-up.gif', 'arrow-down.gif', 'arrow-none.gif'):
|
|
701
|
701
|
for base in basedirs:
|
|
702
|
702
|
src = base + '/' + file
|
|
703
|
703
|
if os.path.exists(src):
|
|
|
@@ -1328,8 +1328,10 @@ plot """
|
|
1328
|
1328
|
<head>
|
|
1329
|
1329
|
<title>GitStats - %s</title>
|
|
1330
|
1330
|
<link rel="stylesheet" href="%s" type="text/css" />
|
|
|
1331
|
+ <link rel="stylesheet" href="bootstrap.css" type="text/css" />
|
|
1331
|
1332
|
<meta name="generator" content="GitStats %s" />
|
|
1332
|
1333
|
<script type="text/javascript" src="sortable.js"></script>
|
|
|
1334
|
+ <script type="text/javascript" src="bootstrap.js"></script>
|
|
1333
|
1335
|
</head>
|
|
1334
|
1336
|
<body>
|
|
1335
|
1337
|
""" % (self.title, conf['style'], getversion()))
|