Rebuild backend target
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Workbench</title>
|
||||
|
||||
<link rel="stylesheet" href="/backend/ios.css">
|
||||
<link rel="stylesheet" href="/backend/ios.css">
|
||||
|
||||
<style>
|
||||
h1 {
|
||||
@@ -124,54 +124,58 @@
|
||||
<img src="logo.png" alt="Logo" style="height: 50px;">
|
||||
</header>
|
||||
|
||||
<div id="container">
|
||||
<nav class="touch-nav" aria-label="Workbench Navigation">
|
||||
<details class="nav-section" open>
|
||||
<summary>TR</summary>
|
||||
<button type="button" class="nav-item active" data-page="Workorder.html">
|
||||
<span>Workorder</span>
|
||||
<small>Aktivierung</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="Station.html">
|
||||
<span>Station</span>
|
||||
<small>Fertigungsbaum</small>
|
||||
</button>
|
||||
</details>
|
||||
<details class="nav-section">
|
||||
<summary>PM</summary>
|
||||
<button type="button" class="nav-item" data-page="pm_seite1.html">
|
||||
<span>Seite 1</span>
|
||||
<small>PM</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="pm_seite2.html">
|
||||
<span>Seite 2</span>
|
||||
<small>PM</small>
|
||||
</button>
|
||||
</details>
|
||||
<details class="nav-section">
|
||||
<summary>Import</summary>
|
||||
<button type="button" class="nav-item" data-page="PARTImport.html">
|
||||
<span>PART</span>
|
||||
<small>Material</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="BOMImport.html">
|
||||
<span>BOM</span>
|
||||
<small>Stueckliste</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="ErpAdd.html">
|
||||
<span>ERPGroup</span>
|
||||
<small>ERP Gruppen</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="Contacts.html">
|
||||
<span>Contacts</span>
|
||||
<small>Kontakte</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="Useradd.html">
|
||||
<span>UserImport</span>
|
||||
<small>Benutzer</small>
|
||||
</button>
|
||||
</details>
|
||||
</nav>
|
||||
<div id="container">
|
||||
<nav class="touch-nav" aria-label="Workbench Navigation">
|
||||
<details class="nav-section" open>
|
||||
<summary>TR</summary>
|
||||
<button type="button" class="nav-item active" data-page="Workorder.html">
|
||||
<span>Workorder</span>
|
||||
<small>Aktivierung</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="Station.html">
|
||||
<span>Station</span>
|
||||
<small>Fertigungsbaum</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="HistoryBooking.html">
|
||||
<span>HistoryData</span>
|
||||
<small>Historydata</small>
|
||||
</button>
|
||||
</details>
|
||||
<details class="nav-section">
|
||||
<summary>PM</summary>
|
||||
<button type="button" class="nav-item" data-page="pm_seite1.html">
|
||||
<span>Seite 1</span>
|
||||
<small>PM</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="pm_seite2.html">
|
||||
<span>Seite 2</span>
|
||||
<small>PM</small>
|
||||
</button>
|
||||
</details>
|
||||
<details class="nav-section">
|
||||
<summary>Import</summary>
|
||||
<button type="button" class="nav-item" data-page="PARTImport.html">
|
||||
<span>PART</span>
|
||||
<small>Material</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="BOMImport.html">
|
||||
<span>BOM</span>
|
||||
<small>Stueckliste</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="ErpAdd.html">
|
||||
<span>ERPGroup</span>
|
||||
<small>ERP Gruppen</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="Contacts.html">
|
||||
<span>Contacts</span>
|
||||
<small>Kontakte</small>
|
||||
</button>
|
||||
<button type="button" class="nav-item" data-page="Useradd.html">
|
||||
<span>UserImport</span>
|
||||
<small>Benutzer</small>
|
||||
</button>
|
||||
</details>
|
||||
</nav>
|
||||
<!-- Use an IFRAME instead of a <div id="content"> -->
|
||||
<iframe id="contentFrame" name="contentFrame" width="100%" height="100%"></iframe>
|
||||
</div>
|
||||
@@ -198,7 +202,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
<script>
|
||||
// ---------------------- SESSION CHECK ----------------------
|
||||
// Example: Let's say sessionContext or "globallogin" is initially null
|
||||
let globallogin = null; // or read from sessionStorage if desired
|
||||
@@ -215,29 +219,29 @@
|
||||
document.getElementById('loginModal').style.display = 'none';
|
||||
});
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const frame = document.getElementById("contentFrame");
|
||||
const navItems = document.querySelectorAll(".nav-item[data-page]");
|
||||
|
||||
function openPage(button) {
|
||||
navItems.forEach(item => item.classList.remove("active"));
|
||||
button.classList.add("active");
|
||||
const section = button.closest(".nav-section");
|
||||
if (section) {
|
||||
section.open = true;
|
||||
}
|
||||
frame.src = button.dataset.page;
|
||||
}
|
||||
|
||||
navItems.forEach(button => {
|
||||
button.addEventListener("click", () => openPage(button));
|
||||
});
|
||||
|
||||
const firstPage = document.querySelector(".nav-item.active") || navItems[0];
|
||||
if (firstPage) {
|
||||
openPage(firstPage);
|
||||
}
|
||||
});
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const frame = document.getElementById("contentFrame");
|
||||
const navItems = document.querySelectorAll(".nav-item[data-page]");
|
||||
|
||||
function openPage(button) {
|
||||
navItems.forEach(item => item.classList.remove("active"));
|
||||
button.classList.add("active");
|
||||
const section = button.closest(".nav-section");
|
||||
if (section) {
|
||||
section.open = true;
|
||||
}
|
||||
frame.src = button.dataset.page;
|
||||
}
|
||||
|
||||
navItems.forEach(button => {
|
||||
button.addEventListener("click", () => openPage(button));
|
||||
});
|
||||
|
||||
const firstPage = document.querySelector(".nav-item.active") || navItems[0];
|
||||
if (firstPage) {
|
||||
openPage(firstPage);
|
||||
}
|
||||
});
|
||||
|
||||
// ============== LOGIN FUNCTION (REST CALL) ==============
|
||||
const protocol = window.location.protocol;
|
||||
|
||||
Reference in New Issue
Block a user