e07b87b45f9293c3f45337303886450c390b2585 hiram Tue May 12 13:10:56 2026 -0700 protect against duplicated pending entries in the ottoRequest table refs #31811 diff --git src/hg/htdocs/liftRequest.html src/hg/htdocs/liftRequest.html index 6f13d5e0419..8daa14d66e3 100755 --- src/hg/htdocs/liftRequest.html +++ src/hg/htdocs/liftRequest.html @@ -36,30 +36,38 @@ <p> <strong>Assembly 1:</strong> <a id="genome1Link" href="#" target="_blank"></a> browser link<br> Download: <a id="genome1LiftOver" href="#" download>Download chain file</a> over.chain.gz file </p> <p> <strong>Assembly 2:</strong> <a id="genome2Link" href="#" target="_blank"></a> browser link<br> Download: <a id="genome2LiftOver" href="#" download>Download chain file</a> over.chain.gz file </p> </div> </div> + <div id="pendingRequest" class="form-group" style="display: none;"> + <button id="dismissPending" style="float: right; cursor: pointer;">×</button> + <div class="description"> + <p><strong>A request for these assemblies has already been submitted.</strong></p> + <p id="pendingMessage"></p> + </div> + </div> + <div id="errorMessage" class="form-group"> <button id="dismissError" style="float: right; cursor: pointer;">×</button> <h3 id="errorHeading">Error</h3> <p id="errorText"></p> </div> <div id="emailForm" class="form-group"> <label for="emailInput">Email Address</label> <div class="description">You will receive a notification at this address when the alignment is complete.</div> <input id="emailInput" type="email" placeholder="your.email@example.com"> </div> <div id="commentsForm" class="form-group"> <label for="commentsInput">Comments (optional)</label> <div class="description">Any additional information or notes about this alignment request.</div>