Skip to content

Commit a225375

Browse files
Initial work on migration to Bootstrap 3
1 parent 0996e62 commit a225375

17 files changed

+686
-35
lines changed

PHP/CodeCoverage/Report/HTML.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,18 +188,21 @@ protected function copyFiles($target)
188188
{
189189
$dir = $this->getDirectory($target . 'css');
190190
copy($this->templatePath . 'css/bootstrap.min.css', $dir . 'bootstrap.min.css');
191-
copy($this->templatePath . 'css/bootstrap-responsive.min.css', $dir . 'bootstrap-responsive.min.css');
192191
copy($this->templatePath . 'css/style.css', $dir . 'style.css');
193192

193+
$dir = $this->getDirectory($target . 'fonts');
194+
copy($this->templatePath . 'fonts/glyphicons-halflings-regular.eot', $dir . 'glyphicons-halflings-regular.eot');
195+
copy($this->templatePath . 'fonts/glyphicons-halflings-regular.svg', $dir . 'glyphicons-halflings-regular.svg');
196+
copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf');
197+
copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff', $dir . 'glyphicons-halflings-regular.woff');
198+
194199
$dir = $this->getDirectory($target . 'js');
195200
copy($this->templatePath . 'js/bootstrap.min.js', $dir . 'bootstrap.min.js');
196201
copy($this->templatePath . 'js/highcharts.js', $dir . 'highcharts.js');
197-
copy($this->templatePath . 'js/jquery.min.js', $dir . 'jquery.min.js');
202+
copy($this->templatePath . 'js/holder.js', $dir . 'holder.js');
198203
copy($this->templatePath . 'js/html5shiv.js', $dir . 'html5shiv.js');
199-
200-
$dir = $this->getDirectory($target . 'img');
201-
copy($this->templatePath . 'img/glyphicons-halflings.png', $dir . 'glyphicons-halflings.png');
202-
copy($this->templatePath . 'img/glyphicons-halflings-white.png', $dir . 'glyphicons-halflings-white.png');
204+
copy($this->templatePath . 'js/jquery.js', $dir . 'jquery.js');
205+
copy($this->templatePath . 'js/respond.min.js', $dir . 'respond.min.js');
203206
}
204207

205208
/**

PHP/CodeCoverage/Report/HTML/Renderer/Template/css/bootstrap-responsive.min.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

PHP/CodeCoverage/Report/HTML/Renderer/Template/css/bootstrap.min.css

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<title>Dashboard for {full_path}</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<link href="{path_to_root}css/bootstrap.min.css" rel="stylesheet">
8-
<link href="{path_to_root}css/bootstrap-responsive.min.css" rel="stylesheet">
98
<link href="{path_to_root}css/style.css" rel="stylesheet">
109
<!--[if lt IE 9]>
1110
<script src="{path_to_root}js/html5shiv.js"></script>
11+
<script src="{path_to_root}js/respond.min.js"></script>
1212
<![endif]-->
1313
</head>
1414
<body>
@@ -121,8 +121,9 @@
121121
</p>
122122
</footer>
123123
</div>
124-
<script src="{path_to_root}js/jquery.min.js" type="text/javascript"></script>
124+
<script src="{path_to_root}js/jquery.js" type="text/javascript"></script>
125125
<script src="{path_to_root}js/bootstrap.min.js" type="text/javascript"></script>
126+
<script src="{path_to_root}js/holder.js" type="text/javascript"></script>
126127
<script src="{path_to_root}js/highcharts.js" type="text/javascript"></script>
127128
<script type="text/javascript">
128129
$(document).ready(function() {

PHP/CodeCoverage/Report/HTML/Renderer/Template/directory.html.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<title>Code Coverage for {full_path}</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<link href="{path_to_root}css/bootstrap.min.css" rel="stylesheet">
8-
<link href="{path_to_root}css/bootstrap-responsive.min.css" rel="stylesheet">
98
<link href="{path_to_root}css/style.css" rel="stylesheet">
109
<!--[if lt IE 9]>
1110
<script src="{path_to_root}js/html5shiv.js"></script>
11+
<script src="{path_to_root}js/respond.min.js"></script>
1212
<![endif]-->
1313
</head>
1414
<body>
@@ -54,7 +54,8 @@
5454
</p>
5555
</footer>
5656
</div>
57-
<script src="{path_to_root}js/jquery.min.js" type="text/javascript"></script>
57+
<script src="{path_to_root}js/jquery.js" type="text/javascript"></script>
5858
<script src="{path_to_root}js/bootstrap.min.js" type="text/javascript"></script>
59+
<script src="{path_to_root}js/holder.js" type="text/javascript"></script>
5960
</body>
6061
</html>

PHP/CodeCoverage/Report/HTML/Renderer/Template/file.html.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<title>Code Coverage for {full_path}</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<link href="{path_to_root}css/bootstrap.min.css" rel="stylesheet">
8-
<link href="{path_to_root}css/bootstrap-responsive.min.css" rel="stylesheet">
98
<link href="{path_to_root}css/style.css" rel="stylesheet">
109
<!--[if lt IE 9]>
1110
<script src="{path_to_root}js/html5shiv.js"></script>
11+
<script src="{path_to_root}js/respond.min.js"></script>
1212
<![endif]-->
1313
</head>
1414
<body>
@@ -60,8 +60,9 @@
6060
<a title="Back to the top" id="toplink" href="#"><i class="icon-arrow-up"></i></a>
6161
</footer>
6262
</div>
63-
<script src="{path_to_root}js/jquery.min.js" type="text/javascript"></script>
63+
<script src="{path_to_root}js/jquery.js" type="text/javascript"></script>
6464
<script src="{path_to_root}js/bootstrap.min.js" type="text/javascript"></script>
65+
<script src="{path_to_root}js/holder.js" type="text/javascript"></script>
6566
<script type="text/javascript">
6667
$(function() {
6768
var $window = $(window)

0 commit comments

Comments
 (0)