pictcode_admin / lib / Cake / TestSuite / templates / header.php @ 5ad38a95
履歴 | 表示 | アノテート | ダウンロード (4.599 KB)
1 | 5ad38a95 | spyder1211 | <?php
|
---|---|---|---|
2 | /**
|
||
3 | * Short description for file.
|
||
4 | *
|
||
5 | * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
|
||
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||
7 | *
|
||
8 | * Licensed under The MIT License
|
||
9 | * For full copyright and license information, please see the LICENSE.txt
|
||
10 | * Redistributions of files must retain the above copyright notice
|
||
11 | *
|
||
12 | * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||
13 | * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
|
||
14 | * @package Cake.TestSuite.templates
|
||
15 | * @since CakePHP(tm) v 1.2.0.4433
|
||
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||
17 | */
|
||
18 | ?>
|
||
19 | <!DOCTYPE html>
|
||
20 | <html xmlns="http://www.w3.org/1999/xhtml"> |
||
21 | <head>
|
||
22 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||
23 | <title>CakePHP Test Suite <?php echo Configure::version(); ?></title> |
||
24 | <style type="text/css"> |
||
25 | body h2 {color: #777;} |
||
26 | h3 {font-size: 170%; padding-top: 1em} |
||
27 | a {font-size: 120%} |
||
28 | li {line-height: 140%} |
||
29 | .test-menu {float:left; margin-right: 24px;} |
||
30 | .test-results {float:left; width: 67%;} |
||
31 | ul.tests {margin: 0; font-size:12px;} |
||
32 | ul.tests li { |
||
33 | list-style: none; |
||
34 | margin: 14px 0; |
||
35 | padding-left: 20px; |
||
36 | } |
||
37 | ul.tests li span { |
||
38 | font-size:14px; |
||
39 | text-transform: uppercase; |
||
40 | font-weight: bold; |
||
41 | } |
||
42 | ul.tests li.pass span, ul.tests li.skipped span { display:inline;} |
||
43 | ul.tests li.fail span { color: red; } |
||
44 | ul.tests li.pass span { color: green; } |
||
45 | ul.tests li.skipped span { color: navy; } |
||
46 | ul.tests li.error span { color : #d15d00; } |
||
47 | |||
48 | ul.tests li.pass, |
||
49 | ul.tests li.error, |
||
50 | ul.tests li.skipped, |
||
51 | ul.tests li.fail { |
||
52 | background: #fff2f2 url(<?php echo $baseDir; ?>img/test-fail-icon.png) 5px 5px no-repeat; |
||
53 | border-top: 1px dotted red; |
||
54 | border-bottom: 1px dotted red; |
||
55 | padding:5px 10px 2px 25px; |
||
56 | } |
||
57 | ul.tests li.pass { |
||
58 | background-color: #f2fff2; |
||
59 | background-image: url(<?php echo $baseDir; ?>img/test-pass-icon.png); |
||
60 | border-color:green; |
||
61 | } |
||
62 | ul.tests li.skipped { |
||
63 | background-color: #edf1ff; |
||
64 | background-image: url(<?php echo $baseDir; ?>img/test-skip-icon.png); |
||
65 | border-color:navy; |
||
66 | } |
||
67 | ul.tests li.error { |
||
68 | background-color: #ffffe5; |
||
69 | background-image: url(<?php echo $baseDir; ?>img/test-error-icon.png); |
||
70 | border-color: #DF6300; |
||
71 | } |
||
72 | ul.tests li div { margin: 5px 0 8px 0; } |
||
73 | ul.tests li div.msg { font-weight: bold; } |
||
74 | table caption { color:#fff; } |
||
75 | |||
76 | div.code-coverage-results div.code-line { |
||
77 | padding-left:5px; |
||
78 | display:block; |
||
79 | margin-left:10px; |
||
80 | } |
||
81 | .coverage-toggle { |
||
82 | float:right; |
||
83 | margin-top:10px; |
||
84 | font-size:12px; |
||
85 | } |
||
86 | .coverage-container { |
||
87 | margin-top:1em; |
||
88 | } |
||
89 | div.code-coverage-results div.uncovered span.content { background:#ecc; } |
||
90 | div.code-coverage-results div.covered span.content { background:#cec; } |
||
91 | div.code-coverage-results div.ignored span.content { color:#aaa; } |
||
92 | div.code-coverage-results div:hover { |
||
93 | background:#e8e8e8; |
||
94 | cursor: pointer; |
||
95 | } |
||
96 | div.code-coverage-results div.covered:hover span.content { background:#b4edb4;} |
||
97 | div.code-coverage-results div.uncovered:hover span.content { background:#edb4b4;} |
||
98 | div.code-coverage-results span.line-num { |
||
99 | color:#666; |
||
100 | display:block; |
||
101 | float:left; |
||
102 | width:20px; |
||
103 | text-align:right; |
||
104 | margin-right:5px; |
||
105 | } |
||
106 | div.code-coverage-results span.line-num strong { color:#666; } |
||
107 | div.code-coverage-results div.start { |
||
108 | border:1px solid #aaa; |
||
109 | border-width:1px 1px 0 1px; |
||
110 | margin-top:30px; |
||
111 | padding-top:5px; |
||
112 | } |
||
113 | div.code-coverage-results div.end { |
||
114 | border:1px solid #aaa; |
||
115 | border-width:0px 1px 1px 1px; |
||
116 | margin-bottom:30px; |
||
117 | padding-bottom:5px; |
||
118 | } |
||
119 | div.code-coverage-results div.realstart { margin-top:0px; } |
||
120 | div.code-coverage-results p.note { |
||
121 | color:#bbb; |
||
122 | padding:5px; |
||
123 | margin:5px 0 10px; |
||
124 | font-size:10px; |
||
125 | } |
||
126 | div.code-coverage-results span.result-bad { color: #a00; } |
||
127 | div.code-coverage-results span.result-ok { color: #fa0; } |
||
128 | div.code-coverage-results span.result-good { color: #0a0; } |
||
129 | |||
130 | div#version { |
||
131 | padding-top: 2px; |
||
132 | float: right; |
||
133 | padding-left: 20px; |
||
134 | } |
||
135 | </style>
|
||
136 | <link rel="stylesheet" type="text/css" href="<?php echo $baseDir; ?>css/cake.generic.css" /> |
||
137 | </head>
|
||
138 | <body>
|
||
139 | <div id="container"> |
||
140 | <div id="header"> |
||
141 | <div id="version">PHPUnit: <?php echo class_exists('PHPUnit_Runner_Version') ? PHPUnit_Runner_Version::id() : 'n/a'; ?></div> |
||
142 | <h1>CakePHP: the rapid development php framework</h1> |
||
143 | </div>
|
||
144 | <div id="content"> |
||
145 | <h2>CakePHP Test Suite <?php echo Configure::version(); ?></h2> |