Update styling

This commit is contained in:
2025-01-12 14:24:13 -05:00
parent d75b655bbb
commit 5f6e99185c
2 changed files with 154 additions and 60 deletions

View File

@ -44,10 +44,18 @@
<div class="flex-2">
<h2>Factor Method</h2>
Factor method:
<input type="radio" name="calcMethod" id="calcProRata" value="Pro Rata" checked="checked" onclick="calculator();" /> Pro Rata
<input type="radio" name="calcMethod" id="calcShortRate" value="Short Rate" onclick="calculator();"/> Short Rate
<br><br>
<div class="calcMethod">
<label for="calcProRata">
<input type="radio" name="calcMethod" id="calcProRata" value="Pro Rata" checked="checked" onclick="calculator();" >
<span>Pro Rata</span>
</label>
<label for="calcShortRate">
<input type="radio" name="calcMethod" id="calcShortRate" value="Short Rate" onclick="calculator();" >
<span>Short Rate</span>
</label>
</div>
<table>
<tr>
<th></th>
@ -140,6 +148,7 @@
<footer>
<ul>
<li>Created by <a href="https://haothitran.com">Hao Tran</a>.</li>
<li>View the project repository on <a href="https://forge.haothitran.com/KlazHTT/premium-calculator">Gitea</a> or <a href="https://github.com/KlazHTT/premium-calculator">Github</a>.</li>
<li>Calculations are rounded to the nearest hundredth decimal. As such, there may sometimes be issues of rounding error.</li>
<li>Although effort was made to insure the accuracy of this calculator, there is no guarantee on the accuracy of the calculations and results. This calculator is intended for personal and informational use only and does not constitute advice. </li>
</ul>