diff options
author | silverwind <me@silverwind.io> | 2022-05-20 05:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 05:04:45 +0200 |
commit | ac8bee6aebd69db0c110343a527ae5b7d0ec6092 (patch) | |
tree | 4e03e7fe42de60877eac6713083eced1190984b4 /templates/user/dashboard | |
parent | cc7236e852e60e4dc9c4fb5692ac62697ef0e9e3 (diff) | |
download | gitea-ac8bee6aebd69db0c110343a527ae5b7d0ec6092.tar.gz gitea-ac8bee6aebd69db0c110343a527ae5b7d0ec6092.zip |
Remove fomantic progress module (#19760)
Replace it with HTML `<progress>` element. The bar won't go green at
100% anymore but I think it's not something that fits stylistically anyways.
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r-- | templates/user/dashboard/milestones.tmpl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl index c551c91e39..385f5c529b 100644 --- a/templates/user/dashboard/milestones.tmpl +++ b/templates/user/dashboard/milestones.tmpl @@ -80,11 +80,14 @@ <div class="milestone list"> {{range .Milestones}} <li class="item"> - <div class="ui label">{{.Repo.FullName}}</div> - {{svg "octicon-milestone"}} <a href="{{.Repo.Link }}/milestone/{{.ID}}">{{.Name}}</a> - <div class="ui right green progress" data-percent="{{.Completeness}}"> - <div class="bar" {{if not .Completeness}}style="background-color: transparent"{{end}}> - <div class="progress"></div> + <div class="df ac sb"> + <h2 class="df ac m-0 fw"> + <span class="ui large label">{{.Repo.FullName}}</span> + {{svg "octicon-milestone" 16 "mr-3"}}<a class="muted" href="{{.Repo.Link}}/milestone/{{.ID}}">{{.Name}}</a> + </h2> + <div class="df ac"> + <span class="mr-3">{{.Completeness}}%</span> + <progress value="{{.Completeness}}" max="100"></progress> </div> </div> <div class="meta"> |