Improved color indicators.

This commit is contained in:
Christian P. MOMON 2020-01-18 10:30:21 +01:00
parent dacc75e05e
commit 1820551678
4 changed files with 33 additions and 15 deletions

View File

@ -104,6 +104,7 @@ public class ProjectsRawView
data.setContent("projectRawLine", index, "prl_projectNameLink", StringEscapeUtils.escapeXml(project.getName()));
data.setContent("projectRawLine", index, "prl_childCount", project.getChildCount());
data.setContent("projectRawLine", index, "prl_issueCount", project.issueStats().getCount());
data.setContent("projectRawLine", index, "prl_maybeIssueCount", project.issueStats().getMaybeCount());
data.setContent("projectRawLine", index, "prl_newIssueCount", project.issueStats().getNewCount());
data.setAttribute("projectRawLine", index, "prl_newIssueCount", "class", AgirStatoolUtils.selectStatIndicator(project.issueStats().getNewCount()));
data.setContent("projectRawLine", index, "prl_confirmedIssueCount", project.issueStats().getConfirmedCount());
@ -111,19 +112,18 @@ public class ProjectsRawView
data.setContent("projectRawLine", index, "prl_ongoingIssueCount", project.issueStats().getOngoingCount());
data.setAttribute("projectRawLine", index, "prl_ongoingIssueCount", "class", AgirStatoolUtils.selectStatIndicator(project.issueStats().getOngoingCount()));
data.setContent("projectRawLine", index, "prl_waitingIssueCount", project.issueStats().getWaitingCount());
data.setContent("projectRawLine", index, "prl_maybeIssueCount", project.issueStats().getMaybeCount());
data.setContent("projectRawLine", index, "prl_resolvedIssueCount", project.issueStats().getResolvedCount());
data.setAttribute("projectRawLine", index, "prl_resolvedIssueCount", "class", AgirStatoolUtils.selectStatIndicator(project.issueStats().getResolvedCount()));
data.setContent("projectRawLine", index, "prl_rejectedIssueCount", project.issueStats().getRejectedCount());
data.setContent("projectRawLine", index, "prl_closedIssueCount", project.issueStats().getClosedCount());
data.setContent("projectRawLine", index, "prl_unassignedIssueCount", project.issueStats().getUnassignedCount());
data.setContent("projectRawLine", index, "prl_unassignedMaybeIssueCount", project.issueStats().getUnassignedMaybeCount());
data.setContent("projectRawLine", index, "prl_unassignedNewIssueCount", project.issueStats().getUnassignedNewCount());
data.setContent("projectRawLine", index, "prl_unassignedConfirmedIssueCount", project.issueStats().getUnassignedConfirmedCount());
data.setContent("projectRawLine", index, "prl_unassignedOngoingIssueCount", project.issueStats().getUnassignedOngoingCount());
data.setAttribute("projectRawLine", index, "prl_unassignedOngoingIssueCount", "class", AgirStatoolUtils.selectUnassignedIndicator(project.issueStats().getUnassignedOngoingCount()));
data.setContent("projectRawLine", index, "prl_unassignedWaitingIssueCount", project.issueStats().getUnassignedWaitingCount());
data.setAttribute("projectRawLine", index, "prl_unassignedWaitingIssueCount", "class", AgirStatoolUtils.selectUnassignedIndicator(project.issueStats().getUnassignedWaitingCount()));
data.setContent("projectRawLine", index, "prl_unassignedMaybeIssueCount", project.issueStats().getUnassignedMaybeCount());
data.setContent("projectRawLine", index, "prl_unassignedResolvedIssueCount", project.issueStats().getUnassignedResolvedCount());
data.setAttribute("projectRawLine", index, "prl_unassignedResolvedIssueCount", "class", AgirStatoolUtils.selectUnassignedIndicator(project.issueStats().getUnassignedResolvedCount()));
data.setContent("projectRawLine", index, "prl_unassignedRejectedIssueCount", project.issueStats().getUnassignedRejectedCount());

View File

@ -355,6 +355,24 @@ table > tfoot > tr > th.active
background-color: #e5e5e5;
}
table > thead > tr.comment > td,
table > thead > tr.comment > th,
table > thead > tr > td.comment,
table > thead > tr > th.comment,
table > tbody > tr.comment > td,
table > tbody > tr.comment > th,
table > tbody > tr > td.comment,
table > tr > td.comment,
table > tbody > tr > th.comment,
table > tr > th.comment,
table > tfoot > tr.comment > td,
table > tfoot > tr.comment > th,
table > tfoot > tr > td.comment,
table > tfoot > tr > th.comment
{
background-color: #ececec;
}
table > thead > tr.info > td,
table > thead > tr.info > th,
table > thead > tr > td.info,

View File

@ -20,9 +20,8 @@
<th rowspan="2">Last<br/>update</th>
</tr>
<tr>
<th class="tablesubtitle">Total</th>
<th class="tablesubtitle">Active</th>
<th class="tablesubtitle">Maybe</th>
<th class="tablesubtitle">Active</th>
<th class="tablesubtitle">Resolved</th>
<th class="tablesubtitle">Concluded</th>
<th class="tablesubtitle">Total</th>
@ -30,23 +29,24 @@
<th class="tablesubtitle">Started</th>
<th class="tablesubtitle">Resolved</th>
<th class="tablesubtitle">Concluded</th>
<th class="tablesubtitle">Total</th>
</tr>
<tr id="projectGroupedLine">
<td id="pgl_projectId" class="center">n/a</td>
<td id="pgl_projectName"><a href="#" id="pgl_projectNameLink">foo</a></td>
<td id="pgl_childCount" class="td_number">n/a</td>
<td id="pgl_childCount" class="td_number comment">n/a</td>
<td id="pgl_issueCount" class="td_number">n/a</td>
<td id="pgl_activeIssueCount" class="td_number">n/a</td>
<td id="pgl_maybeIssueCount" class="td_number">n/a</td>
<td id="pgl_activeIssueCount" class="td_number">n/a</td>
<td id="pgl_resolvedIssueCount" class="td_number">n/a</td>
<td id="pgl_concludedIssueCount" class="td_number">n/a</td>
<td id="pgl_issueCount" class="td_number comment">n/a</td>
<td id="pgl_unassignedIssueCount" class="td_number">n/a</td>
<td id="pgl_unassignedNewIssueCount" class="td_number">n/a</td>
<td id="pgl_unassignedStartedIssueCount" class="td_number">n/a</td>
<td id="pgl_unassignedResolvedIssueCount" class="td_number">n/a</td>
<td id="pgl_unassignedConcludedIssueCount" class="td_number">n/a</td>
<td id="pgl_unassignedIssueCount" class="td_number comment">n/a</td>
<td id="pgl_lastUpdate" class="center">n/a</td>
</tr>

View File

@ -20,41 +20,40 @@
<th rowspan="2">Last<br/>update</th>
</tr>
<tr>
<th class="tablesubtitle">Total</th>
<th class="tablesubtitle">Maybe</th>
<th class="tablesubtitle">New</th>
<th class="tablesubtitle">Confirmed</th>
<th class="tablesubtitle">Ongoing</th>
<th class="tablesubtitle">Waiting</th>
<th class="tablesubtitle">Maybe</th>
<th class="tablesubtitle">Resolved</th>
<th class="tablesubtitle">Rejected</th>
<th class="tablesubtitle">Closed</th>
<th class="tablesubtitle">Total</th>
<th class="tablesubtitle">Maybe</th>
<th class="tablesubtitle">New</th>
<th class="tablesubtitle">Confirmed</th>
<th class="tablesubtitle">Ongoing</th>
<th class="tablesubtitle">Waiting</th>
<th class="tablesubtitle">Maybe</th>
<th class="tablesubtitle">Resolved</th>
<th class="tablesubtitle">Rejected</th>
<th class="tablesubtitle">Closed</th>
<th class="tablesubtitle">Total</th>
</tr>
<tr id="projectRawLine">
<td id="prl_projectId" class="center">n/a</td>
<td id="prl_projectName"><a href="#" id="prl_projectNameLink">foo</a></td>
<td id="prl_childCount" class="td_number">n/a</td>
<td id="prl_childCount" class="td_number comment">n/a</td>
<td id="prl_issueCount" class="td_number">n/a</td>
<td id="prl_maybeIssueCount" class="td_number">n/a</td>
<td id="prl_newIssueCount" class="td_number">n/a</td>
<td id="prl_confirmedIssueCount" class="td_number">n/a</td>
<td id="prl_ongoingIssueCount" class="td_number">n/a</td>
<td id="prl_waitingIssueCount" class="td_number">n/a</td>
<td id="prl_maybeIssueCount" class="td_number">n/a</td>
<td id="prl_resolvedIssueCount" class="td_number">n/a</td>
<td id="prl_rejectedIssueCount" class="td_number">n/a</td>
<td id="prl_closedIssueCount" class="td_number">n/a</td>
<td id="prl_issueCount" class="td_number comment">n/a</td>
<td id="prl_unassignedIssueCount" class="td_number">n/a</td>
<td id="prl_unassignedNewIssueCount" class="td_number">n/a</td>
<td id="prl_unassignedConfirmedIssueCount" class="td_number">n/a</td>
<td id="prl_unassignedOngoingIssueCount" class="td_number">n/a</td>
@ -63,6 +62,7 @@
<td id="prl_unassignedResolvedIssueCount" class="td_number">n/a</td>
<td id="prl_unassignedRejectedIssueCount" class="td_number">n/a</td>
<td id="prl_unassignedClosedIssueCount" class="td_number">n/a</td>
<td id="prl_unassignedIssueCount" class="td_number comment">n/a</td>
<td id="prl_lastUpdate" class="center">n/a</td>
</tr>