refactor: move core-tools to monorepo

This commit is contained in:
2023-03-14 17:08:48 +01:00
parent 0ebfc57fd6
commit 721ea0fe67
73 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<tr>
<th scope="row"><h3>{{idx}}</h3></th>
<td>
<div class="alert {{status}}">{{name}}</div>
<p>{{message}}</p>
<p>{{suggestion}}</p>
</td>
<td style="max-width: 600px">
<p>{{schemaPath}}</p>
<pre>{{instance}}</pre>
</td>
</tr>

View File

@@ -0,0 +1,17 @@
<div class="mw-100">
<h2>Errors in <code>{{testFile}}</code></h2>
<table class="table table-striped table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Error</th>
<th scope="col">Instance</th>
</tr>
</thead>
<tbody>
{{&errors}}
</tbody>
</table>
</div>

View File

@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<title>Report</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
</head>
<body>
<h1>Validation result</h1>
<p>Timestamp: {{timestamp}}</p>
{{&report}}
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
</body>
</html>