pipeline cleanup
This commit is contained in:
parent
a12643194a
commit
e9daf05f16
1 changed files with 86 additions and 92 deletions
|
@ -4,106 +4,100 @@
|
||||||
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">
|
<style>
|
||||||
<div id="content-wrap">
|
.modal {
|
||||||
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
|
display: none; /* Hidden by default */
|
||||||
<br> <br>
|
position: fixed; /* Stay in place */
|
||||||
<div class="container" id="dropContainer">
|
z-index: 1; /* Sit on top */
|
||||||
<div class="row justify-content-center">
|
padding-top: 100px; /* Location of the box */
|
||||||
<div class="col-md-6">
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%; /* Full width */
|
||||||
|
height: 100%; /* Full height */
|
||||||
|
overflow: auto; /* Enable scroll if needed */
|
||||||
|
background-color: rgb(0, 0, 0); /* Fallback color */
|
||||||
|
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
|
||||||
|
}
|
||||||
|
|
||||||
<div class="mb-3">
|
/* Modal Content */
|
||||||
<button id="savePipelineBtn" class="btn btn-success">Save
|
.modal-content {
|
||||||
Pipeline Configuration</button>
|
background-color: #fefefe;
|
||||||
|
margin: auto;
|
||||||
<button id="validateButton" class="btn btn-success">Validate</button>
|
padding: 20px;
|
||||||
<div class="btn-group">
|
border: 1px solid #888;
|
||||||
<button id="uploadPipelineBtn" class="btn btn-primary">Upload
|
width: 50%;
|
||||||
Pipeline Configuration</button>
|
}
|
||||||
<input type="file" id="uploadPipelineInput" accept=".json"
|
|
||||||
style="display: none;">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="pipelineContainer" class="card">
|
.btn-margin {
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
<!-- Pipeline Configuration Card Header -->
|
.modal-body {
|
||||||
<div class="card-header">
|
display: flex;
|
||||||
<h2 class="card-title">Pipeline Configuration</h2>
|
flex-direction: column;
|
||||||
</div>
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Pipeline Configuration Body -->
|
<div id="page-container">
|
||||||
<div class="card-body">
|
<div id="content-wrap">
|
||||||
<div class="mb-3">
|
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
|
||||||
<select id="operationsDropdown" class="form-select">
|
|
||||||
<!-- Options will be dynamically populated here -->
|
<div class="container" id="dropContainer">
|
||||||
</select>
|
<div class="row justify-content-center">
|
||||||
</div>
|
<div class="col-md-6">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<button id="addOperationBtn" class="btn btn-primary">Add
|
<button id="savePipelineBtn" class="btn btn-success">Save Configuration</button>
|
||||||
operation to pipeline</button>
|
<button id="validateButton" class="btn btn-success">Validate</button>
|
||||||
</div>
|
<div class="btn-group">
|
||||||
<h3>Pipeline:</h3>
|
<button id="uploadPipelineBtn" class="btn btn-primary">Upload Configuration</button>
|
||||||
<ol id="pipelineList" class="list-group">
|
<input type="file" id="uploadPipelineInput" accept=".json" style="display: none;">
|
||||||
<!-- Pipeline operations will be dynamically populated here -->
|
</div>
|
||||||
</ol>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div id="pipelineContainer" class="card">
|
||||||
<input type="file" id="fileInput" multiple>
|
<!-- Pipeline Configuration Card Header -->
|
||||||
|
<div class="card-header">
|
||||||
<button class="btn btn-primary" id="submitConfigBtn">Submit</button>
|
<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>
|
<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>
|
||||||
|
|
||||||
<!-- 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>
|
|
||||||
.modal {
|
|
||||||
display: none; /* Hidden by default */
|
|
||||||
position: fixed; /* Stay in place */
|
|
||||||
z-index: 1; /* Sit on top */
|
|
||||||
padding-top: 100px; /* Location of the box */
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
width: 100%; /* Full width */
|
|
||||||
height: 100%; /* Full height */
|
|
||||||
overflow: auto; /* Enable scroll if needed */
|
|
||||||
background-color: rgb(0, 0, 0); /* Fallback color */
|
|
||||||
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Modal Content */
|
|
||||||
.modal-content {
|
|
||||||
background-color: #fefefe;
|
|
||||||
margin: auto;
|
|
||||||
padding: 20px;
|
|
||||||
border: 1px solid #888;
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-margin {
|
|
||||||
margin-right: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-body {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue