mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
refactor: move core-tools to monorepo
This commit is contained in:
12
packages/core-tools/resources/error.html.mustache
Normal file
12
packages/core-tools/resources/error.html.mustache
Normal 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>
|
||||
17
packages/core-tools/resources/file.html.mustache
Normal file
17
packages/core-tools/resources/file.html.mustache
Normal 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>
|
||||
24
packages/core-tools/resources/report.html.mustache
Normal file
24
packages/core-tools/resources/report.html.mustache
Normal 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>
|
||||
Reference in New Issue
Block a user