diff options
author | silverwind <me@silverwind.io> | 2023-06-29 14:24:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 20:24:22 +0800 |
commit | 64f2d70262c4cfc1ee74875b4ec920551e304199 (patch) | |
tree | f09f0828b365485370ee788e93dfa1bafb6094fc /templates/package/view.tmpl | |
parent | 72b3af74be9654d6bb84c0ba6568d8eeca445963 (diff) | |
download | gitea-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/package/view.tmpl')
-rw-r--r-- | templates/package/view.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/package/view.tmpl b/templates/package/view.tmpl index 755c93fde3..1e7d13285e 100644 --- a/templates/package/view.tmpl +++ b/templates/package/view.tmpl @@ -73,7 +73,7 @@ {{end}} </div> {{if not (eq .PackageDescriptor.Package.Type "container")}} - <div class="ui divider"></div> + <div class="divider"></div> <strong>{{.locale.Tr "packages.assets"}} ({{len .PackageDescriptor.Files}})</strong> <div class="ui relaxed list"> {{range .PackageDescriptor.Files}} @@ -85,7 +85,7 @@ </div> {{end}} {{if .LatestVersions}} - <div class="ui divider"></div> + <div class="divider"></div> <strong>{{.locale.Tr "packages.versions"}} ({{.TotalVersionCount}})</strong> <a class="ui right" href="{{$.PackageDescriptor.PackageWebLink}}/versions">{{.locale.Tr "packages.versions.view_all"}}</a> <div class="ui relaxed list"> @@ -98,7 +98,7 @@ </div> {{end}} {{if or .CanWritePackages .HasRepositoryAccess}} - <div class="ui divider"></div> + <div class="divider"></div> <div class="ui relaxed list"> {{if .HasRepositoryAccess}} <div class="item">{{svg "octicon-issue-opened" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Repository.Link}}/issues">{{.locale.Tr "repo.issues"}}</a></div> |