Skip to content

Commit 44171bc

Browse files
authored
style: remove <b> from overview page (#117)
* style: remove <b> from overview page * style: remove <b> from overview page
1 parent 1a85a07 commit 44171bc

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

gitstats/report_creator.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,50 +70,48 @@ def create_index_html(self, data, path):
7070
f.write(html_header(2, "Git Overview"))
7171

7272
f.write("<table border='1' cellspacing='0' cellpadding='4'>")
73-
f.write("<tr><td><b>Project Name</b></td><td>%s</td></tr>" % data.project_name)
73+
f.write("<tr><td>Project Name</td><td>%s</td></tr>" % data.project_name)
7474
f.write(
75-
"<tr><td><b>Generated On</b></td><td>%s (in %d seconds)</td></tr>"
75+
"<tr><td>Generated On</td><td>%s (in %d seconds)</td></tr>"
7676
% (
7777
datetime.datetime.now().strftime(format),
7878
time.time() - data.get_stamp_created(),
7979
)
8080
)
8181
f.write(
82-
'<tr><td><b>Generated By</b></td><td><a href="https://github.com/shenxianpeng/gitstats">gitstats</a> %s, %s, %s</td></tr>'
82+
'<tr><td>Generated By</td><td><a href="https://github.com/shenxianpeng/gitstats">gitstats</a> %s, %s, %s</td></tr>'
8383
% (get_version(), get_git_version(), get_gnuplot_version())
8484
)
8585
f.write(
86-
"<tr><td><b>Report Period</b></td><td>%s to %s</td></tr>"
86+
"<tr><td>Report Period</td><td>%s to %s</td></tr>"
8787
% (
8888
data.get_first_commit_date().strftime(format),
8989
data.get_last_commit_date().strftime(format),
9090
)
9191
)
9292
f.write(
93-
"<tr><td><b>Project Age</b></td><td>%d days, %d active days (%3.2f%%)</td></tr>"
93+
"<tr><td>Project Age</td><td>%d days, %d active days (%3.2f%%)</td></tr>"
9494
% (
9595
data.get_commit_delta_days(),
9696
len(data.get_active_days()),
9797
(100.0 * len(data.get_active_days()) / data.get_commit_delta_days()),
9898
)
9999
)
100+
f.write("<tr><td>Total Files</td><td>%s</td></tr>" % data.get_total_files())
100101
f.write(
101-
"<tr><td><b>Total Files</b></td><td>%s</td></tr>" % data.get_total_files()
102-
)
103-
f.write(
104-
"<tr><td><b>Total Lines of Code</b></td><td>%s (%d added, %d removed)</td></tr>"
102+
"<tr><td>Total Lines of Code</td><td>%s (%d added, %d removed)</td></tr>"
105103
% (data.get_total_loc(), data.total_lines_added, data.total_lines_removed)
106104
)
107105
f.write(
108-
"<tr><td><b>Total Commits</b></td><td>%s (average %.1f commits per active day, %.1f per all days)</td></tr>"
106+
"<tr><td>Total Commits</td><td>%s (average %.1f commits per active day, %.1f per all days)</td></tr>"
109107
% (
110108
data.get_total_commits(),
111109
float(data.get_total_commits()) / len(data.get_active_days()),
112110
float(data.get_total_commits()) / data.get_commit_delta_days(),
113111
)
114112
)
115113
f.write(
116-
"<tr><td><b>Authors</b></td><td>%s (average %.1f commits per author)</td></tr>"
114+
"<tr><td>Authors</td><td>%s (average %.1f commits per author)</td></tr>"
117115
% (
118116
data.get_total_authors(),
119117
(1.0 * data.get_total_commits()) / data.get_total_authors(),

0 commit comments

Comments
 (0)