-
-
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
Conversation
\copy($this->templatePath . 'css/nv.d3.min.css', $dir . 'nv.d3.min.css'); | ||
\copy($this->templatePath . 'css/style.css', $dir . 'style.css'); | ||
\copy($this->templatePath . 'css/custom.css', $dir . 'custom.css'); | ||
\copy($this->templatePath . 'css/octicons.css', $dir . 'octicons.css'); |
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:
- It's smaller, just some small SVG files instead of large font files
- The icons are a bit nicer and most programmers should be familiar with them as GitHub uses them as well
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
The ?v=
everywhere are used for cache bursting in case people serve this from a web server that's caching (too) aggressively.
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.
I would rather not have ?v=
, to be honest.
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.
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 comment
The 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 comment
The reason will be displayed to describe this comment to others. Learn more.
Okay fair enough. I'll remove it.
Thanks! |
Example:
Previous (bootstrap 3) for this same page for reference: