small adjustments for production

This commit is contained in:
Frede Hundewadt 2022-07-04 10:50:14 +02:00
parent d9a538ae90
commit 5582c1439f
8 changed files with 43 additions and 51 deletions

View file

@ -15,7 +15,7 @@
//
*@
<table class="table table-bordered table-striped d-print-table">
<table class="table table-sm table-bordered table-striped d-print-table">
<thead>
<tr class="bg-dark text-white opacity-75 border-bottom">
<th></th>

View file

@ -1,10 +1,8 @@
@using Wonky.Entity.Views
<div class="alert alert-light">
<h2 class="text-center">Ordre @ReportItem.OrderDate</h2>
</div>
<h2 class="text-center">Ordre @ReportItem.OrderDate</h2>
<table class="table table-striped table-bordered d-print-table">
<table class="table table-sm table-striped table-bordered d-print-table">
<tbody>
<tr>
<th scope="row">EOrdre nr.</th>
@ -51,10 +49,8 @@
</tbody>
</table>
<div class="alert alert-light">
<h3 class="text-center">Varer</h3>
</div>
<table class="table table-striped table-bordered d-print-table">
<h3 class="text-center">Varer</h3>
<table class="table table-sm table-striped table-bordered d-print-table">
<thead>
<tr>
<th scope="col">Antal</th>

View file

@ -15,7 +15,7 @@
//
*@
<table class="table table-bordered table-striped d-print-table">
<table class="table table-sm table-bordered table-striped d-print-table">
<thead>
<tr class="bg-dark text-white opacity-75 border-bottom">
<th colspan="3">

View file

@ -22,25 +22,23 @@
@if (Report != null)
{
<div class="report-page d-print-block">
<div class="report-page d-print-table">
<PageTitle>@Report.ReportData.Name</PageTitle>
<div class="alert alert-dark">
<div class="row">
<div class="col-md-6 d-print-none align-content-center">
@if (!string.IsNullOrWhiteSpace(ReportDate))
{
<h2 class="workDate">@DateTime.Parse(ReportDate).ToLongDateString()</h2>
}
</div>
<div class="col col-md-4 d-print-none align-content-center">
<WorkDateComponent SelectedDate="@ReportDate" OnChanged="GetReport"></WorkDateComponent>
</div>
<div class="col col-md-1 d-print-none align-content-center">
<button class="btn btn-warning" type="button" onclick="window.print();">Print</button>
</div>
<div class="col d-none d-print-block text-end align-content-center">
<h2>@Report.ReportData.Name</h2>
</div>
<div class="row">
<div class="col-md-6 d-print-none align-content-center">
@if (!string.IsNullOrWhiteSpace(ReportDate))
{
<h3 class="workDate">@DateTime.Parse(ReportDate).ToLongDateString()</h3>
}
</div>
<div class="col col-md-4 d-print-none align-content-center">
<WorkDateComponent SelectedDate="@ReportDate" OnChanged="GetReport"></WorkDateComponent>
</div>
<div class="col col-md-1 d-print-none align-content-center">
<button class="btn btn-warning" type="button" onclick="window.print();">Print</button>
</div>
<div class="col d-none d-print-block text-center align-content-center">
<h3>@Report.ReportData.Name</h3>
</div>
</div>
<div class="row">
@ -55,7 +53,7 @@
<ReportActivityLedgerComponent ReportData="Report.ReportData"></ReportActivityLedgerComponent>
</div>
<div class="page-break d-block d-print-block"></div>
@* <div class="page-break d-block d-print-block"></div> *@
@if (_items.Any())
{

View file

@ -24,23 +24,21 @@
{
<div class="report-page d-block d-print-block">
<PageTitle>@_report.ReportData.Name</PageTitle>
<div class="alert alert-dark">
<div class="row">
<div class="col-md-6 d-print-none align-content-center">
@if (!string.IsNullOrWhiteSpace(ReportDate))
{
<h2 class="workDate">@DateTime.Parse(ReportDate).ToLongDateString()</h2>
}
</div>
<div class="col col-md-4 d-print-none align-content-center">
<WorkDateComponent SelectedDate="@ReportDate" OnChanged="GetReport"></WorkDateComponent>
</div>
<div class="col col-md-1 d-print-none align-content-center">
<button class="btn btn-warning" type="button" onclick="window.print();">Print</button>
</div>
<div class="col d-none d-print-block text-end align-content-center">
<h2>@_report.ReportData.Name</h2>
</div>
<div class="row">
<div class="col-md-6 d-print-none align-content-center">
@if (!string.IsNullOrWhiteSpace(ReportDate))
{
<h3 class="workDate">@DateTime.Parse(ReportDate).ToLongDateString()</h3>
}
</div>
<div class="col col-md-4 d-print-none align-content-center">
<WorkDateComponent SelectedDate="@ReportDate" OnChanged="GetReport"></WorkDateComponent>
</div>
<div class="col col-md-1 d-print-none align-content-center">
<button class="btn btn-warning" type="button" onclick="window.print();">Print</button>
</div>
<div class="col d-none d-print-block text-center align-content-center">
<h3>@_report.ReportData.Name</h3>
</div>
</div>
<div class="row">
@ -62,7 +60,7 @@
</div>
</div>
</div>
<div class="page-break d-block d-print-block"></div>
@* <div class="page-break d-block d-print-block"></div> *@
}
else
{

View file

@ -1,12 +1,12 @@
{
"appInfo": {
"name": "Wonky Client",
"version": "0.8.115",
"version": "0.8.118",
"isBeta": true,
"image": "grumpy-coder.png"
},
"apiConfig": {
"innoBaseUrl": "https://staging.innotec.dk",
"innoBaseUrl": "https://production.innotec.dk",
"glsTrackUrl": "https://www.gls-group.eu/276-I-PORTAL-WEB/content/GLS/DK01/DA/5004.htm?txtAction=71000&txtRefNo=",
"glsId": "",
"virkUrl": "api/v2/services/virk",

View file

@ -19,7 +19,7 @@
.report-page {
page-break-after: always;
height: initial;
font-size: 0.8em;
font-size: 10px;
border: initial;
border-radius: initial;
box-shadow: initial;

View file

@ -21,7 +21,7 @@
<link href="css/app.css" rel="stylesheet" />
<link href="Wonky.Client.styles.css" rel="stylesheet" />
<link href="_content/Blazored.Toast/blazored-toast.min.css" rel="stylesheet" />
<link href="css/report-print-10.css" rel="stylesheet" />
<link href="css/report-print-21.css" rel="stylesheet" />
</head>
<body>
<div id="app">