feat(ui): ondersteuning Containerfile zichtbaar in build UI

- Label aangepast naar 'Dockerfile/Containerfile'
- Picker-titel aangepast naar 'Kies Dockerfile/Containerfile'
- Default waarde van buildDockerfile input leeggemaakt
- Validatiemelding aangepast naar 'Dockerfile/Containerfile'

Geen backend- of API-wijzigingen; dockerfile blijft leidend veld.
This commit is contained in:
kodi
2026-03-01 11:09:18 +01:00
parent 417d08b162
commit 3a80ba09af
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -142,7 +142,7 @@ async function buildImage() {
const outputBox = document.getElementById("buildOutput"); const outputBox = document.getElementById("buildOutput");
if (!context || !dockerfile || !tag) { if (!context || !dockerfile || !tag) {
alert("Vul context_dir, dockerfile en tag in."); alert("Vul context_dir, Dockerfile/Containerfile en tag in.");
return; return;
} }
@@ -400,4 +400,4 @@ function updateSortIndicators() {
if (el) { if (el) {
el.textContent = imagesSort.dir === "asc" ? "▲" : "▼"; el.textContent = imagesSort.dir === "asc" ? "▲" : "▼";
} }
} }
+3 -3
View File
@@ -344,9 +344,9 @@
</div> </div>
<div class="formRow"> <div class="formRow">
<label>Dockerfile</label> <label>Dockerfile/Containerfile</label>
<div class="row gap"> <div class="row gap">
<input class="input" id="buildDockerfile" value="Dockerfile" style="flex:1;"> <input class="input" id="buildDockerfile" value="" style="flex:1;">
<button class="btn" type="button" onclick="openDockerfilePicker()">Kies...</button> <button class="btn" type="button" onclick="openDockerfilePicker()">Kies...</button>
</div> </div>
<div class="muted" style="margin-top:6px;"> <div class="muted" style="margin-top:6px;">
@@ -383,7 +383,7 @@
<div class="modalBack" id="dfPickerBack" style="display:none;" onclick="closeDockerfilePicker(event)"> <div class="modalBack" id="dfPickerBack" style="display:none;" onclick="closeDockerfilePicker(event)">
<div class="modal" onclick="event.stopPropagation()" style="width:760px;"> <div class="modal" onclick="event.stopPropagation()" style="width:760px;">
<div class="modalHeader"> <div class="modalHeader">
<div class="modalTitle">Kies Dockerfile</div> <div class="modalTitle">Kies Dockerfile/Containerfile</div>
<button class="btn small ghost" onclick="hideDockerfilePicker()">Sluiten</button> <button class="btn small ghost" onclick="hideDockerfilePicker()">Sluiten</button>
</div> </div>