now filling the form with the fucking data. currently, unidentified

This commit is contained in:
benny
2024-06-20 19:00:42 +03:00
parent 212bfe0f02
commit 6844fe42bc
6 changed files with 279 additions and 47 deletions

10
html/lastob.json Normal file
View File

@@ -0,0 +1,10 @@
{{define "main"}}
{
"Identifier" :"{{.Identifier}}",
"Version" :"{{.Version}}",
"Type" : "{{.Type}}",
"Location": "{{.Location}}",
"Checksum": "{{.Checksum}}",
"Url" : "{{.Url}}"
}
{{end}}

View File

@@ -11,29 +11,29 @@
</form>
<button type="button" onclick="showContainer('form-container')" >fubarus</button>
</div>
<div class="form-container" oncontextmenu="showContainer('form-container')">
<div class="form-container" oncontextmenu="showContainer('form-container')" onclick="updateForm('/pkg')">
<form>
<div class="form-group">
<label for="PackageIdentifier">PackageIdentifier</label>
<input type="text" id="PackageIdentifier" name="PackageIdentifier">
<input type="text" id="PackageIdentifier" name="PackageIdentifier" onclick="updateForm('/pkg','PackageIdentifier')">
</div>
<div class="form-group">
<label for="PackageVersion">PackageVersion</label>
<input type="text" id="PackageVersion" name="PackageVersion">
<input type="text" id="PackageVersion" name="PackageVersion" onclick="updateForm('/pkg','PackageVersion')">
</div>
<div class="form-group">
<label for="InstallerType">InstallerType</label>
<input type="text" id="InstallerType" name="InstallerType">
<input type="text" id="InstallerType" name="InstallerType" onclick="updateForm('/pkg','InstallerType')">
</div>
<fieldset>
<legend>Installers</legend>
<div class="form-group">
<label for="InstallerUrl">InstallerUrl</label>
<input type="url" id="InstallerUrl" name="InstallerUrl">
<input type="url" id="InstallerUrl" name="InstallerUrl" onclick="updateForm('/pkg','InstallerUrl')">
</div>
<div class="form-group">
<label for="InstallerSha256">InstallerSha256</label>
<input type="text" id="InstallerSha256" name="InstallerSha256">
<input type="text" id="InstallerSha256" name="InstallerSha256" onclick="updateForm('/pkg','InstallerSha256')">
</div>
</fieldset>
<div class="form-group">