Skip to content

Commit

Permalink
search on run history
Browse files Browse the repository at this point in the history
  • Loading branch information
gitorko committed Feb 18, 2016
1 parent d836121 commit 1dc8511
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/main/resources/public/js/custom/testplan_history.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$(document).ready(function () {

$('#testhistory-ele').DataTable({
"bPaginate": false
});

});
5 changes: 4 additions & 1 deletion src/main/resources/templates/testplan_history.ftl.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<#import "layouts/main-layout.ftl.html" as main>
<@main.page>
<script src="js/custom/testplan_history.js"></script>
<div class="container-fluid">
<div class="row">
<div class="col-md-12 text-center">
Expand All @@ -9,11 +10,12 @@ <h3>Test Plan Execution History</h3>
</div>
<div class="row">
<div class="col-md-12">
<table class="table table-striped table-bordered" width="100%" cellspacing="0">
<table id="testhistory-ele" class="table table-striped table-bordered" width="100%" cellspacing="0">
<thead>
<tr>
<th>Test Case Id</th>
<th>Test Case Name</th>
<th>Product</th>
<th>Execution Date</th>
<th>Status</th>
<th>Environment</th>
Expand All @@ -28,6 +30,7 @@ <h3>Test Plan Execution History</h3>
<tr>
<td>${history.testplanTestcaseLinkId.testcaseId.id?c}</td>
<td>${history.testplanTestcaseLinkId.testcaseId.name}</td>
<td>${history.testplanTestcaseLinkId.testcaseId.product}</td>
<td>${history.timestamp}</td>
<td>${history.status}</td>
<td>${history.environment}</td>
Expand Down

0 comments on commit 1dc8511

Please sign in to comment.