From b1013a47703c03a134166e3b1d03828818bfc58b Mon Sep 17 00:00:00 2001 From: Jason Song Date: Thu, 5 Jan 2023 16:30:22 +0800 Subject: [PATCH] refactor: shard runner templates --- templates/admin/runners/base.tmpl | 2 +- templates/admin/runners/edit.tmpl | 2 +- templates/org/settings/runners.tmpl | 2 +- templates/org/settings/runners_edit.tmpl | 2 +- templates/repo/settings/runner_edit.tmpl | 2 +- templates/repo/settings/runners.tmpl | 2 +- .../{runners/edit.tmpl => shared/actions/runner_edit.tmpl} | 0 .../{runners/list.tmpl => shared/actions/runner_list.tmpl} | 0 8 files changed, 6 insertions(+), 6 deletions(-) rename templates/{runners/edit.tmpl => shared/actions/runner_edit.tmpl} (100%) rename templates/{runners/list.tmpl => shared/actions/runner_list.tmpl} (100%) diff --git a/templates/admin/runners/base.tmpl b/templates/admin/runners/base.tmpl index dbf8c86070..a00a4dbc26 100644 --- a/templates/admin/runners/base.tmpl +++ b/templates/admin/runners/base.tmpl @@ -2,7 +2,7 @@
{{template "admin/navbar" .}}
- {{template "runners/list" .}} + {{template "shared/actions/runner_list" .}}
{{template "base/footer" .}} diff --git a/templates/admin/runners/edit.tmpl b/templates/admin/runners/edit.tmpl index 0b98ef883e..0963e97a5b 100644 --- a/templates/admin/runners/edit.tmpl +++ b/templates/admin/runners/edit.tmpl @@ -2,7 +2,7 @@
{{template "admin/navbar" .}}
- {{template "runners/edit" .}} + {{template "shared/actions/runner_edit" .}}
{{template "base/footer" .}} diff --git a/templates/org/settings/runners.tmpl b/templates/org/settings/runners.tmpl index e9c40ca072..7c70f6d956 100644 --- a/templates/org/settings/runners.tmpl +++ b/templates/org/settings/runners.tmpl @@ -5,7 +5,7 @@
{{template "org/settings/navbar" .}}
- {{template "runners/list" .}} + {{template "shared/actions/runner_list" .}}
diff --git a/templates/org/settings/runners_edit.tmpl b/templates/org/settings/runners_edit.tmpl index 2b6c2e288a..931ca3701a 100644 --- a/templates/org/settings/runners_edit.tmpl +++ b/templates/org/settings/runners_edit.tmpl @@ -5,7 +5,7 @@
{{template "org/settings/navbar" .}}
- {{template "runners/edit" .}} + {{template "shared/actions/runner_edit" .}}
diff --git a/templates/repo/settings/runner_edit.tmpl b/templates/repo/settings/runner_edit.tmpl index f23573b8be..10d410f096 100644 --- a/templates/repo/settings/runner_edit.tmpl +++ b/templates/repo/settings/runner_edit.tmpl @@ -3,7 +3,7 @@ {{template "repo/header" .}} {{template "repo/settings/navbar" .}}
- {{template "runners/edit" .}} + {{template "shared/actions/runner_edit" .}}
{{template "base/footer" .}} diff --git a/templates/repo/settings/runners.tmpl b/templates/repo/settings/runners.tmpl index 345b934b02..d3a0b64fc5 100644 --- a/templates/repo/settings/runners.tmpl +++ b/templates/repo/settings/runners.tmpl @@ -3,7 +3,7 @@ {{template "repo/header" .}} {{template "repo/settings/navbar" .}}
- {{template "runners/list" .}} + {{template "shared/actions/runner_list" .}}
{{template "base/footer" .}} diff --git a/templates/runners/edit.tmpl b/templates/shared/actions/runner_edit.tmpl similarity index 100% rename from templates/runners/edit.tmpl rename to templates/shared/actions/runner_edit.tmpl diff --git a/templates/runners/list.tmpl b/templates/shared/actions/runner_list.tmpl similarity index 100% rename from templates/runners/list.tmpl rename to templates/shared/actions/runner_list.tmpl