-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display a custom registry success message for the arctic theme
- Loading branch information
1 parent
6b2db00
commit 4b62d85
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
metacatui/src/main/webapp/js/themes/arctic/templates/insertProgress.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<div class="container"> | ||
<% if(status == "processing"){ %> | ||
|
||
<h1>Thank you for your submission</h1> | ||
<p>Please wait just a moment while your data is being uploaded and processed.</p> | ||
|
||
<div class="progress"> | ||
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%"> | ||
<span class="sr-only">Processing...</span> | ||
</div> | ||
</div> | ||
|
||
<% } else if(status == "complete"){ %> | ||
|
||
<h1>Thank you for your submission</h1> | ||
<h3>Your data set is now under review by the Arctic Data Center team.</h3> | ||
<p>No further action is required at this point; we will contact you by email.</p> | ||
<p>Once the review and any revisions are complete, we will assign a DOI, and publicly publish the data package. Until then, it will not be publicly visible.</p> | ||
|
||
<div class="progress"> | ||
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"> | ||
<span class="sr-only">Under review</span> | ||
</div> | ||
</div> | ||
|
||
<a class="btn btn-primary btn-large center" href="#view/<%=id%>">View your data set</a> | ||
|
||
<% } else if(status == "error"){ %> | ||
|
||
<h1>Thank you for your submission</h1> | ||
|
||
<div class="progress"> | ||
<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"> | ||
<span class="sr-only">Error</span> | ||
</div> | ||
</div> | ||
|
||
<div class="alert alert-error">Your submission could not be completed. Please <a href="#share" id="registerAnotherPackage">try again</a> or | ||
<a href="mailto:<%=appModel.get('emailContact')%>"> contact us at <%=appModel.get("emailContact")%></a> | ||
for assistance.</div> | ||
|
||
<% } %> | ||
</div> |