Making Case Progress independent of Save button
This commit is contained in:
1 parent
df5cd20a78
commit
7ed21c95ee
2 files changed
+7
-12
No files matched your search
@@ -1,17 +1,13 @@
|
|||||||
<template name="caseProgress">
|
<template name="caseProgress">
|
||||||
{{#form (extend class='caseProgress' api=instance.api)}}
|
{{#form (extend class='caseProgress' api=instance.api)}}
|
||||||
{{#unless progressComplete}}
|
{{>radialProgressBar isLocked=isLocked progressPercent=progressPercent progressText=progressText}}
|
||||||
{{>radialProgressBar isLocked=isLocked progressPercent=progressPercent progressText=progressText}}
|
|
||||||
{{/unless}}
|
|
||||||
{{#if isLocked}}
|
{{#if isLocked}}
|
||||||
<div class="caseProgressStatus">
|
<div class="caseProgressStatus">
|
||||||
<h5>Locked</h5>
|
<h5>Locked</h5>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if progressComplete}}
|
<div class="caseProgressStatus">
|
||||||
<div class="caseProgressStatus">
|
{{#button class='btn' action='save' disabled=(isFinishDisabled)}}Save{{/button}}
|
||||||
{{#button class='btn' action='save' disabled=(isFinishDisabled)}}Save{{/button}}
|
</div>
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
{{/form}}
|
{{/form}}
|
||||||
</template>
|
</template>
|
||||||
@@ -17,7 +17,9 @@
|
|||||||
height: 32px
|
height: 32px
|
||||||
left: 0
|
left: 0
|
||||||
margin: 4px 6px
|
margin: 4px 6px
|
||||||
|
padding-top: 1px
|
||||||
position: absolute
|
position: absolute
|
||||||
|
text-align: center
|
||||||
top: 0
|
top: 0
|
||||||
transition(border-color 0.3s ease)
|
transition(border-color 0.3s ease)
|
||||||
width: 32px
|
width: 32px
|
||||||
@@ -30,11 +32,8 @@
|
|||||||
|
|
||||||
svg
|
svg
|
||||||
theme('fill', '$uiYellow')
|
theme('fill', '$uiYellow')
|
||||||
|
display: inline
|
||||||
height: 20px
|
height: 20px
|
||||||
left: 50%
|
|
||||||
position: absolute
|
|
||||||
top: 2px
|
|
||||||
transform(translateX(-50%) scale(0.9))
|
|
||||||
transition(all 0.3s ease)
|
transition(all 0.3s ease)
|
||||||
width: 22px
|
width: 22px
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user