Improve AppCI dashboard (app anchor, title tooltip).

This commit is contained in:
opi 2017-09-01 20:12:09 +02:00
parent 474ab2dea5
commit 59b9f9eb88

View file

@ -3,7 +3,7 @@
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8"> <meta charset="utf-8">
<title>Bootstrap Skin: Eden</title> <title>Apps CI Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
@ -18,7 +18,7 @@
{ {
margin-left:auto; margin-left:auto;
margin-right:auto; margin-right:auto;
width:1000px; /*width:1000px;*/
} }
.navbar-holder-dark{ .navbar-holder-dark{
padding: 20px 20px 200px 20px; padding: 20px 20px 200px 20px;
@ -50,7 +50,7 @@
border:none; border:none;
} }
tr { display: block; width: 100%; } /*tr { display: block; width: 100%; }*/
th, td { display: block; border: none; padding; 0px;float: left; height:33px; width: 33px; margin: 5px; } th, td { display: block; border: none; padding; 0px;float: left; height:33px; width: 33px; margin: 5px; }
th.appname, td.appname { text-align: center; width:130px; padding-top:9px !important; } th.appname, td.appname { text-align: center; width:130px; padding-top:9px !important; }
@ -76,21 +76,21 @@
<div> <div>
<table class="table table-responsive apps"> <table class="table table-responsive apps">
<thead> <thead>
<tr> <tr>
<th class="appname"><div></div></th> <th class="appname"><div></div></th>
<th class="testname"><div>Level</div></th> <th class="testname"><div>Level</div></th>
{% for testname in data.testnames %} {% for testname in data.testnames %}
<th class="testname"><div><span>{{ testname }}</span></div></th> <th class="testname"><div><span>{{ testname }}</span></div></th>
{% endfor %} {% endfor %}
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for app in data.apps %} {% for app in data.apps %}
<tr> <tr id="{{ app.name }}">
<td class="appname"><div><strong>{{ app.name }}</strong></div></td> <td class="appname"><div title="App name"><strong>{{ app.name }}</strong></div></td>
<td><div><strong>{{ app.level }}</strong></div></td> <td class="applevel"><div title="level"><strong>{{ app.level }}</strong></div></td>
{% for status in app.statuses %} {% for status in app.statuses %}
<td class="appstatus"><div class="{{ status }}"></div></td> <td class="appstatus"><div title="{{ data.testnames[loop.index] }}" class="{{ status }}"></div></td>
{% endfor %} {% endfor %}
</tr> </tr>
{% endfor %} {% endfor %}