workign on the yamls

This commit is contained in:
2024-06-30 15:36:33 +03:00
parent 9a716d8b54
commit e430bfa01f
9 changed files with 143 additions and 35 deletions

View File

@@ -34,7 +34,7 @@
</div>
<!-- <div> -->
<form action="/upload" method="post" enctype="multipart/form-data">
<form action="/upload" method="post" enctype="multipart/form-data" onsubmit="">
<input type="text" name="filename" placeholder="Selected file" readonly>
<input type="file" name="file" id="file" onchange="document.forms[0].filename.value = this.files[0].name">
<button class="btn" type="submit">Upload</button>

View File

@@ -2,7 +2,7 @@
<div class="container">
<h1>Upload a File</h1>
<form action="/upload" method="post" enctype="multipart/form-data" target="noframe">
<form action="/upload" method="post" enctype="multipart/form-data" target="noframe" onsubmit="showContainer('form-container')">
<div class="upload-btn-wrapper">
<button class="btn">Upload a file</button>
<input type="file" name="myFile" accept=".zip, .exe, .msi" />
@@ -12,7 +12,7 @@
<button type="button" onclick="showContainer('form-container')" >fubarus</button>
</div>
<div class="form-container" oncontextmenu="showContainer('form-container')" onclick="updateForm('/pkg')">
<form>
<form action="/ren", method="put" enctype="multipart/form-data" id="packageProperties">
<div class="form-group">
<label for="Vendor">Vendor</label>
<input type="text" id="Vendor" name="Vendor" onclick="updateForm('/pkg','Vendor')">