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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user