- {{ range .Pipelines }}
- {{ block "pipeline" (list $ .) }} {{ end }}
- {{ else }}
-
-
- No pipelines have been run for this repository yet. To get started:
-
- {{ $bullet := "mx-2 text-xs bg-gray-200 dark:bg-gray-600 rounded-full size-5 flex items-center justify-center font-mono inline-flex align-middle" }}
-
- 1First, choose a spindle in your
- repository settings.
-
-
- 2Configure your CI/CD
- pipeline.
-
-
3Trigger a workflow with a push or a pull-request!
-
+ {{ range .Pipelines }}
+ {{ template "pipelineCard" (dict "Root" $ "Pipeline" .) }}
+ {{ end }}
+
+
+ {{ i "package" "size-16 text-gray-300 dark:text-gray-700" }}
+
-{{ define "pipeline" }}
- {{ $root := index . 0 }}
- {{ $p := index . 1 }}
-
- {{ block "pipelineHeader" $ }} {{ end }}
+
+
+ No pipelines have been run yet
+
+
+ Get started by configuring CI/CD for this repository
+
+
+
+
+
+
+
2
+
+ Configure your CI/CD
+ pipeline
+
+
+
+
3
+
+ Trigger a workflow with a push or pull request
+
+
+
{{ end }}
+{{ end }}
-{{ define "pipelineHeader" }}
- {{ $root := index . 0 }}
- {{ $p := index . 1 }}
+{{ define "pipelineCard" }}
+ {{ $root := .Root }}
+ {{ $p := .Pipeline }}
{{ with $p }}
-
-
- {{ .Trigger.Kind.String }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ template "repo/fragments/time" .Created }}
+
+
+
+
+ {{ $t := .TimeTaken }}
+ {{ if $t }}
+
+ {{ i "clock" "size-3" }}
+
+
+ {{ else }}
+ --
+ {{ end }}
+
+
+
+
{{ end }}
{{ end }}
diff --git a/appview/pages/templates/repo/pipelines/fragments/pipelineSymbolLong.html b/appview/pages/templates/repo/pipelines/fragments/pipelineSymbolLong.html
--- a/appview/pages/templates/repo/pipelines/fragments/pipelineSymbolLong.html
+++ b/appview/pages/templates/repo/pipelines/fragments/pipelineSymbolLong.html
@@ -1,12 +1,24 @@
{{ define "repo/pipelines/fragments/pipelineSymbolLong" }}
{{ $pipeline := .Pipeline }}
{{ $repoinfo := .RepoInfo }}
+ {{ $popoverId := printf "pipeline-status-%d" $pipeline.Id }}
+
-
-
- {{ template "repo/pipelines/fragments/pipelineSymbol" (dict "Pipeline" $pipeline "ShortSummary" true) }}
-
+
+
+
{{ template "repo/pipelines/fragments/tooltip" $ }}
-
+
-{{ end }}
+{{ end }}
\ No newline at end of file
diff --git a/appview/pages/templates/repo/pipelines/fragments/tooltip.html b/appview/pages/templates/repo/pipelines/fragments/tooltip.html
--- a/appview/pages/templates/repo/pipelines/fragments/tooltip.html
+++ b/appview/pages/templates/repo/pipelines/fragments/tooltip.html
@@ -2,10 +2,9 @@
{{ $repoinfo := .RepoInfo }}
{{ $pipeline := .Pipeline }}
{{ $id := $pipeline.Id }}
-