From 353d88a42e2bfce9ba8923ad2ef3f2601ab65286 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 27 Dec 2021 09:33:32 +0800 Subject: [PATCH] Migrating wiki don't require token, so we should move it out of the require form (#17645) (#18104) * Migrating wiki don't require token, so we should move it out of the require form * Fix lint Co-authored-by: techknowlogick --- templates/repo/migrate/gitea.tmpl | 28 ++++++++++++++++------------ templates/repo/migrate/github.tmpl | 27 +++++++++++++++------------ templates/repo/migrate/gitlab.tmpl | 27 +++++++++++++++------------ templates/repo/migrate/gogs.tmpl | 28 ++++++++++++++++------------ web_src/less/_form.less | 1 - 5 files changed, 62 insertions(+), 49 deletions(-) diff --git a/templates/repo/migrate/gitea.tmpl b/templates/repo/migrate/gitea.tmpl index 52528fc57c..6b0445ff37 100644 --- a/templates/repo/migrate/gitea.tmpl +++ b/templates/repo/migrate/gitea.tmpl @@ -26,19 +26,16 @@ {{template "repo/migrate/options" .}} - {{.i18n.Tr "repo.migrate.migrate_items_options"}} -
-
- -
- - -
-
- - -
+
+ +
+ +
+
+ +
+ {{.i18n.Tr "repo.migrate.migrate_items_options"}}
@@ -61,6 +58,13 @@
+
+ +
+ + +
+
diff --git a/templates/repo/migrate/github.tmpl b/templates/repo/migrate/github.tmpl index 156f8896fc..a96922b065 100644 --- a/templates/repo/migrate/github.tmpl +++ b/templates/repo/migrate/github.tmpl @@ -26,19 +26,15 @@ {{template "repo/migrate/options" .}} - {{.i18n.Tr "repo.migrate.migrate_items_options"}} -
-
- -
- - -
-
- - -
+
+ +
+ +
+
+
+ {{.i18n.Tr "repo.migrate.migrate_items_options"}}
@@ -61,6 +57,13 @@
+
+ +
+ + +
+
diff --git a/templates/repo/migrate/gitlab.tmpl b/templates/repo/migrate/gitlab.tmpl index e1424c250f..b730164a8f 100644 --- a/templates/repo/migrate/gitlab.tmpl +++ b/templates/repo/migrate/gitlab.tmpl @@ -26,19 +26,15 @@ {{template "repo/migrate/options" .}} - {{.i18n.Tr "repo.migrate.migrate_items_options"}} -
-
- -
- - -
-
- - -
+
+ +
+ +
+
+
+ {{.i18n.Tr "repo.migrate.migrate_items_options"}}
@@ -61,6 +57,13 @@
+
+ +
+ + +
+
diff --git a/templates/repo/migrate/gogs.tmpl b/templates/repo/migrate/gogs.tmpl index b1900e83d1..c35ef017b3 100644 --- a/templates/repo/migrate/gogs.tmpl +++ b/templates/repo/migrate/gogs.tmpl @@ -26,19 +26,16 @@ {{template "repo/migrate/options" .}} - {{.i18n.Tr "repo.migrate.migrate_items_options"}} -
-
- -
- - -
-
- - -
+
+ +
+ +
+
+ +
+ {{.i18n.Tr "repo.migrate.migrate_items_options"}}
@@ -50,6 +47,13 @@
+
+ +
+ + +
+