gulp-hint-web-reporter
Version:
Hint web reporter compatible with htmlhint, jshint, csslint and maybe others
63 lines (62 loc) • 2.59 kB
Plain Text
<html lang="en">
<head>
<title>HTMLHint Report</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/google/code-prettify/master/styles/desert.css">
<script src="http://code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<style>.clickable{cursor:pointer;width:100%}.panel{margin-bottom: 0px}.file-header{width:100%;height:30px}.well{margin-bottom:50px}</style>
</head>
<body>
<div class="file-header"></div><div class="container-fluid">
<div class="panel panel-warning">
<div class="panel-heading" role="tab" id="heading-7">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-target="#accordion-7" class="clickable">
<strong>+ /cases/case4/content.css</strong>
</a>
</h4>
</div>
<div class="panel-collapse collapse" id="accordion-7" role="tabpanel" aria-labelledby="heading-7">
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th class="text-center">Type</th>
<th class="text-center">Line</th>
<th class="text-center">Column</th>
<th>Evidence</th>
<th>Reason</th>
<th>Rule</th>
<th>Docs</th>
</tr>
</thead>
<tbody>
<tr class="warning">
<td class="text-center">warning</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td><pre class="prettyprint">wrong-rule {<br/>^</pre></td>
<td></td>
<td>empty-rules</td>
<td><a href="#">reference</a></td>
</tr><tr class="danger">
<td class="text-center">error</td>
<td class="text-center">3</td>
<td class="text-center">1</td>
<td><pre class="prettyprint">}<br/>^</pre></td>
<td></td>
<td>errors</td>
<td><a href="#">reference</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="well">
Found <span class="label label-default">2</span> failures - <span class="label label-danger">1 errors</span> & <span class="label label-warning">1 warnings</span>
</div>
</div>