You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
28 lines
1.1 KiB
{{define "document_remove_form"}}
|
|
<div id="document-selection-container">
|
|
<form id="job-selection-form" hx-post="/documents/remove/job-selection" hx-target="#job-results"
|
|
hx-indicator="#job-loading-indicator" hx-include="#job-ids-removal-container">
|
|
<!-- The hidden input with jobIDs will be inserted into job-ids-removal-container by the CSV process -->
|
|
|
|
<button type="submit" id="load-jobs-btn" class="btn-primary">
|
|
Load Jobs
|
|
</button>
|
|
|
|
<div id="job-loading-indicator" class="htmx-indicator" style="display: none;">
|
|
<span>Loading jobs...</span>
|
|
<div class="loading-indicator"></div>
|
|
</div>
|
|
</form>
|
|
|
|
<div id="document-rows-container" class="document-rows">
|
|
<!-- The job list will be loaded here after clicking "Load Jobs" -->
|
|
<p>After uploading a CSV and clicking "Load Jobs", you'll see jobs here.</p>
|
|
</div>
|
|
|
|
<div class="document-actions">
|
|
<button type="button" id="remove-selected-btn" class="btn warning-button" disabled>
|
|
Remove Selected Documents
|
|
</button>
|
|
</div>
|
|
</div>
|
|
{{end}}
|