Improvements on Case Progress
This commit is contained in:
1 parent
bc14863059
commit
f0b57d416a
6 files changed
+34
-48
No files matched your search
+11
-11
@@ -1,27 +1,27 @@
|
||||
<template name="radialProgressBar">
|
||||
<div class="radialProgress">
|
||||
<svg id="svg"
|
||||
width="40"
|
||||
height="40"
|
||||
viewPort="0 0 40 40"
|
||||
width="26"
|
||||
height="26"
|
||||
viewPort="0 0 26 26"
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<!-- stroke-dasharray is 2 * PI * radius !-->
|
||||
<circle r="18"
|
||||
cx="20"
|
||||
cy="20"
|
||||
<circle r="11"
|
||||
cx="13"
|
||||
cy="13"
|
||||
fill="transparent"
|
||||
stroke-dasharray="113.097335529232557"
|
||||
stroke-dasharray="69.11503837897544"
|
||||
stroke-dashoffset="0">
|
||||
</circle>
|
||||
{{#unless isLocked}}
|
||||
<circle id="bar"
|
||||
r="18"
|
||||
cx="20"
|
||||
cy="20"
|
||||
r="11"
|
||||
cx="13"
|
||||
cy="13"
|
||||
fill="transparent"
|
||||
stroke-dasharray="113.097335529232557"
|
||||
stroke-dasharray="69.11503837897544"
|
||||
style="stroke-dashoffset: {{progressRadius}}px;">
|
||||
</circle>
|
||||
{{/unless}}
|
||||
|
||||
Reference in new issue
Block a user