Create viewer for SBOM and VEX data. 92/10792/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Wed, 29 Mar 2023 06:55:39 +0000 (08:55 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Wed, 29 Mar 2023 06:55:42 +0000 (08:55 +0200)
- add generic and simple error page

Issue-ID: OAM-320
Change-Id: I62d14446973fbc25b8666cc152c1493f4bc3b2d4
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
code/container-analysis/viewer/views/error.pug [new file with mode: 0644]

diff --git a/code/container-analysis/viewer/views/error.pug b/code/container-analysis/viewer/views/error.pug
new file mode 100644 (file)
index 0000000..0cd3240
--- /dev/null
@@ -0,0 +1,22 @@
+//-
+//- Copyright 2023 highstreet technologies and others
+//-
+//- Licensed under the Apache License, Version 2.0 (the "License");
+//- you may not use this file except in compliance with the License.
+//- You may obtain a copy of the License at
+//-
+//-     http://www.apache.org/licenses/LICENSE-2.0
+//-
+//- Unless required by applicable law or agreed to in writing, software
+//- distributed under the License is distributed on an "AS IS" BASIS,
+//- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//- See the License for the specific language governing permissions and
+//- limitations under the License.
+//-
+
+extends layout
+
+block content
+  h1= message
+  h2= error.status
+  pre #{error.stack}