mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Applies miscellaneous configuration and UI fixes
This commit is contained in:
1 parent
a7c742d681
commit
e0064a56f9
6 files changed
+6
-5
No files matched your search
@@ -76,6 +76,7 @@ dotnet_style_readonly_field = true:error
|
||||
|
||||
# Parameter preferences
|
||||
dotnet_code_quality_unused_parameters = all:suggestion
|
||||
dotnet_diagnostic.CA1859.severity = none
|
||||
|
||||
# Strings
|
||||
csharp_style_prefer_string_interpolation = true:suggestion
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.0" />
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
|
||||
<PackageReference Include="System.IO.Abstractions" Version="21.1.3" />
|
||||
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="5.0.0" />
|
||||
<PackageReference Include="Mediator.Abstractions" Version="3.0.0-preview.27" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"MinimumLevel": {
|
||||
"Default": "Information",
|
||||
"Override": {
|
||||
"Microsoft.EntityFrameworkCore.Database.Command": "Debug"
|
||||
"Microsoft.EntityFrameworkCore.Database.Command": "Warning"
|
||||
}
|
||||
},
|
||||
"Enrich": [
|
||||
|
||||
+1
@@ -95,6 +95,7 @@ public class LibraryManagementController : Controller
|
||||
[RequirePermission(AuthorizationPermission.CanCreateLibraries)]
|
||||
public async Task<IActionResult> SaveLibrary([FromBody] LibraryModel data, CancellationToken cancellationToken)
|
||||
{
|
||||
// TODO: 1. this also needs to send the image files themselves to the API, since the server could be remote; for now, it assumes local paths which it can later read, which works only if the server is local too
|
||||
// call different API endpoints based on whether this is a new library or an existing one
|
||||
LibraryModel response = data.Id.HasValue
|
||||
? await _apiHttpClient.PutAsync<LibraryModel, LibraryModel>($"libraries/{data.Id}", data, cancellationToken).ConfigureAwait(false)
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
height: 100%;
|
||||
background-color: #000000;
|
||||
opacity: 0.6;
|
||||
z-index: 1998;
|
||||
z-index: 998;
|
||||
}
|
||||
|
||||
.dialog-container {
|
||||
display: none;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
@@ -107,7 +107,7 @@ main {
|
||||
#modal-background-article {
|
||||
display: none;
|
||||
z-index: 998;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
min-width: 100%;
|
||||
|
||||
Reference in new issue
Block a user