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