mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Improve font size responsiveness, add ship size
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div id="outfit">
|
||||
|
||||
<div id="overview">
|
||||
<h1 ng-bind="ship.name"></h1>
|
||||
<h1 ng-bind="ship.name"></h1>
|
||||
<div id="build">
|
||||
<input ng-model="buildName" ng-change="bnChange()" placeholder="Enter Build Name" maxlength="50" />
|
||||
<button ng-click="saveBuild()" ng-disabled="!buildName || savedCode && code == savedCode || !canSave">
|
||||
@@ -22,8 +22,15 @@
|
||||
<table id="summary">
|
||||
<thead>
|
||||
<tr class="main">
|
||||
<th colspan="3">Maneouverability</th><th colspan="2">Mass</th><th rowspan="2">Cargo</th><th rowspan="2">Fuel</th>
|
||||
<th rowspan="2">Armour</th><th rowspan="2">Shields</th><th colspan="2">Power</th><th colspan="2">Jump Range</th><th rowspan="2">Cost</th>
|
||||
<th rowspan="2">Size</th>
|
||||
<th colspan="3">Maneouverability</th>
|
||||
<th colspan="2">Mass</th>
|
||||
<th rowspan="2">Cargo</th>
|
||||
<th rowspan="2">Fuel</th>
|
||||
<th rowspan="2">Armour</th>
|
||||
<th rowspan="2">Shields</th>
|
||||
<th colspan="2">Power</th>
|
||||
<th colspan="2">Jump Range</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Agility</th><th>Speed</th><th>Boost</th>
|
||||
@@ -34,6 +41,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td ng-bind="SZ[ship.class]"></td>
|
||||
<td>{{ship.agility}}/10</td>
|
||||
<td>{{fRound(ship.speed)}} <u>m/s</u></td>
|
||||
<td>{{fRound(ship.boost)}} <u>m/s</u></td>
|
||||
@@ -47,7 +55,6 @@
|
||||
<td>{{fPwr(ship.powerDeployed)}} <u>MW ({{fPct(ship.powerDeployed/ship.powerAvailable)}})</u></td>
|
||||
<td>{{fRound(ship.unladenJumpRange)}} <u>LY</u></td>
|
||||
<td>{{fRound(ship.ladenJumpRange)}} <u>LY</u></td>
|
||||
<td>{{fCrd(ship.totalCost)}} <u>CR</u></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user