forked from aurelien.plancke/ScodocTestClient
84 lines
3.5 KiB
HTML
84 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Unittest Results</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<h2 class="text-capitalize">Unittest Results</h2>
|
|
<p class='attribute'><strong>Start Time: </strong>2021-06-23 14:11:52</p>
|
|
<p class='attribute'><strong>Duration: </strong>56.95 s</p>
|
|
<p class='attribute'><strong>Summary: </strong>Total: 3, Pass: 3</p>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12 col-sm-10 col-md-10">
|
|
<table class='table table-hover table-responsive'>
|
|
<thead>
|
|
<tr>
|
|
<th>__main__.PythonOrgSearch</th>
|
|
<th>Status</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class='success'>
|
|
<td class="col-xs-10">test_connexion_admin</td>
|
|
<td class="col-xs-1">
|
|
<span class="label label-success" style="display:block;width:40px;">Pass</span>
|
|
</td>
|
|
<td class="col-xs-1">
|
|
</td>
|
|
</tr>
|
|
<tr class='success'>
|
|
<td class="col-xs-10">test_create_departement</td>
|
|
<td class="col-xs-1">
|
|
<span class="label label-success" style="display:block;width:40px;">Pass</span>
|
|
</td>
|
|
<td class="col-xs-1">
|
|
</td>
|
|
</tr>
|
|
<tr class='success'>
|
|
<td class="col-xs-10">test_delete_departement</td>
|
|
<td class="col-xs-1">
|
|
<span class="label label-success" style="display:block;width:40px;">Pass</span>
|
|
</td>
|
|
<td class="col-xs-1">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
Total: 3, Pass: 3 -- Duration: 56.95 s
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$('td').on('click', '.btn', function(e){
|
|
e.preventDefault();
|
|
e.stopImmediatePropagation();
|
|
var $this = $(this);
|
|
var $nextRow = $this.closest('tr').next('tr');
|
|
$nextRow.slideToggle("fast");
|
|
$this.text(function(i, text){
|
|
if (text === 'View') {
|
|
return 'Hide';
|
|
} else {
|
|
return 'View';
|
|
};
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html |