Add skip button to importer
This commit is contained in:
parent
dd368d87aa
commit
c9bf7a3245
@ -11,6 +11,8 @@ $(function() {
|
||||
|
||||
$(".pkg_meta").hide()
|
||||
$(".pkg_wiz_1").show()
|
||||
|
||||
$("#pkg_wiz_1_skip").click(finish)
|
||||
$("#pkg_wiz_1_next").click(function() {
|
||||
const repoURL = $("#repo").val();
|
||||
if (repoURL.trim() != "") {
|
||||
|
@ -51,13 +51,14 @@
|
||||
<p>Enter the repo URL for the package.
|
||||
If the repo uses git then the metadata will be automatically imported.</p>
|
||||
|
||||
<p>Leave blank if you don't have a repo.</p>
|
||||
<p>Leave blank if you don't have a repo. Click skip if the import fails.</p>
|
||||
</div>
|
||||
|
||||
{{ render_field(form.repo, class_="pkg_repo") }}
|
||||
|
||||
<div class="pkg_wiz_1">
|
||||
<a id="pkg_wiz_1_next" class="button button-primary">Next</a>
|
||||
<a id="pkg_wiz_1_next" class="button button-primary">Next (Autoimport)</a>
|
||||
<a id="pkg_wiz_1_skip" class="button button-default">Skip Autoimport</a>
|
||||
</div>
|
||||
|
||||
<div class="pkg_wiz_2">
|
||||
|
Loading…
x
Reference in New Issue
Block a user