Added item-group-completed style
This commit is contained in:
@@ -227,11 +227,13 @@ namespace Swarmops.Frontend.Pages.Ledgers
|
||||
}
|
||||
|
||||
bool groupReady = true;
|
||||
string groupReadyClass = " item-group-completed";
|
||||
foreach (EomItem item in group.Items)
|
||||
{
|
||||
if (!item.Completed)
|
||||
{
|
||||
groupReady = false;
|
||||
groupReadyClass = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,7 +242,7 @@ namespace Swarmops.Frontend.Pages.Ledgers
|
||||
builder.Append(@"
|
||||
|
||||
$('#TableEomItems').datagrid('appendRow', {
|
||||
itemGroupName: ""<span class='item-group-header'" + previousGroupIdData + @">" +
|
||||
itemGroupName: ""<span class='item-group-header" + groupReadyClass + "'" + previousGroupIdData + @">" +
|
||||
group.Header.Replace(" ", " ") + @"</span>"",
|
||||
action: ""<img src='/Images/Icons/iconshock-green-tick-128x96px.png' data-group='" +
|
||||
group.Id + "'" + previousGroupIdData +
|
||||
|
||||
@@ -916,6 +916,13 @@ input.data-entry-error, span.data-entry-error, div.data-entry-error {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.item-group-completed, .item-group-denied {
|
||||
-webkit-transition: all 0.50s;
|
||||
transition: all 0.50s;
|
||||
color: #aaa;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.action-icon {
|
||||
-webkit-transition: all 0.50s;
|
||||
transition: all 0.50s;
|
||||
|
||||
Reference in New Issue
Block a user