pipeline cleanup
This commit is contained in:
parent
a12643194a
commit
e9daf05f16
1 changed files with 86 additions and 92 deletions
|
@ -4,73 +4,7 @@
|
||||||
xmlns:th="http://www.thymeleaf.org">
|
xmlns:th="http://www.thymeleaf.org">
|
||||||
|
|
||||||
<th:block th:insert="~{fragments/common :: head(title=#{merge.title})}"></th:block>
|
<th:block th:insert="~{fragments/common :: head(title=#{merge.title})}"></th:block>
|
||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="page-container">
|
|
||||||
<div id="content-wrap">
|
|
||||||
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
|
|
||||||
<br> <br>
|
|
||||||
<div class="container" id="dropContainer">
|
|
||||||
<div class="row justify-content-center">
|
|
||||||
<div class="col-md-6">
|
|
||||||
|
|
||||||
<div class="mb-3">
|
|
||||||
<button id="savePipelineBtn" class="btn btn-success">Save
|
|
||||||
Pipeline Configuration</button>
|
|
||||||
|
|
||||||
<button id="validateButton" class="btn btn-success">Validate</button>
|
|
||||||
<div class="btn-group">
|
|
||||||
<button id="uploadPipelineBtn" class="btn btn-primary">Upload
|
|
||||||
Pipeline Configuration</button>
|
|
||||||
<input type="file" id="uploadPipelineInput" accept=".json"
|
|
||||||
style="display: none;">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="pipelineContainer" class="card">
|
|
||||||
|
|
||||||
<!-- Pipeline Configuration Card Header -->
|
|
||||||
<div class="card-header">
|
|
||||||
<h2 class="card-title">Pipeline Configuration</h2>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Pipeline Configuration Body -->
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="mb-3">
|
|
||||||
<select id="operationsDropdown" class="form-select">
|
|
||||||
<!-- Options will be dynamically populated here -->
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="mb-3">
|
|
||||||
<button id="addOperationBtn" class="btn btn-primary">Add
|
|
||||||
operation to pipeline</button>
|
|
||||||
</div>
|
|
||||||
<h3>Pipeline:</h3>
|
|
||||||
<ol id="pipelineList" class="list-group">
|
|
||||||
<!-- Pipeline operations will be dynamically populated here -->
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<input type="file" id="fileInput" multiple>
|
|
||||||
|
|
||||||
<button class="btn btn-primary" id="submitConfigBtn">Submit</button>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- pipelineSettings modal -->
|
|
||||||
<div id="pipelineSettingsModal" class="modal">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="modal-body">
|
|
||||||
<span class="close">×</span>
|
|
||||||
<h2>Operation Settings</h2>
|
|
||||||
<div id="pipelineSettingsContent">
|
|
||||||
<!-- pipelineSettings will be dynamically populated here -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<style>
|
<style>
|
||||||
.modal {
|
.modal {
|
||||||
display: none; /* Hidden by default */
|
display: none; /* Hidden by default */
|
||||||
|
@ -104,6 +38,66 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<div id="page-container">
|
||||||
|
<div id="content-wrap">
|
||||||
|
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
|
||||||
|
|
||||||
|
<div class="container" id="dropContainer">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="mb-3">
|
||||||
|
<button id="savePipelineBtn" class="btn btn-success">Save Configuration</button>
|
||||||
|
<button id="validateButton" class="btn btn-success">Validate</button>
|
||||||
|
<div class="btn-group">
|
||||||
|
<button id="uploadPipelineBtn" class="btn btn-primary">Upload Configuration</button>
|
||||||
|
<input type="file" id="uploadPipelineInput" accept=".json" style="display: none;">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="pipelineContainer" class="card">
|
||||||
|
<!-- Pipeline Configuration Card Header -->
|
||||||
|
<div class="card-header">
|
||||||
|
<h2 class="card-title">Pipeline Configuration</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Pipeline Configuration Body -->
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="mb-3">
|
||||||
|
<select id="operationsDropdown" class="form-select">
|
||||||
|
<!-- Options will be dynamically populated here -->
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-3">
|
||||||
|
<button id="addOperationBtn" class="btn btn-primary">Add operation to pipeline</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>Pipeline:</h3>
|
||||||
|
<ol id="pipelineList" class="list-group">
|
||||||
|
<!-- Pipeline operations will be dynamically populated here -->
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=false, accept='application/pdf')}"></div>
|
||||||
|
|
||||||
|
|
||||||
|
<button class="btn btn-primary" id="submitConfigBtn">Submit</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- pipelineSettings modal -->
|
||||||
|
<div id="pipelineSettingsModal" class="modal">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-body">
|
||||||
|
<span class="close">×</span>
|
||||||
|
<h2>Operation Settings</h2>
|
||||||
|
<div id="pipelineSettingsContent">
|
||||||
|
<!-- pipelineSettings will be dynamically populated here -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue