139 lines
6.9 KiB
HTML
139 lines
6.9 KiB
HTML
<?xml version="1.0" encoding="UTF-8" ?>
|
||
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<title>Agir Statool</title>
|
||
<meta charset="UTF-8" />
|
||
<meta content="April" name="keywords" />
|
||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||
<link rel="stylesheet" type="text/css" href="agirstatool.css" />
|
||
<script src="/commons/sorttable.js" />
|
||
<script src="Chart.bundle.min.js"></script>
|
||
</head>
|
||
<body>
|
||
<div style="margin: 10px;">
|
||
<h1><a href="index.xhtml">Agir Statool</a> – Project <a id="agirLink" href="#">n/a</a></h1>
|
||
<div>
|
||
<div style="margin: 5px;">
|
||
<a id="createClose3MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('3months');">3 months</a>
|
||
<a id="createClose6MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('6months');">6 months</a>
|
||
<a id="createCloseFullButton" href="#" class="button selected" onclick="javascript:createClosedSelect('full');">Full</a>
|
||
<a id="createClosePreviousYearButton" href="#" class="button" onclick="javascript:createClosedSelect('previousYear');">Previous Year</a>
|
||
<span style="margin-left: 50px;"> </span>
|
||
<a href="#part2" class="button" title="Go down to the table below.">Down</a>
|
||
<span style="margin-left: 50px;"> </span>
|
||
<a href="index.xhtml" class="button">Root</a>
|
||
<a href="admins.xhtml" class="button">Admins</a>
|
||
<a href="chapril.xhtml" class="button">Chapril</a>
|
||
</div>
|
||
<div id="issueCreatedClosed3MonthsChart" style="display: none; width: 50%; height: 400px;">CREATED/CLOSED 3 MONTHS CHART</div>
|
||
<div id="issueCreatedClosed6MonthsChart" style="display: none; width: 50%; height: 400px;">CREATED/CLOSED 6 MONTHS CHART</div>
|
||
<div id="issueCreatedClosedPreviousYearChart" style="display: none; width: 50%; height: 400px;">CREATED/CLOSED PREVIOUS YEAR CHART</div>
|
||
<div id="issueCreatedClosedFullChart" style="height: 400px;">CREATED/CLOSED FULL CHART</div>
|
||
</div>
|
||
|
||
<div id="part2" style="margin: 4px;">
|
||
<span style="display: inline-block; padding-top: 6px; vertical-align: text-top;"><a href="#part2">Grouped</a></span>
|
||
<label class="switch">
|
||
<input type="checkbox" onclick="javascript:projectsViewFlip();" />
|
||
<span class="slider round"></span>
|
||
</label>
|
||
</div>
|
||
<div id="rawView">
|
||
<div>
|
||
<div id="issueRawChart" style="width: 400px; height: 200px; display: inline-block;">ISSUES BAR CHART</div>
|
||
<div id="unassignedRawChart" style="width: 360px; height: 200px; display: inline-block;"></div>
|
||
<div id="issueCreatedClosed6MonthsChartA" style="width: 340px; height: 200px; display: inline-block;">CREATED/CLOSED 6 MONTHS CHART</div>
|
||
</div>
|
||
<br/>
|
||
<div>
|
||
<div id="projectsRawView">RAW VIEW PLACE</div>
|
||
</div>
|
||
</div>
|
||
<div id="groupedView" style="display: none;">
|
||
<div>
|
||
<div id="issueGroupedChart" style="width: 400px; height: 200px; display: inline-block;">ISSUES BAR CHART</div>
|
||
<div id="unassignedGroupedChart" style="width: 360px; height: 200px; display: inline-block;"></div>
|
||
<div id="issueCreatedClosed6MonthsChartB" style="width: 340px; height: 200px; display: inline-block;">CREATED/CLOSED 6 MONTHS CHARTB</div>
|
||
</div>
|
||
<br/>
|
||
<div>
|
||
<div id="projectsGroupedView">GROUPED VIEW PLACE</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">
|
||
function createClosedSelect(selection)
|
||
{
|
||
if (selection == '3months')
|
||
{
|
||
document.getElementById ('createClose3MonthsButton').classList.add('selected');
|
||
document.getElementById ('createClose6MonthsButton').classList.remove('selected');
|
||
document.getElementById ('createClosePreviousYearButton').classList.remove('selected');
|
||
document.getElementById ('createCloseFullButton').classList.remove('selected');
|
||
|
||
document.getElementById ('issueCreatedClosed3MonthsChart').style.display = 'block';
|
||
document.getElementById ('issueCreatedClosed6MonthsChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosedPreviousYearChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosedFullChart').style.display = 'none';
|
||
}
|
||
else if (selection == '6months')
|
||
{
|
||
document.getElementById ('createClose3MonthsButton').classList.remove('selected');
|
||
document.getElementById ('createClose6MonthsButton').classList.add('selected');
|
||
document.getElementById ('createClosePreviousYearButton').classList.remove('selected');
|
||
document.getElementById ('createCloseFullButton').classList.remove('selected');
|
||
|
||
document.getElementById ('issueCreatedClosed3MonthsChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosed6MonthsChart').style.display = 'block';
|
||
document.getElementById ('issueCreatedClosedPreviousYearChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosedFullChart').style.display = 'none';
|
||
}
|
||
else if (selection == 'previousYear')
|
||
{
|
||
document.getElementById ('createClose3MonthsButton').classList.remove('selected');
|
||
document.getElementById ('createClose6MonthsButton').classList.remove('selected');
|
||
document.getElementById ('createClosePreviousYearButton').classList.add('selected');
|
||
document.getElementById ('createCloseFullButton').classList.remove('selected');
|
||
|
||
document.getElementById ('issueCreatedClosed3MonthsChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosed6MonthsChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosedPreviousYearChart').style.display = 'block';
|
||
document.getElementById ('issueCreatedClosedFullChart').style.display = 'none';
|
||
}
|
||
else if (selection == 'full')
|
||
{
|
||
document.getElementById ('createClose3MonthsButton').classList.remove('selected');
|
||
document.getElementById ('createClose6MonthsButton').classList.remove('selected');
|
||
document.getElementById ('createClosePreviousYearButton').classList.remove('selected');
|
||
document.getElementById ('createCloseFullButton').classList.add('selected');
|
||
|
||
document.getElementById ('issueCreatedClosed3MonthsChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosed6MonthsChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosedPreviousYearChart').style.display = 'none';
|
||
document.getElementById ('issueCreatedClosedFullChart').style.display = 'block';
|
||
}
|
||
}
|
||
</script>
|
||
<script type="text/javascript">
|
||
var showRawView = true;
|
||
|
||
function projectsViewFlip ()
|
||
{
|
||
if (showRawView == true)
|
||
{
|
||
document.getElementById ('rawView').style.display = 'none';
|
||
document.getElementById ('groupedView').style.display = 'inline';
|
||
showRawView = false;
|
||
}
|
||
else
|
||
{
|
||
document.getElementById ('rawView').style.display = 'block';
|
||
document.getElementById ('groupedView').style.display = 'none';
|
||
showRawView = true;
|
||
}
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|