Skip to content

Commit

Permalink
UI Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
asurendra authored and asurendra committed Feb 19, 2016
1 parent 50024a5 commit 329f75d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/public/css/extensioncord.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ body {
padding: 0 0 60px;
}

.wrap-table{
table-layout: fixed;
word-wrap: break-word;
}

/* Set the fixed height of the footer here */
#footer {
height: 60px;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/search.ftl.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ <h3>Search Testcase</h3>
<#if testCaseLst??>
<div class="row">
<div class="col-md-12">
<table id="testcase-ele" class="table table-striped table-bordered" width="100%" cellspacing="0">
<table id="testcase-ele" class="table table-striped table-bordered wrap-table" width="100%" cellspacing="0">
<thead>
<tr>
<th>Id</th>
<th width="5%">Id</th>
<th>Details</th>
</tr>
</thead>
Expand Down
16 changes: 6 additions & 10 deletions src/main/resources/templates/testplan_run.ftl.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ <h3>Run Test Plan</h3>
<tr>
<th><input type="checkbox" id="checkAll"/> </th>
<th>Test Id</th>
<th>Test Details</th>
<th>Comments</th>
<th>Details</th>
<th>By</th>
<th>Status</th>
</tr>
Expand Down Expand Up @@ -87,15 +86,13 @@ <h3>Run Test Plan</h3>
<br/>
Run On:
<#if trMap[tc.id?c]??>${trMap[tc.id?c].timestamp}</#if>
<br/><br/>
<b>Comments:</b>
<br/>
</td>
<td>
Comments
<input type="text" class="form-control" name="tcomments_${tc.id?c}" maxlength="90" size="90" value="<#if trMap[tc.id?c]??>${trMap[tc.id?c].note}</#if>"/>
<br/>
<input type="text" class="form-control" name="tcomments_${tc.id?c}" maxlength="90" size="45" value="<#if trMap[tc.id?c]??>${trMap[tc.id?c].note}</#if>"/>
<br/>
<br/>
Bug
<b>Bug:</b>
<br/>
<input type="text" class="form-control" name="tbug_${tc.id?c}" maxlength="45" size="45" value="<#if trMap[tc.id?c]??>${trMap[tc.id?c].bugTicket}</#if>"/>
</td>
Expand All @@ -119,14 +116,13 @@ <h3>Run Test Plan</h3>
</td>
</tr>
<tr>
<td colspan="6">
<td colspan="5">
<div id="tcstep_${tc.id?c}"></div>
</td>
<td style="display: none;"></td>
<td style="display: none;"></td>
<td style="display: none;"></td>
<td style="display: none;"></td>
<td style="display: none;"></td>
</tr>
</#list>
</#if>
Expand Down

0 comments on commit 329f75d

Please sign in to comment.