Compare commits
2 Commits
7725bdb159
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| aa82ee542c | |||
| 2f3047d432 |
@@ -6,8 +6,13 @@ WORKDIR /src
|
||||
COPY MoneyMap.csproj .
|
||||
RUN dotnet restore
|
||||
|
||||
# Install libman CLI for client-side library restore
|
||||
RUN dotnet tool install -g Microsoft.Web.LibraryManager.Cli
|
||||
ENV PATH="${PATH}:/root/.dotnet/tools"
|
||||
|
||||
# Copy everything else and build
|
||||
COPY . .
|
||||
RUN libman restore
|
||||
RUN dotnet publish -c Release -o /app/publish
|
||||
|
||||
# Runtime stage
|
||||
|
||||
@@ -117,6 +117,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row g-3 my-2">
|
||||
@if (Model.TopCategories.Count > 1)
|
||||
{
|
||||
<div class="col-lg-6">
|
||||
<div class="card shadow-sm h-100">
|
||||
<div class="card-header">Spending by category (last 90 days)</div>
|
||||
@@ -125,7 +127,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
}
|
||||
<div class="@(Model.TopCategories.Count > 1 ? "col-lg-6" : "col-lg-12")">
|
||||
<div class="card shadow-sm h-100">
|
||||
<div class="card-header">Net cash flow (last 30 days)</div>
|
||||
<div class="card-body">
|
||||
@@ -206,7 +209,7 @@
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (Model.TopCategories.Any())
|
||||
@if (Model.TopCategories.Count > 1)
|
||||
{
|
||||
<div class="card shadow-sm mb-3">
|
||||
<div class="card-header">
|
||||
|
||||
Reference in New Issue
Block a user