Fix idoc sequence and collapse menus

This commit is contained in:
2026-10-13 07:40:22 +00:00
parent 9285371808
commit 0de0c8e927
16 changed files with 149 additions and 53 deletions

View File

@@ -36,8 +36,8 @@ final class TranSql {
static long insertIdocStatus(Connection conn, boolean isMSSQL, boolean isOracle, int interfaceNo)
throws SQLException {
long idocId = nextSequenceValue(conn, isMSSQL, isOracle,
"xtran.SEQ_TRAN_IDOC_STATUS",
"tran.SEQ_TRAN_IDOC_STATUS");
"Xtran.seq_tranidocstatus",
"tran.seq_tranidocstatus");
String schema = schema(isOracle);
String sql = "INSERT INTO " + schema
+ ".tran_idoc_status (IDOC_ID, INTERFACE_NO, SOURCE, STATUS, CREATED, STAMP) "

View File

@@ -126,8 +126,8 @@
<div id="container">
<nav class="touch-nav" aria-label="Workbench Navigation">
<section class="nav-section">
<h2>TR</h2>
<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>
@@ -136,9 +136,9 @@
<span>Station</span>
<small>Fertigungsbaum</small>
</button>
</section>
<section class="nav-section">
<h2>PM</h2>
</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>
@@ -147,9 +147,9 @@
<span>Seite 2</span>
<small>PM</small>
</button>
</section>
<section class="nav-section">
<h2>Import</h2>
</details>
<details class="nav-section">
<summary>Import</summary>
<button type="button" class="nav-item" data-page="PARTImport.html">
<span>PART</span>
<small>Material</small>
@@ -170,7 +170,7 @@
<span>UserImport</span>
<small>Benutzer</small>
</button>
</section>
</details>
</nav>
<!-- Use an IFRAME instead of a <div id="content"> -->
<iframe id="contentFrame" name="contentFrame" width="100%" height="100%"></iframe>
@@ -222,6 +222,10 @@
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;
}

View File

@@ -125,8 +125,8 @@
<div id="container">
<nav class="touch-nav" aria-label="Workbench Navigation">
<section class="nav-section">
<h2>TR</h2>
<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>
@@ -135,9 +135,9 @@
<span>Station</span>
<small>Fertigungsbaum</small>
</button>
</section>
<section class="nav-section">
<h2>PM</h2>
</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>
@@ -146,9 +146,9 @@
<span>Seite 2</span>
<small>PM</small>
</button>
</section>
<section class="nav-section">
<h2>Import</h2>
</details>
<details class="nav-section">
<summary>Import</summary>
<button type="button" class="nav-item" data-page="PARTImport.html">
<span>PART</span>
<small>Material</small>
@@ -169,7 +169,7 @@
<span>UserImport</span>
<small>Benutzer</small>
</button>
</section>
</details>
</nav>
<!-- Use an IFRAME instead of a <div id="content"> -->
<iframe id="contentFrame" name="contentFrame" width="100%" height="100%"></iframe>
@@ -221,6 +221,10 @@
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;
}

View File

@@ -114,15 +114,55 @@ nav {
display: flex;
flex-direction: column;
gap: 8px;
padding: 6px;
border: 1px solid rgba(0, 72, 142, 0.12);
background: rgba(255, 255, 255, 0.38);
border-radius: 8px;
}
.nav-section h2 {
margin: 0 0 2px;
padding: 0 4px;
.nav-section summary {
min-height: 46px;
margin: 0;
padding: 0 12px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
color: var(--itac-muted) !important;
border-radius: 6px;
background: rgba(255, 255, 255, 0.72);
cursor: pointer;
list-style: none;
-webkit-tap-highlight-color: transparent;
}
.nav-section summary::-webkit-details-marker {
display: none;
}
.nav-section summary::after {
content: "+";
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--itac-red);
border: 1px solid rgba(164, 6, 64, 0.2);
border-radius: 50%;
background: #fff;
font-size: 18px;
line-height: 1;
}
.nav-section[open] summary {
color: var(--itac-blue) !important;
}
.nav-section[open] summary::after {
content: "-";
}
.nav-item {