feat: add core tools

This commit is contained in:
Karl-Philipp Wulfert
2018-12-18 17:41:03 +01:00
commit 1ac90ef633
23 changed files with 3788 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<tr>
<td><h3>{{idx}}</h3></td>
<td>
<div class="alert {{status}}">{{message}}</div>
<pre style="max-width: 600px;">{{property}} = {{instance}}</pre>
</td>
<td>
<pre>{{schema}}</pre>
</td>
</tr>

View File

@@ -0,0 +1,15 @@
<h2>Errors in <code>{{testFile}}</code></h2>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>#</th>
<th>Error</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
{{&errors}}
</tbody>
</table>

View File

@@ -0,0 +1,28 @@
<!doctype html>
<html lang="en">
<head>
<title>Report</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid">
<h1>Validation result</h1>
<p>Timestamp: {{timestamp}}</p>
{{&report}}
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" crossorigin="anonymous"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" crossorigin="anonymous"
integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" crossorigin="anonymous"
integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ"></script>
</body>
</html>