1+ {% load crispy_forms_tags %}
12< div class ="modal " tabindex ="-1 " role ="dialog " id ="scan-all-packages-modal ">
2- < div class ="modal-dialog " role ="document ">
3- < div class ="modal-content ">
4- < div class ="modal-header ">
5- < h5 class ="modal-title "> Scan all Packages</ h5 >
6- < button type ="button " class ="btn-close " data-bs-dismiss ="modal " aria-label ="Close "> </ button >
7- </ div >
8- < div class ="modal-body bg-body-tertiary ">
9- You are about to initiate multiple scans on the ScanCode.io server for all the
10- Packages assigned to your Product, either by direct assignment or by assignment to a
11- Component assigned to your Product.< br > < br >
12- < strong > Note that this may take some time to complete.</ strong > < br > < br >
13- You can view the status of all the scans by selecting the
14- < a target ="_blank " href ="{% url 'component_catalog:scan_list' %} "> Scans</ a > option
15- from the DejaCode Tools dropdown menu, where you can also select each Package in the list
16- to view scan results details in the "Scan" tab of that Package.
17- </ div >
18- < div class ="modal-footer ">
19- < button type ="button " class ="btn btn-secondary " data-bs-dismiss ="modal "> Close</ button >
20- < a id ="scan_all_packages_submit " href ="{{ object.get_scan_all_packages_url }} " class ="btn btn-success "> Submit Scan Request</ a >
3+ < form autocomplete ="off " method ="{{ scan_all_packages_form.helper.form_method }} " action ="{{ object.get_scan_all_packages_url }} " id ="{{ scan_all_packages_form.helper.form_id }} ">
4+ < div class ="modal-dialog " role ="document ">
5+ < div class ="modal-content ">
6+ < div class ="modal-header ">
7+ < h5 class ="modal-title "> Scan all Packages</ h5 >
8+ < button type ="button " class ="btn-close " data-bs-dismiss ="modal " aria-label ="Close "> </ button >
9+ </ div >
10+ < div class ="modal-body bg-body-tertiary ">
11+ < p >
12+ You are about to initiate multiple scans on the ScanCode.io server for all the
13+ Packages assigned to your Product, either by direct assignment or by assignment to a
14+ Component assigned to your Product.
15+ </ p >
16+ < p >
17+ < strong > Note that this may take some time to complete.</ strong >
18+ </ p >
19+ < p >
20+ You can view the status of all the scans by selecting the
21+ < a target ="_blank " href ="{% url 'component_catalog:scan_list' %} "> Scans</ a > option
22+ from the DejaCode Tools dropdown menu, where you can also select each Package in the list
23+ to view scan results details in the "Scan" tab of that Package.
24+ </ p >
25+ < hr >
26+ {% crispy scan_all_packages_form %}
27+ </ div >
28+ < div class ="modal-footer ">
29+ < input type ="button " name ="close " value ="Close " class ="btn btn-secondary " data-bs-dismiss ="modal ">
30+ < input type ="submit " id ="scan_all_packages_submit " value ="Submit Scan Request " class ="btn btn-primary btn-success ">
31+ </ div >
2132 </ div >
2233 </ div >
23- </ div >
34+ </ form >
2435</ div >
0 commit comments