mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
116 lines
3.9 KiB
HTML
116 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<meta charset="utf-8">
|
|
<title>Apps CI Dashboard</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<link rel="stylesheet" href="../../css/bootstrap.css" media="screen">
|
|
<link rel="stylesheet" href="../../skins/eden.css" media="screen">
|
|
|
|
<style>
|
|
#app-test-results
|
|
{
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
/*width:1000px;*/
|
|
}
|
|
.navbar-holder-dark {
|
|
padding: 20px 20px 200px 20px;
|
|
background: #333333;
|
|
}
|
|
|
|
table, thead, tbody { display: block; width: 100%;}
|
|
table.apps { margin: 0 auto; margin-top: 100px; width: 1000px; overflow-x: visible; }
|
|
|
|
th.ci-test-title
|
|
{
|
|
margin:5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
th.ci-test-title > div
|
|
{
|
|
position:relative;
|
|
transform:
|
|
translate(0px, -10px)
|
|
rotate(315deg);
|
|
width: 33px;
|
|
}
|
|
|
|
th.ci-test-title > div > span
|
|
{
|
|
border-bottom: 1px solid #aaa;
|
|
padding: 0;
|
|
border:none;
|
|
}
|
|
|
|
/*tr { display: block; width: 100%; }*/
|
|
th, td { display: block; border: none; padding; 0px;float: left; height:33px; width: 33px; margin: 5px; }
|
|
|
|
th.ci-branch-name, td.ci-branch-name { text-align: center; width:130px; padding-top:9px !important; }
|
|
td.ci-test-result > div { position:relative; background-color: #bdc3c7; border-radius:5px; width: 100%; height:100%;}
|
|
td.ci-test-result { text-align:center; }
|
|
|
|
td.ci-test-result > div.success { background-color: rgb(46,204,113); }
|
|
td.ci-test-result > div.danger { background-color: rgb(225,80,62); }
|
|
|
|
.table > thead > tr > th { border : none; }
|
|
.table > tbody > tr > td { border : none; }
|
|
|
|
.canvasjs-chart-credit { display: none; }
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<div class="bs-docs-section">
|
|
|
|
<div class="row text-center">
|
|
<h2>{{ data.appname }}</h2>
|
|
</div>
|
|
<div class="row">
|
|
<div id="app-test-results">
|
|
<div>
|
|
<table class="table table-responsive apps">
|
|
<thead>
|
|
<tr>
|
|
<th class="ci-branch-name"><div></div></th>
|
|
<th class="ci-test-title"><div>Level</div></th>
|
|
{% for test in data.tests %}
|
|
<th class="ci-test-title"><div><span>{{ test }}</span></div></th>
|
|
{% endfor %}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for ci_branch_id, ci_branch_name in data.ci_branches %}
|
|
<tr id="ci-branch-{{ ci_branch_id }}">
|
|
<td class="ci-branch-name"><div title="CI Branch"><strong>{{ ci_branch_name }}</strong></div></td>
|
|
{% if data.results[ci_branch_id] %}
|
|
<td><div title="Level"><strong>{{ data.results[ci_branch_id]["level"] }}</strong></div></td>
|
|
{% for test in data.tests %}
|
|
<td class="ci-test-result">
|
|
<div title="{{ test }}" class="{{ data.result_to_class[data.results[ci_branch_id]["tests"][test]] }}"></div>
|
|
</td>
|
|
{% endfor %}
|
|
{% else %}
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script src="../../js/jquery-2.1.3.min.js"></script>
|
|
<script src="../../js/bootstrap.min.js"></script>
|
|
|
|
</body>
|
|
</html>
|