Files
simply_cpq/xcpq/buildtime/xcpq_editor/static/index.html
T

132 lines
6.1 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/static/images/SimplyCPQ_Logo.svg" />
<title>X-CPQ by Simply CPQ</title>
<link rel="stylesheet" href="/static/css/scpq_header.css">
<link rel="stylesheet" href="/static/css/scpq_global.css">
<link rel="stylesheet" href="/static/css/scpq_content.css">
<link rel="stylesheet" href="/static/css/scpq_footer.css">
<script src="/static/js/htmx.js"></script>
</head>
<body>
<header>
<img src="/static/images/SimplyCPQ_Logo.svg" alt="Simply CPQ Logo" />
<h1>X-CPQ Material Editor</h1>
<p>by Simply CPQ</p>
<nav>
<!-- Navigation links can be added here -->
<ul>
<li><a href="#">Eigenschaften</a></li>
<li><a href="#">Produkte</a></li>
<li><a href="#">Konditionen</a></li>
<li><a href="#">Übersetzungen</a></li>
<li><a href="#">Datenimporte</a></li>
</ul>
</nav>
</header>
<main>
<section id="main-content">
<h2>X-CPQ Material Editor: Eigenschaften</h2>
<!-- Main content can be added here -->
<p>Der Eigenschaftspool dient der globalen Definition von Eigenschaften.</p>
<div class="editor-container">
<section class="editor-view">
<h3>Property Type Groups</h3>
<ul class="node mt-16">
<details open>
<summary>
X-CPQ-Eigenschaften
</summary>
<ul class="node">
<details open>
<summary>
Systemeigenschaften
</summary>
<ul class="node">
<li class="leaf">
Eigenschaft 1
</li>
<li class="leaf">
Eigenschaft 2
</li>
</ul>
</details>
<details open>
<summary>
Catalog Eigenschaften
</summary>
<ul class="node">
<li class="leaf">
Eigenschaft 1
</li>
<li class="leaf">
Eigenschaft 2
</li>
</ul>
</details>
<li class="leaf">
Eigenschaft 1
</li>
<li class="leaf">
Eigenschaft 2
</li>
</ul>
</details>
</ul>
</section>
<section class="editor-view">
<section id="PropertyTypeGroupData">
<h3>Property-Type Group {PropertyTypeGroupName}</h3>
<form class="cform" method="post" action="/updatePropertyTypeGroup">
<label for="propertyTypeGroupName">Name:</label>
<input type="text" id="propertyTypeGroupName" name="propertyTypeGroupName" value="{PropertyTypeGroupName}">
<label for="propertyTypeGroupDescription">Beschreibung:</label>
<textarea id="propertyTypeGroupDescription" name="propertyTypeGroupDescription">{PropertyTypeGroupDescription}</textarea>
<div class="button_row">
<button type="submit">Speichern</button>
<button type="submit">Neu</button>
<button type="submit">Löschen</button>
</div>
</form>
</section>
<section class="mt-16" id="PropertyTypeData">
<h3>Property-Type {PropertyTypeName}</h3>
<form class="cform" method="post" action="/updatePropertyType">
<label for="propertyTypeName">Name:</label>
<input type="text" id="propertyTypeName" name="propertyTypeName" value="{PropertyTypeName}">
<label for="propertyTypeDescription">Beschreibung:</label>
<textarea id="propertyTypeDescription" name="propertyTypeDescription">{PropertyType Description}</textarea>
<div class="button_row">
<button type="submit">Speichern</button>
<button type="submit">Neu</button>
<button type="submit">Löschen</button>
</div>
</form>
</section>
</section>
<section class="editor-view">
<section id="ValueData">
<h3>Values für {PropertyTypeName}</h3>
<p>Hier können die Werte der ausgewählten Eigenschaft bearbeitet werden.</p>
<!-- Editor content can be added here -->
</section>
</section>
</div>
</section>
</main>
<footer>
<!-- Footer content can be added here -->
<p>&copy; 2026 Simply CPQ</p>
</footer>
</body>
</html>