diff options
-rw-r--r-- | app/public/static/package_create.js | 2 | ||||
-rw-r--r-- | app/templates/packages/create_edit.html | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/public/static/package_create.js b/app/public/static/package_create.js index 86c5140..ac7b79f 100644 --- a/app/public/static/package_create.js +++ b/app/public/static/package_create.js @@ -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() != "") { diff --git a/app/templates/packages/create_edit.html b/app/templates/packages/create_edit.html index 4b855fc..fee73bd 100644 --- a/app/templates/packages/create_edit.html +++ b/app/templates/packages/create_edit.html @@ -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"> |