[Feature] Add batch-predict to site-map (#285)

Adds batch predict to the site-map but does not give it prominence.
This is to avoid non-experts "accidentally" flooding the system.

Happy to move it to the main menu if better, @jebus?

Reviewed-on: enviPath/enviPy#285
Co-authored-by: Tobias O <tobias.olenyi@envipath.com>
Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
2026-01-15 22:30:31 +13:00
committed by jebus
parent 54f8302104
commit 1c2f70b3b9
4 changed files with 127 additions and 119 deletions

View File

@ -5,10 +5,8 @@
<nav>
<h6 class="footer-title">Services</h6>
<a class="link link-hover" href="/predict">Predict</a>
<a class="link link-hover" href="/batch-predict">Batch Predict</a>
<a class="link link-hover" href="/package">Packages</a>
{# {% if user.is_authenticated %}#}
{# <a class="link link-hover" href="/model">Your Collections</a>#}
{# {% endif %}#}
<a
href="https://wiki.envipath.org/"
target="_blank"

View File

@ -122,17 +122,27 @@
</select>
</label>
<div class="flex justify-end gap-2">
<a href="{{ meta.current_package.url }}/pathway" class="btn btn-outline"
>Cancel</a
<div class="flex h-fit w-full justify-between">
<a
href="/batch-predict"
class="link-hover text-neutral/50 self-end text-sm"
>More than one compound?</a
>
<button
type="submit"
id="predict-submit-button"
class="btn btn-primary"
>
Predict
</button>
<div class="flex justify-end gap-2">
<a
href="{{ meta.current_package.url }}/pathway"
class="btn btn-outline"
>Cancel</a
>
<button
type="submit"
id="predict-submit-button"
class="btn btn-primary"
>
Predict
</button>
</div>
</div>
</form>
</div>