Skip to content

Commit

Permalink
Improve status color
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-stoehr committed Aug 17, 2023
1 parent 89a23cb commit b812e64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
style="background-color:
#{item.processingStatus.title == 'statusDone' ? 'var(--green)' : ''}
#{item.processingStatus.title == 'statusInProcessing' ? 'var(--light-green)' : ''}
#{item.processingStatus.title == 'statusOpen' ? 'var(--light-orange)' : ''}
#{item.processingStatus.title == 'statusOpen' ? 'var(--blue)' : ''}
#{item.processingStatus.title == 'statusLocked' ? 'var(--orange)' : ''};"
/>
<p:panel rendered="#{SecurityAccessController.hasAuthorityToEditTask()}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
var(--green) #{process.progressClosed}%,
var(--light-green) #{process.progressClosed}%,
var(--light-green) #{process.progressInProcessing + process.progressClosed}%,
var(--light-orange) #{process.progressInProcessing + process.progressClosed}%,
var(--light-orange) #{process.progressOpen + process.progressClosed + process.progressInProcessing}%,
var(--blue) #{process.progressInProcessing + process.progressClosed}%,
var(--blue) #{process.progressOpen + process.progressClosed + process.progressInProcessing}%,
var(--orange) #{process.progressOpen + process.progressClosed + process.progressInProcessing}%);"
/>
</ui:composition>
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
style="margin-right:10px; background-color:
#{item.processingStatus.title == 'statusDone' ? 'var(--green)' : ''}
#{item.processingStatus.title == 'statusInProcessing' ? 'var(--light-green)' : ''}
#{item.processingStatus.title == 'statusOpen' ? 'var(--light-orange)' : ''}
#{item.processingStatus.title == 'statusOpen' ? 'var(--blue)' : ''}
#{item.processingStatus.title == 'statusLocked' ? 'var(--orange)' : ''};"
/>
</p:column>
Expand Down

0 comments on commit b812e64

Please sign in to comment.