-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bootstrap for HTML coverage to version 4 #644
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-{{level}}" role="progressbar" aria-valuenow="{{percent}}" aria-valuemin="0" aria-valuemax="100" style="width: {{percent}}%"> | ||
<div class="progress-bar bg-{{level}}" role="progressbar" aria-valuenow="{{percent}}" aria-valuemin="0" aria-valuemax="100" style="width: {{percent}}%"> | ||
<span class="sr-only">{{percent}}% covered ({{level}})</span> | ||
</div> | ||
</div> |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.octicon { | ||
display: inline-block; | ||
vertical-align: text-top; | ||
fill: currentColor; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ body { | |
max-width: none; | ||
} | ||
|
||
.glyphicon { | ||
.octicon { | ||
margin-right:.25em; | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,23 +4,21 @@ | |
<meta charset="UTF-8"> | ||
<title>Dashboard for {{full_path}}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link href="{{path_to_root}}.css/bootstrap.min.css" rel="stylesheet" type="text/css"> | ||
<link href="{{path_to_root}}.css/bootstrap.min.css?v=4.1.3" rel="stylesheet" type="text/css"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would rather not have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What would you like instead? Getting the new HTML with the old CSS / JS is not going to work. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I trust people to be smart enough to force-reload in case the rendered report looks broken. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay fair enough. I'll remove it. |
||
<link href="{{path_to_root}}.css/nv.d3.min.css" rel="stylesheet" type="text/css"> | ||
<link href="{{path_to_root}}.css/style.css" rel="stylesheet" type="text/css"> | ||
<link href="{{path_to_root}}.css/custom.css" rel="stylesheet" type="text/css"> | ||
<!--[if lt IE 9]> | ||
<script src="{{path_to_root}}.js/html5shiv.min.js"></script> | ||
<script src="{{path_to_root}}.js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<header> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<ol class="breadcrumb"> | ||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
{{breadcrumbs}} | ||
</ol> | ||
</ol> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
|
@@ -139,9 +137,7 @@ | |
</p> | ||
</footer> | ||
</div> | ||
<script src="{{path_to_root}}.js/jquery.min.js" type="text/javascript"></script> | ||
<script src="{{path_to_root}}.js/bootstrap.min.js" type="text/javascript"></script> | ||
<script src="{{path_to_root}}.js/holder.min.js" type="text/javascript"></script> | ||
<script src="{{path_to_root}}.js/jquery.min.js?v=3.3.1" type="text/javascript"></script> | ||
<script src="{{path_to_root}}.js/d3.min.js" type="text/javascript"></script> | ||
<script src="{{path_to_root}}.js/nv.d3.min.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<tr> | ||
<td class="{{lines_level}}">{{icon}}{{name}}</td> | ||
<td class="{{lines_level}} big">{{lines_bar}}</td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_executed_percent}}</div></td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_number}}</div></td> | ||
<td class="{{methods_level}} big">{{methods_bar}}</td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_tested_percent}}</div></td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_number}}</div></td> | ||
<td class="{{classes_level}} big">{{classes_bar}}</td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_tested_percent}}</div></td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_number}}</div></td> | ||
</tr> | ||
<tr> | ||
<td class="{{lines_level}}">{{icon}}{{name}}</td> | ||
<td class="{{lines_level}} big">{{lines_bar}}</td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_executed_percent}}</div></td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_number}}</div></td> | ||
<td class="{{methods_level}} big">{{methods_bar}}</td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_tested_percent}}</div></td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_number}}</div></td> | ||
<td class="{{classes_level}} big">{{classes_bar}}</td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_tested_percent}}</div></td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_number}}</div></td> | ||
</tr> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<tr> | ||
<td class="{{classes_level}}">{{name}}</td> | ||
<td class="{{classes_level}} big">{{classes_bar}}</td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_tested_percent}}</div></td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_number}}</div></td> | ||
<td class="{{methods_level}} big">{{methods_bar}}</td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_tested_percent}}</div></td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_number}}</div></td> | ||
<td class="{{methods_level}} small">{{crap}}</td> | ||
<td class="{{lines_level}} big">{{lines_bar}}</td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_executed_percent}}</div></td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_number}}</div></td> | ||
</tr> | ||
<tr> | ||
<td class="{{classes_level}}">{{name}}</td> | ||
<td class="{{classes_level}} big">{{classes_bar}}</td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_tested_percent}}</div></td> | ||
<td class="{{classes_level}} small"><div align="right">{{classes_number}}</div></td> | ||
<td class="{{methods_level}} big">{{methods_bar}}</td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_tested_percent}}</div></td> | ||
<td class="{{methods_level}} small"><div align="right">{{methods_number}}</div></td> | ||
<td class="{{methods_level}} small">{{crap}}</td> | ||
<td class="{{lines_level}} big">{{lines_bar}}</td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_executed_percent}}</div></td> | ||
<td class="{{lines_level}} small"><div align="right">{{lines_number}}</div></td> | ||
</tr> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glyphicons is no longer part of bootstrap, so I opted for octicons from Github instead because: