Sicherung

This commit is contained in:
Stephan Maier
2024-10-21 13:49:10 +02:00
parent 0e9bd0d7aa
commit 59d8b7e32c
12 changed files with 61 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "8.0.10",
"commands": [
"dotnet-ef"
]
}
}
}

View File

@@ -28,8 +28,4 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\lib\datatable\" />
</ItemGroup>
</Project>

View File

@@ -54,6 +54,7 @@
$(document).ready(function () {
$("#dtMain").DataTable({
dom: "Blfrtip",
pageLength: 25,
buttons: [
{
text: "<i class='bi bi-plus-square'></i> Neu",

View File

@@ -80,6 +80,7 @@
$(document).ready(function () {
$("#dtMain").DataTable({
dom: "Blfrtip",
pageLength: 25,
buttons: [
{
text: "<i class='bi bi-plus-square'></i> Neu",

View File

@@ -99,6 +99,7 @@
$(document).ready(function () {
$("#dtMain").DataTable({
dom: "Blfrtip",
pageLength: 25,
buttons: [
{
text: "<i class='bi bi-plus-square'></i> Neu",

View File

@@ -82,6 +82,7 @@
$(document).ready(function () {
$("#dtMain").DataTable({
dom: "Blfrtip",
pageLength: 25,
buttons: [
{
text: "<i class='bi bi-plus-square'></i> Neu",

View File

@@ -1,25 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - FSI.BT.IR.Plc.Settings.Log</title>
<title>FSI - @ViewData["Title"]</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/FSI.BT.IR.Plc.Settings.Log.styles.css" asp-append-version="true" />
<link rel="shortcut icon" href="~/logo_klein.ico" />
<link href="~/lib/bootstrap/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet" />
<link href="~/lib/bootstrap/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet" />
<link href="~/lib/datatable/datatables.css" rel="stylesheet" />
<link href="~/lib/datatable/datatables.min.css" rel="stylesheet" />
</head>
<body>
<body data-bs-theme="dark">
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container-fluid">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">FSI.BT.IR.Plc.Settings.Log</a>
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Parameter aus SPS sichern/dokumentieren</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
@@ -28,7 +30,7 @@
<ul class="navbar-nav flex-grow-1">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li>
</li>
<li>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dbmManage" data-bs-toggle="dropdown" aria-expanded="false">
@@ -44,6 +46,7 @@
</ul>
<!-- <partial name="_LoginPartial" /> -->
</div>
<img src="~/logo.png" height="50" />
</div>
</nav>
</header>
@@ -66,11 +69,40 @@
</div>
</div>
<div class="form-check form-switch mx-4">
<input
class="form-check-input p-2"
type="checkbox"
role="switch"
id="flexSwitchCheckChecked"
checked
onclick="myFunction()"
/>
</div>
<footer class="border-top footer text-muted">
<div class="container">
&copy; 2024 - FSI.BT.IR.Plc.Settings.Log - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</div>
</footer>
<script>
function myFunction() {
var element = document.body;
element.dataset.bsTheme =
element.dataset.bsTheme == "light" ? "dark" : "light";
}
function stepFunction(event) {
debugger;
var element = document.getElementsByClassName("collapse");
for (var i = 0; i < element.length; i++) {
if (element[i] !== event.target.ariaControls) {
element[i].classList.remove("show");
}
}
}
</script>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>

View File

@@ -9,6 +9,14 @@
{
"library": "bootstrap-icons@1.11.3",
"destination": "wwwroot/lib/bootstrap/bootstrap-icons/"
},
{
"library": "font-awesome@6.6.0",
"destination": "wwwroot/lib/font-awesome/"
},
{
"library": "bootstrap-dark-mode@1.0.2",
"destination": "wwwroot/lib/bootstrap-dark-mode/"
}
]
}

View File

@@ -33,7 +33,6 @@ jQueryAjaxPost = form => {
processData: false,
success: function (res) {
if (res.isValid) {
$("#form-modal .modal-body").html('');
$("#form-modal .modal-title").html('');
$("#form-modal").modal("hide");

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B