From 4c641434ac730d4b605f18713f7fe102a216273c Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Wed, 29 Mar 2023 08:55:39 +0200 Subject: [PATCH] Create viewer for SBOM and VEX data. - add generic and simple error page Issue-ID: OAM-320 Change-Id: I62d14446973fbc25b8666cc152c1493f4bc3b2d4 Signed-off-by: Martin Skorupski --- code/container-analysis/viewer/views/error.pug | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 code/container-analysis/viewer/views/error.pug diff --git a/code/container-analysis/viewer/views/error.pug b/code/container-analysis/viewer/views/error.pug new file mode 100644 index 0000000..0cd3240 --- /dev/null +++ b/code/container-analysis/viewer/views/error.pug @@ -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} -- 2.16.6