aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-05-20 05:04:45 +0200
committerGitHub <noreply@github.com>2022-05-20 05:04:45 +0200
commitac8bee6aebd69db0c110343a527ae5b7d0ec6092 (patch)
tree4e03e7fe42de60877eac6713083eced1190984b4 /templates/shared
parentcc7236e852e60e4dc9c4fb5692ac62697ef0e9e3 (diff)
downloadgitea-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/shared')
-rw-r--r--templates/shared/issuelist.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl
index e81855851b..23fb76d500 100644
--- a/templates/shared/issuelist.tmpl
+++ b/templates/shared/issuelist.tmpl
@@ -73,7 +73,8 @@
{{if gt $tasks 0}}
{{$tasksDone := .GetTasksDone}}
<span class="checklist">
- {{svg "octicon-checklist" 14 "mr-2"}}{{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
+ {{svg "octicon-checklist" 14 "mr-2"}}{{$tasksDone}} / {{$tasks}}
+ <progress value="{{$tasksDone}}" max="{{$tasks}}"></progress>
</span>
{{end}}
{{if ne .DeadlineUnix 0}}