Updated readme and spacing for columns on gas table.
This commit is contained in:
10
README.md
10
README.md
@@ -16,11 +16,11 @@ Because nobody should have to deal with a homemade spreadsheet or a shoebox full
|
|||||||
## Docker Setup (Recommended)
|
## Docker Setup (Recommended)
|
||||||
1. Install Docker
|
1. Install Docker
|
||||||
2. Clone this repo
|
2. Clone this repo
|
||||||
2.5 CHECK culture in Dockerfile, default is en_US
|
3. CHECK culture in Dockerfile, default is en_US
|
||||||
3. Run `docker build -t lubelogger -f Dockerfile .`
|
4. Run `docker build -t lubelogger -f Dockerfile .`
|
||||||
4. CHECK docker-compose.yml and make sure the mounting directories look correct.
|
5. CHECK docker-compose.yml and make sure the mounting directories look correct.
|
||||||
5. If not using traefik, use docker-compose-notraefik.yml
|
6. If not using traefik, use docker-compose-notraefik.yml
|
||||||
5. Run `docker-compose up`
|
7. Run `docker-compose up`
|
||||||
|
|
||||||
## Additional Docker Instructions
|
## Additional Docker Instructions
|
||||||
|
|
||||||
|
|||||||
@@ -53,9 +53,9 @@
|
|||||||
<th scope="col" class="col-2">Date Refueled</th>
|
<th scope="col" class="col-2">Date Refueled</th>
|
||||||
<th scope="col" class="col-2">Odometer(@(useMPG ? "mi." : "km"))</th>
|
<th scope="col" class="col-2">Odometer(@(useMPG ? "mi." : "km"))</th>
|
||||||
<th scope="col" class="col-2">Consumption(@(consumptionUnit))</th>
|
<th scope="col" class="col-2">Consumption(@(consumptionUnit))</th>
|
||||||
<th scope="col" class="col-2">Fuel Economy(@(fuelEconomyUnit))</th>
|
<th scope="col" class="col-4">Fuel Economy(@(fuelEconomyUnit))</th>
|
||||||
<th scope="col" class="col-2">Cost</th>
|
<th scope="col" class="col-1">Cost</th>
|
||||||
<th scope="col" class="col-2">Unit Cost</th>
|
<th scope="col" class="col-1">Unit Cost</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -65,9 +65,9 @@
|
|||||||
<td class="col-2">@gasRecord.Date</td>
|
<td class="col-2">@gasRecord.Date</td>
|
||||||
<td class="col-2">@gasRecord.Mileage</td>
|
<td class="col-2">@gasRecord.Mileage</td>
|
||||||
<td class="col-2">@gasRecord.Gallons.ToString("F")</td>
|
<td class="col-2">@gasRecord.Gallons.ToString("F")</td>
|
||||||
<td class="col-2">@(gasRecord.MilesPerGallon == 0 ? "---" : gasRecord.MilesPerGallon.ToString("F"))</td>
|
<td class="col-4">@(gasRecord.MilesPerGallon == 0 ? "---" : gasRecord.MilesPerGallon.ToString("F"))</td>
|
||||||
<td class="col-2">@gasRecord.Cost.ToString("C")</td>
|
<td class="col-1">@gasRecord.Cost.ToString("C")</td>
|
||||||
<td class="col-2">@gasRecord.CostPerGallon.ToString("C")</td>
|
<td class="col-1">@gasRecord.CostPerGallon.ToString("C")</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user