From 156d26673624a52b2e5fec0b2ab79a1a56f11526 Mon Sep 17 00:00:00 2001 From: Stefan Majer Date: Thu, 6 Apr 2017 13:34:37 +0200 Subject: [PATCH] Remove now unneeded templates --- server/templates/layout.html | 71 -------------------------------- server/templates/vulns.html | 78 ------------------------------------ 2 files changed, 149 deletions(-) delete mode 100644 server/templates/layout.html delete mode 100644 server/templates/vulns.html diff --git a/server/templates/layout.html b/server/templates/layout.html deleted file mode 100644 index d9076235..00000000 --- a/server/templates/layout.html +++ /dev/null @@ -1,71 +0,0 @@ -{{define "index"}} - - - - - - - - - - {{ .RegistryURL }} - - - - -

{{ .RegistryURL }}

-
- clear -
- -
- - - - - - - - {{ range $key, $value := .Repos }} - - - - - - - {{ end }} -
NameTagCreatedPull Command
- {{ if $value.VulnURI }}{{ end }} - {{ $value.Name }} - {{ if $value.VulnURI }}{{ end }} - - {{ if $value.VulnURI }}{{ end }} - {{ $value.Tag }} - {{ if $value.VulnURI }}{{ end }} - - {{ if $value.VulnURI }}{{ end }} - {{ $value.CreatedDate }} - {{ if $value.VulnURI }}{{ end }} - - {{ if $value.VulnURI }}{{ end }} - docker pull {{ $value.RepoURI }} - {{ if $value.VulnURI }}{{ end }} -
-
- - - - - - -{{end}} diff --git a/server/templates/vulns.html b/server/templates/vulns.html deleted file mode 100644 index fd79489f..00000000 --- a/server/templates/vulns.html +++ /dev/null @@ -1,78 +0,0 @@ -{{define "vulns"}} - - - - - - - - - - {{ .RegistryURL }}/{{ .Repo }}:{{ .Tag }} Vulnerability Report - - - - -
- - - -

Generated on: {{.Date}}

- - {{if gt .BadVulns 5}} - - {{end}} - -

Summary

- - -

Details

- {{range $vulns := .VulnsBySeverity}} - {{range $value := $vulns}} -
-
-

{{$value.Name}} - {{$value.Severity}} -

-
-
- {{$value.Description}} -
- -
- {{end}} - {{end}} - -
- - - - -{{end}}