55{% endblock %}
66
77{% block content %}
8- < div class ="columns is-3 ">
8+ < div class ="columns is-5 is-variable ">
99 < div class ="column is-half has-text-centered has-background-success-light ">
10- < section class = "section ">
11- < form method ="post ">
10+ < form method ="post " class ="card has-background-success-light ">
11+ < header class ="card-header ">
12+ < p class ="card-header-title ">
13+ Package Details
14+ </ p >
15+ </ header >
1216 {% csrf_token %}
1317 {% for field in form %}
1418 < div class ="field ">
15- < label class ="label "> {{field.label}}</ label >
16- < div class ="control ">
17- {{ field|add_class:"input is-rounded" }}
18- </ div >
19+ < label class ="label "> {{field.label}}</ label >
20+ {% render_field field class="input is-primary" %}
1921 </ div >
2022 {% endfor %}
21- < button class ="button is-success ", type ="submit ">
22- Curate
23- </ button >
23+ < button class ="button is-success ", type ="submit ">
24+ Update
25+ </ button >
2426 </ form >
25- </ section >
26- </ div >
27+ </ div >
2728
2829 < div class ="column is-half has-text-centered has-background-danger-light ">
29- < section class ="section ">
30- < h3 class ="subtitle "> < strong > Vulnerable To</ strong > </ h3 >
30+ < div class ="columns is-variable is-5 is-multiline ">
31+ < div class ="column is-full ">
32+ < div class ="card has-background-danger-light ">
33+ < header class ="card-header ">
34+ < p class ="card-header-title "> Vulnerable To</ p >
35+ </ header >
3136 < div class ="tags " id ="unresolved_tags ">
3237 {% for vulnerability in impacted_vuln %}
3338 < span class ="tag is-danger is-medium ">
@@ -56,12 +61,15 @@ <h3 class="subtitle"><strong>Vulnerable To</strong></h3>
5661 </ p >
5762 </ div >
5863
59- </ section >
64+ </ div >
65+ </ div >
6066
61-
62- < section class ="section ">
63- < h3 class ="subtitle "> < strong > Safe To</ strong > </ h3 >
64- < div class ="tags " id ="resolved_tags ">
67+ < div class ="column is-full ">
68+ < div class ="card has-background-danger-light ">
69+ < header class ="card-header ">
70+ < p class ="card-header-title "> Safe To</ p >
71+ </ header >
72+ < div class ="tags " id ="resolved_tags ">
6573 {% for vulnerability in resolved_vuln %}
6674 < span class ="tag is-primary is-medium ">
6775 < a href ="{% url 'vulnerability_view' vulnerability.pk %} " class ="has-text-white "> {{vulnerability}}</ a >
@@ -87,7 +95,8 @@ <h3 class="subtitle"><strong>Safe To</strong></h3>
8795 </ button >
8896 </ p >
8997 </ div >
90- </ section >
98+ </ div >
99+ </ div >
91100
92101 </ div >
93102
0 commit comments