diff --git a/src/main/twirl/gitbucket/core/settings/danger.scala.html b/src/main/twirl/gitbucket/core/settings/danger.scala.html index 9aa69f5..c7b3c93 100644 --- a/src/main/twirl/gitbucket/core/settings/danger.scala.html +++ b/src/main/twirl/gitbucket/core/settings/danger.scala.html @@ -4,9 +4,9 @@ @html.main("Danger Zone", Some(repository)){ @html.menu("settings", repository){ @menu("danger", repository){ -
-
Danger Zone
-
+
+
Danger Zone
+
@@ -42,4 +42,4 @@ return confirm('Once you delete a repository, there is no going back.\nAre you sure?'); }); }); - \ No newline at end of file + diff --git a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html index a99846f..f99b41e 100644 --- a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html +++ b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html @@ -14,11 +14,9 @@ @menu("hooks", repository){ @helper.html.information(info) -
-
- Webhook / Manage webhook -
-
+
+
Webhook / Manage webhook
+
diff --git a/src/main/twirl/gitbucket/core/settings/hooks.scala.html b/src/main/twirl/gitbucket/core/settings/hooks.scala.html index 2184c73..f745eb2 100644 --- a/src/main/twirl/gitbucket/core/settings/hooks.scala.html +++ b/src/main/twirl/gitbucket/core/settings/hooks.scala.html @@ -7,42 +7,39 @@ @html.menu("settings", repository){ @menu("hooks", repository){ @helper.html.information(info) +
+
+ Add webhook + Webhooks +
+
+

+ Webhooks allow external services to be notified when certain events happen within your repository. + When the specified events happen, we’ll send a POST request to each of the URLs you provide. + Learn more in GitBucket Wiki Webhook Page. +

-
-
- Add webhook - Webhooks -
-
-

- Webhooks allow external services to be notified when certain events happen within your repository. - When the specified events happen, we’ll send a POST request to each of the URLs you provide. - Learn more in GitBucket Wiki Webhook Page. -

- - - @webHooks.map { case (webHook, events) => - - } -
- - @webHook.url - - (@events.map(_.name).mkString(", ")) - - -
- -
-
- + + @webHooks.map { case (webHook, events) => + + } +
+ + @webHook.url + + (@events.map(_.name).mkString(", ")) + + +
+
+
} } } diff --git a/src/main/twirl/gitbucket/core/settings/options.scala.html b/src/main/twirl/gitbucket/core/settings/options.scala.html index 1c55ab9..fd477fe 100644 --- a/src/main/twirl/gitbucket/core/settings/options.scala.html +++ b/src/main/twirl/gitbucket/core/settings/options.scala.html @@ -6,9 +6,9 @@ @menu("options", repository){ @helper.html.information(info) -
-
Settings
-
+
+
Settings
+
@@ -20,7 +20,7 @@
- @if(repository.branchList.isEmpty){ } else {