Skip to content

Commit

Permalink
refactor: final heading updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjoshi46b committed Apr 22, 2022
1 parent 3dafa86 commit 41a8813
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions main/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,25 +189,25 @@ <h5 class="modal-title" id="myModalLabel">Result</h5>
</div>
<div class="modal-body">
<table class="table table-striped">
<thead>
<thead style="text-align: center;">
<tr>
<th scope="col"></th>
<th scope="col">Actual</th>
<th scope="col">Suggested by COCOMO Basic Model</th>
<th scope="col">COCOMO Basic Model</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Time (months)</th>
<td>{{ time }}</td>
<td>{{ result.1|floatformat:2 }}</td>
<td style="text-align: center;">{{ time }}</td>
<td style="text-align: center;">{{ result.1|floatformat:2 }}</td>
</tr>
<tr>
<th scope="row">Number of Persons</th>
<td>
<td style="text-align: center;">
{{ persons }}
</td>
<td>
<td style="text-align: center;">
{{ result.2 }}
</td>
</tr>
Expand All @@ -217,10 +217,10 @@ <h5 class="modal-title" id="myModalLabel">Result</h5>
<b>KLOC: </b>{{ result.0|floatformat:2 }}
</p>
<p>
<b>Time Efficiency: </b>{{ result.3 }}%
<b>Time Inefficiency: </b>{{ result.3 }}%
</p>
<p>
<b>Persons Efficiency: </b>{{ result.4 }}%
<b>Persons Inefficiency: </b>{{ result.4 }}%
</p>
<p style="color: red; text-align: center;">As per the results of basic cocomo model, the time
alloted on the project could have been improved by <b>{{ result.3 }}%</b>, the number of person
Expand Down

0 comments on commit 41a8813

Please sign in to comment.