summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/options.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-29 14:24:22 +0200
committerGitHub <noreply@github.com>2023-06-29 20:24:22 +0800
commit64f2d70262c4cfc1ee74875b4ec920551e304199 (patch)
treef09f0828b365485370ee788e93dfa1bafb6094fc /templates/repo/settings/options.tmpl
parent72b3af74be9654d6bb84c0ba6568d8eeca445963 (diff)
downloadgitea-64f2d70262c4cfc1ee74875b4ec920551e304199.tar.gz
gitea-64f2d70262c4cfc1ee74875b4ec920551e304199.zip
Replace fomantic divider module with our own (#25539)
Should look exactly like before for normal dividers. "Horizontal" ones look better because they no longer use image backgrounds. <img width="917" alt="Screenshot 2023-06-27 at 19 07 56" src="https://github.com/go-gitea/gitea/assets/115237/d97d8dec-6859-44a8-85ba-e4549b4dd9df"> <img width="914" alt="Screenshot 2023-06-27 at 19 05 58" src="https://github.com/go-gitea/gitea/assets/115237/8bf98544-2d82-4ebf-ac68-d6dc237bd6b2"> <img width="1246" alt="Screenshot 2023-06-27 at 19 00 42" src="https://github.com/go-gitea/gitea/assets/115237/36a6bb21-6029-4f53-8bee-535f55c66fed"> <img width="344" alt="Screenshot 2023-06-27 at 18 58 15" src="https://github.com/go-gitea/gitea/assets/115237/a9e70aee-8e6b-4ea1-9e93-19c9f96aec6e"> <img width="823" alt="Screenshot 2023-06-27 at 18 56 22" src="https://github.com/go-gitea/gitea/assets/115237/e7a497cd-f262-4683-8872-23c3c8cce32f"> <img width="330" alt="Screenshot 2023-06-27 at 19 21 11" src="https://github.com/go-gitea/gitea/assets/115237/42f24149-a655-4c7e-bd26-8ab52db6446b">
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-rw-r--r--templates/repo/settings/options.tmpl24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 8c394d5bf5..4aff754e2c 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -50,7 +50,7 @@
</div>
</form>
- <div class="ui divider"></div>
+ <div class="divider"></div>
<form class="ui form" action="{{.Link}}/avatar" method="post" enctype="multipart/form-data">
{{.CsrfTokenHtml}}
@@ -325,7 +325,7 @@
</div>
</div>
- <div class="ui divider"></div>
+ <div class="divider"></div>
{{$isIssuesEnabled := or (.Repository.UnitEnabled $.Context $.UnitTypeIssues) (.Repository.UnitEnabled $.Context $.UnitTypeExternalTracker)}}
{{$isIssuesGlobalDisabled := .UnitTypeIssues.UnitGlobalDisabled}}
@@ -419,7 +419,7 @@
</div>
</div>
- <div class="ui divider"></div>
+ <div class="divider"></div>
{{$isProjectsEnabled := .Repository.UnitEnabled $.Context $.UnitTypeProjects}}
{{$isProjectsGlobalDisabled := .UnitTypeProjects.UnitGlobalDisabled}}
@@ -464,7 +464,7 @@
{{end}}
{{if not .IsMirror}}
- <div class="ui divider"></div>
+ <div class="divider"></div>
{{$pullRequestEnabled := .Repository.UnitEnabled $.Context $.UnitTypePullRequests}}
{{$pullRequestGlobalDisabled := .UnitTypePullRequests.UnitGlobalDisabled}}
{{$prUnit := .Repository.MustGetUnit $.Context $.UnitTypePullRequests}}
@@ -578,7 +578,7 @@
</div>
{{end}}
- <div class="ui divider"></div>
+ <div class="divider"></div>
<div class="field">
<button class="ui green button">{{$.locale.Tr "repo.settings.update_settings"}}</button>
</div>
@@ -624,7 +624,7 @@
</div>
</div>
- <div class="ui divider"></div>
+ <div class="divider"></div>
<div class="field">
<button class="ui green button">{{$.locale.Tr "repo.settings.update_settings"}}</button>
</div>
@@ -651,7 +651,7 @@
</div>
</form>
- <div class="ui divider"></div>
+ <div class="divider"></div>
<form class="ui form" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="admin_index">
@@ -708,7 +708,7 @@
<p>{{.locale.Tr "repo.settings.convert_desc"}}</p>
</div>
</div>
- <div class="ui divider"></div>
+ <div class="divider"></div>
{{end}}
{{if and .Repository.IsFork .Repository.Owner.CanCreateRepo}}
<div class="item">
@@ -720,7 +720,7 @@
<p>{{.locale.Tr "repo.settings.convert_fork_desc"}}</p>
</div>
</div>
- <div class="ui divider"></div>
+ <div class="divider"></div>
{{end}}
<div class="item">
<div class="ui right">
@@ -745,7 +745,7 @@
</div>
{{if .Permission.CanRead $.UnitTypeWiki}}
- <div class="ui divider"></div>
+ <div class="divider"></div>
<div class="item">
<div class="ui right">
@@ -758,7 +758,7 @@
</div>
{{end}}
- <div class="ui divider"></div>
+ <div class="divider"></div>
<div class="item">
<div class="ui right">
@@ -771,7 +771,7 @@
</div>
{{if not .Repository.IsMirror}}
- <div class="ui divider"></div>
+ <div class="divider"></div>
<div class="item">
<div class="ui right">