From 3aaabeecce22ac217ee6a112b0b197a2b6c50ae7 Mon Sep 17 00:00:00 2001 From: "A. Diamond" Date: Thu, 1 Feb 2024 14:49:19 -0500 Subject: [PATCH] Minor code changes for LOCKSS mockup --- server/views/job/uploads.html | 48 ++++++++++++++++---------- server/views/storage_service/form.html | 4 +++ 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/server/views/job/uploads.html b/server/views/job/uploads.html index ce41e8c..52a7238 100644 --- a/server/views/job/uploads.html +++ b/server/views/job/uploads.html @@ -30,7 +30,12 @@

Upload Targets

// Hide first radio and btnCreate $('#createAUSpinner').show() setTimeout(function() { - //var newAUID = + $('#createAUSpinner').hide() + newAUID = `AU-${Math.floor(Math.random() * 10000)}` + $('#addToAU').val(newAUID) + $('#btnLookupAU').hide() + $('#newAUDiv').hide() + $('#lookupSpan').show() }, 1200) } function showHideLookup() { @@ -45,28 +50,35 @@

Upload Targets

You're sending this bag to one or more LOCKSS services.

+ +
- + +
+ - diff --git a/server/views/storage_service/form.html b/server/views/storage_service/form.html index ffbf573..473c5ee 100644 --- a/server/views/storage_service/form.html +++ b/server/views/storage_service/form.html @@ -22,12 +22,16 @@

Storage Service

{{ template "partials/input_text.html" dict "field" .form.Fields.Port }} + + {{ template "partials/input_text.html" dict "field" .form.Fields.Login }} {{ template "partials/input_text.html" dict "field" .form.Fields.Password }}