move to sdk8
This commit is contained in:
parent
80fa4e2c09
commit
6201ad4f56
11 changed files with 302 additions and 26 deletions
|
@ -21,9 +21,9 @@
|
|||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><i class="bi-pin-map"></i></th>
|
||||
<th scope="col"><i class="bi-info-lg"></i></th>
|
||||
<th scope="col"><i class="bi-exclamation-lg"></i></th>
|
||||
<th scope="col"><i class="bi-pin-map-fill"></i></th>
|
||||
<th scope="col"><i class="bi-info-square"></i></th>
|
||||
<th scope="col"><i class="bi-exclamation-diamond"></i></th>
|
||||
<th scope="col">Navn</th>
|
||||
<th scope="col">Konto</th>
|
||||
<th scope="col">Tlf</th>
|
||||
|
|
|
@ -16,24 +16,29 @@
|
|||
@using Wonky.Entity.Configuration
|
||||
@using Microsoft.Extensions.Options
|
||||
|
||||
@if (_app!.Rc)
|
||||
{
|
||||
<div class="badge text-bg-warning mx-2 pt-2">RC</div>
|
||||
}
|
||||
|
||||
@if (_production)
|
||||
{
|
||||
<div class="badge text-bg-success mx-3">v.@_app?.Version</div>
|
||||
<div class="badge text-bg-success mx-2 pt-2">build v.@_app?.Version</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="badge text-bg-info mx-3">v.@_app?.Version</div>
|
||||
<div class="badge text-bg-info mx-2 pt-2">build v.@_app?.Version</div>
|
||||
}
|
||||
|
||||
@if (_app!.Rc)
|
||||
{
|
||||
<div class="badge text-bg-warning mx-3">RC</div>
|
||||
}
|
||||
<div class="badge text-bg-info mx-2 pt-2">@_app!.Sdk</div>
|
||||
|
||||
@*
|
||||
@if (_app!.Sandbox)
|
||||
{
|
||||
<div class="badge text-bg-danger mx-3">EDU DEMO</div>
|
||||
<div class="badge text-bg-danger mx-2 pt-2">EDU SANDKASSE</div>
|
||||
}
|
||||
*@
|
||||
|
||||
@code
|
||||
{
|
||||
[Inject] IOptions<AppInfo?>? AppInfo { get; set; }
|
||||
|
|
|
@ -24,6 +24,22 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<i class="bi-pin-map-fill"></i>
|
||||
</td>
|
||||
<td>
|
||||
Besøg status
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<i class="bi-info-square"></i>
|
||||
</td>
|
||||
<td>
|
||||
Org. Nr. status
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="align-middle">
|
||||
<i class="bi-exclamation-diamond i-larger"></i>
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<LangVersion>latestmajor</LangVersion>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Blazored.LocalStorage" Version="4.3.0" />
|
||||
<PackageReference Include="Blazored.Toast" Version="4.1.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="7.0.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components" Version="7.0.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="7.0.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.7" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="8.0.0-preview.5.23302.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.0-preview.5.23302.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="8.0.0-preview.5.23302.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0-preview.5.23302.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0-preview.5.23302.2" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0-preview.5.23280.8" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0-preview.5.23280.8" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="8.0.0-preview.5.23280.8" />
|
||||
<PackageReference Include="Toolbelt.Blazor.HttpClientInterceptor" Version="10.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
@ -4,12 +4,13 @@
|
|||
"version": "171.0",
|
||||
"rc": true,
|
||||
"sandBox": true,
|
||||
"image": "grumpy-coder.png"
|
||||
"image": "grumpy-coder.png",
|
||||
"sdk": "dotnet 8.0 LTS"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "None",
|
||||
"System": "None",
|
||||
"Default": "Debug",
|
||||
"System": "Debug",
|
||||
"Microsoft": "None"
|
||||
},
|
||||
"Debug": {
|
||||
|
@ -19,7 +20,7 @@
|
|||
}
|
||||
},
|
||||
"apiConfig": {
|
||||
"baseUrl": "https://dev.innotec.dk",
|
||||
"baseUrl": "https://eta.innotec.dk",
|
||||
"catalog": "api/v2/catalog/country",
|
||||
"crmCustomers": "api/v2/crm/companies",
|
||||
"crmInventoryExt": "history/inventory",
|
||||
|
|
252
Wonky.Client/wwwroot/css/20230607.css
Normal file
252
Wonky.Client/wwwroot/css/20230607.css
Normal file
|
@ -0,0 +1,252 @@
|
|||
body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.draft-expires-msg {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.busy-signal {
|
||||
float: right;
|
||||
z-index: 100;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
right: 10px;
|
||||
}
|
||||
.workDate {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.action-link-element {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.i-larger {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.btn.btn-edit {
|
||||
color: #030303;
|
||||
background-color: #a2a2ec;
|
||||
}
|
||||
|
||||
html, body {
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
h1,h2:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a, .btn-link {
|
||||
color: #0071c1;
|
||||
}
|
||||
|
||||
/*.btn-primary {*/
|
||||
/* color: #fff;*/
|
||||
/* background-color: #1b6ec2;*/
|
||||
/* border-color: #1861ac;*/
|
||||
/*}*/
|
||||
|
||||
.inno {
|
||||
color: #ffaa00;
|
||||
}
|
||||
|
||||
.inno-display {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.inno-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 1.1rem;
|
||||
}
|
||||
|
||||
.valid.modified:not([type=checkbox]) {
|
||||
outline: 1px solid #26b050;
|
||||
}
|
||||
|
||||
.invalid {
|
||||
outline: 1px solid red;
|
||||
}
|
||||
|
||||
.validation-message {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/* begin state elements */
|
||||
.state {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
}
|
||||
.the-good {
|
||||
color: green;
|
||||
}
|
||||
.the-bad {
|
||||
color: orange;
|
||||
}
|
||||
.the-ugly {
|
||||
color: red;
|
||||
}
|
||||
.the-dead {
|
||||
color: black;
|
||||
}
|
||||
.the-fast {
|
||||
color: orange;
|
||||
}
|
||||
.the-draw {
|
||||
color: mediumpurple;
|
||||
}
|
||||
.the-good-bg {
|
||||
background-color: green;
|
||||
}
|
||||
.the-bad-bg {
|
||||
background-color: orange;
|
||||
}
|
||||
.the-ugly-bg {
|
||||
background-color: red;
|
||||
}
|
||||
.the-draw-bg {
|
||||
background-color: mediumpurple;
|
||||
}
|
||||
.no-vat-bg {
|
||||
background-color: lightskyblue;
|
||||
}
|
||||
.the-dead-bg {
|
||||
background-color: black;
|
||||
}
|
||||
/* end state elements */
|
||||
|
||||
/* led elements */
|
||||
.led-box {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
margin: auto;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.led-red {
|
||||
margin: 5px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-color: #F00;
|
||||
border-radius: 50%;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
|
||||
-webkit-animation: blinkRed 0.5s infinite;
|
||||
-moz-animation: blinkRed 0.5s infinite;
|
||||
-ms-animation: blinkRed 0.5s infinite;
|
||||
-o-animation: blinkRed 0.5s infinite;
|
||||
animation: blinkRed 0.5s infinite;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes blinkRed {
|
||||
from { background-color: #F00; }
|
||||
50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
|
||||
to { background-color: #F00; }
|
||||
}
|
||||
@-moz-keyframes blinkRed {
|
||||
from { background-color: #F00; }
|
||||
50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
|
||||
to { background-color: #F00; }
|
||||
}
|
||||
@-ms-keyframes blinkRed {
|
||||
from { background-color: #F00; }
|
||||
50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
|
||||
to { background-color: #F00; }
|
||||
}
|
||||
@-o-keyframes blinkRed {
|
||||
from { background-color: #F00; }
|
||||
50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
|
||||
to { background-color: #F00; }
|
||||
}
|
||||
@keyframes blinkRed {
|
||||
from { background-color: #F00; }
|
||||
50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
|
||||
to { background-color: #F00; }
|
||||
}
|
||||
|
||||
.led-yellow {
|
||||
margin: 0 auto;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-color: #FF0;
|
||||
border-radius: 50%;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 12px;
|
||||
-webkit-animation: blinkYellow 1s infinite;
|
||||
-moz-animation: blinkYellow 1s infinite;
|
||||
-ms-animation: blinkYellow 1s infinite;
|
||||
-o-animation: blinkYellow 1s infinite;
|
||||
animation: blinkYellow 1s infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes blinkYellow {
|
||||
from { background-color: #FF0; }
|
||||
50% { background-color: #AA0; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0; }
|
||||
to { background-color: #FF0; }
|
||||
}
|
||||
@-moz-keyframes blinkYellow {
|
||||
from { background-color: #FF0; }
|
||||
50% { background-color: #AA0; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0; }
|
||||
to { background-color: #FF0; }
|
||||
}
|
||||
@-ms-keyframes blinkYellow {
|
||||
from { background-color: #FF0; }
|
||||
50% { background-color: #AA0; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0; }
|
||||
to { background-color: #FF0; }
|
||||
}
|
||||
@-o-keyframes blinkYellow {
|
||||
from { background-color: #FF0; }
|
||||
50% { background-color: #AA0; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0; }
|
||||
to { background-color: #FF0; }
|
||||
}
|
||||
@keyframes blinkYellow {
|
||||
from { background-color: #FF0; }
|
||||
50% { background-color: #AA0; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0; }
|
||||
to { background-color: #FF0; }
|
||||
}
|
||||
|
||||
.led-green {
|
||||
margin: 0 auto;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-color: #ABFF00;
|
||||
border-radius: 50%;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
|
||||
}
|
||||
|
||||
.led-blue {
|
||||
margin: 0 auto;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-color: #24E0FF;
|
||||
border-radius: 50%;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #006 0 -1px 9px, #3F8CFF 0 2px 14px;
|
||||
}
|
||||
/* end led elements */
|
||||
|
||||
.footer {
|
||||
border-top: 2px solid orange;
|
||||
position: relative;
|
||||
margin-top: -150px;
|
||||
height: 150px;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
footer.version {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
padding: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
bottom: 25px;
|
||||
right: 25px;
|
||||
display: none;
|
||||
}
|
|
@ -42,4 +42,6 @@ public class AppInfo
|
|||
/// Sandbox version
|
||||
/// </summary>
|
||||
public bool Sandbox { get; set; }
|
||||
|
||||
public string Sdk { get; set; } = "";
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "7.0.0",
|
||||
"version": "8.0.0",
|
||||
"rollForward": "latestMajor",
|
||||
"allowPrerelease": false
|
||||
"allowPrerelease": true
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue