|
8 | 8 |
|
9 | 9 | {% include 'navbar.html' %} |
10 | 10 |
|
11 | | -<section class="section01"> |
12 | | - |
| 11 | +<section class="section pt-0"> |
13 | 12 | <div class="columns"> |
14 | | - <div class="column"> |
15 | | - <span class="tag01">Welcome to VulnerableCode<span class="nexb-orange">.</span>io.</span> |
| 13 | + <div class="column is-size-4 has-text-weight-bold"> |
| 14 | + Welcome to VulnerableCode<span class="nexb-orange">.</span>io. |
16 | 15 | </div> |
17 | 16 | </div> |
18 | | - |
19 | 17 | <article class='panel is-info'> |
20 | 18 | <div class='panel-heading py-2 is-size-6'> |
21 | 19 | Search for vulnerable packages |
22 | | - <div class="dropdown is-hoverable" style="font-weight: normal;"> |
23 | | - <div class="dropdown-trigger" style="text-align: right;"> |
24 | | - <i class="fa fa-question-circle" style="font-size:20px; margin-left: 10px;"></i> |
| 20 | + <!-- <div class="dropdown is-hoverable" style="font-weight: normal;"> --> |
| 21 | + <div class="dropdown is-hoverable has-text-weight-normal"> |
| 22 | + <!-- <div class="dropdown-trigger" style="text-align: right;"> --> |
| 23 | + <div class="dropdown-trigger"> |
| 24 | + <!-- <i class="fa fa-question-circle" style="font-size:20px; margin-left: 10px;"></i> --> |
| 25 | + <i class="fa fa-question-circle ml-2"></i> |
25 | 26 | </div> |
26 | | - <div class="dropdown-menu" id="dropdown-menu4" role="menu" style="width: 600px;"> |
27 | | - <div class="dropdown-content" style="box-shadow: 0px 8px 16px 0px #808080;"> |
28 | | - <div class="dropdown-item" style="font-size: 14px;"> |
29 | | - <div style="margin: 0px 0px 0px 0px;"> |
30 | | - <div style="margin-top: 0px;">Search for currently known Vulnerabilities for a <a href="https://github.com/package-url/purl-spec" target="_blank">Package-URL</a> (aka <span class="inline-code01">purl</span>) or a Package <span class="inline-code01">name</span>.</div> |
| 27 | + <!-- <div class="dropdown-menu" id="dropdown-menu4" role="menu" style="width: 600px;"> --> |
| 28 | + <div class="dropdown-menu dropdown-instructions-width" id="dropdown-menu4" role="menu"> |
| 29 | + <!-- <div class="dropdown-content" style="box-shadow: 0px 8px 16px 0px #808080;"> --> |
| 30 | + <div class="dropdown-content dropdown-instructions-box-shadow"> |
| 31 | + <!-- <div class="dropdown-item" style="font-size: 14px;"> --> |
| 32 | + <div class="dropdown-item"> |
| 33 | + <!-- <div style="margin: 0px 0px 0px 0px;"> --> |
| 34 | + <div> |
| 35 | + <!-- <div style="margin-top: 0px;">Search for currently known Vulnerabilities for a <a href="https://github.com/package-url/purl-spec" target="_blank">Package-URL</a> (aka <span class="inline-code01">purl</span>) or a Package <span class="inline-code01">name</span>.</div> --> |
| 36 | + <div>Search for currently known Vulnerabilities for a <a href="https://github.com/package-url/purl-spec" target="_blank">Package-URL</a> (aka <span class="inline-code">purl</span>) or a Package <span class="inline-code">name</span>.</div> |
31 | 37 | <ul> |
32 | 38 | <li> |
33 | | - Search by Package <span class="inline-code01">name</span> -- type the <span class="inline-code01">name</span> in the search box and, if relevant to your search, select the Package <span class="inline-code01">type</span> from the dropdown. |
| 39 | + Search by Package <span class="inline-code">name</span> -- type the <span class="inline-code">name</span> in the search box and, if relevant to your search, select the Package <span class="inline-code">type</span> from the dropdown. |
34 | 40 | </li> |
35 | 41 | <li> |
36 | | - Search by <span class="inline-code01">purl</span> -- type the <span class="inline-code01">purl</span> in the search box. <span style="font-style: italic;">(The <span class="inline-code01">type</span> dropdown does not apply to a <span class="inline-code01">purl</span> search.)</span> |
| 42 | + <!-- Search by <span class="inline-code">purl</span> -- type the <span class="inline-code">purl</span> in the search box. <span style="font-style: italic;">(The <span class="inline-code">type</span> dropdown does not apply to a <span class="inline-code">purl</span> search.)</span> --> |
| 43 | + Search by <span class="inline-code">purl</span> -- type the <span class="inline-code">purl</span> in the search box. <span class="is-italic">(The <span class="inline-code">type</span> dropdown does not apply to a <span class="inline-code">purl</span> search.)</span> |
37 | 44 | </li> |
38 | 45 | </ul> |
39 | 46 | </div> |
|
43 | 50 | </div> |
44 | 51 | </div> |
45 | 52 | <div class="panel-block"> |
46 | | - <div style="padding-bottom: 10px; width: 100%;"> |
| 53 | + <!-- <div style="padding-bottom: 10px; width: 100%;"> --> |
| 54 | + <div class="pb-3 width-100-pct"> |
47 | 55 | <form action="{% url 'package_search' %}" method="get"> |
48 | 56 | {% load widget_tweaks %} |
49 | | - <div class="field has-addons" style="margin: 10px 0px 0px 0px;"> |
| 57 | + <!-- <div class="field has-addons" style="margin: 10px 0px 0px 0px;"> --> |
| 58 | + <div class="field has-addons mt-3"> |
50 | 59 | <div class="control"> |
51 | 60 | <div class="select"> |
52 | 61 | {{package_form.type}} |
53 | 62 | </div> |
54 | 63 | </div> |
55 | | - <div class="control" style="width: 100%;"> |
| 64 | + <!-- <div class="control" style="width: 100%;"> --> |
| 65 | + <div class="control width-100-pct"> |
56 | 66 | {{package_form.name|add_class:"input"}} |
57 | 67 | </div> |
58 | 68 | <div class="control"> |
|
64 | 74 | </form> |
65 | 75 | <div> |
66 | 76 | {% if package_search %} |
67 | | - <div class="notification" style="border: solid 1px #ff9999; padding: 20px; margin-top: 20px; background-color: #ffffff; color: #ff0000; z-index: 10;"> |
| 77 | + <!-- <div class="notification" style="border: solid 1px #ff9999; padding: 20px; margin-top: 20px; background-color: #ffffff; color: #ff0000; z-index: 10;"> --> |
| 78 | + <div class="notification search-alert"> |
68 | 79 | <button class=" delete"></button> |
69 | 80 | {{ package_search }} |
70 | 81 | </div> |
|
74 | 85 | </div> |
75 | 86 | </article> |
76 | 87 |
|
77 | | - <div style="height: 20px;"></div> |
| 88 | + <!-- <div style="height: 20px;"></div> --> |
| 89 | + <div class="pt-5"></div> |
78 | 90 |
|
79 | 91 | <article class='panel is-info'> |
80 | 92 | <div class='panel-heading py-2 is-size-6'> |
81 | 93 | Search for vulnerabilities |
82 | | - <div class="dropdown is-hoverable" style="font-weight: normal;"> |
83 | | - <div class="dropdown-trigger" style="text-align: right;"> |
84 | | - <i class="fa fa-question-circle" style="font-size:20px; margin-left: 10px;"></i> |
| 94 | + <!-- <div class="dropdown is-hoverable" style="font-weight: normal;"> --> |
| 95 | + <div class="dropdown is-hoverable has-text-weight-normal"> |
| 96 | + <!-- <div class="dropdown-trigger" style="text-align: right;"> --> |
| 97 | + <div class="dropdown-trigger"> |
| 98 | + <!-- <i class="fa fa-question-circle" style="font-size:20px; margin-left: 10px;"></i> --> |
| 99 | + <i class="fa fa-question-circle ml-2"></i> |
85 | 100 | </div> |
86 | | - <div class="dropdown-menu" id="dropdown-menu4" role="menu" style="width: 600px;"> |
87 | | - <div class="dropdown-content" style="box-shadow: 0px 8px 16px 0px #808080;"> |
88 | | - <div class="dropdown-item" style="font-size: 14px;"> |
89 | | - <div style="margin: 0px 0px 0px 0px;">Search for comprehensive information for a <span class="inline-code01">VULCOID</span> (VulnerableCode Database ID). <span style="font-style: italic;">(Only the first of these methods requires that the input be all uppercase.)</span> |
| 101 | + <!-- <div class="dropdown-menu" id="dropdown-menu4" role="menu" style="width: 600px;"> --> |
| 102 | + <div class="dropdown-menu dropdown-instructions-width" id="dropdown-menu4" role="menu"> |
| 103 | + <!-- <div class="dropdown-content" style="box-shadow: 0px 8px 16px 0px #808080;"> --> |
| 104 | + <div class="dropdown-content dropdown-instructions-box-shadow"> |
| 105 | + <!-- <div class="dropdown-item" style="font-size: 14px;"> --> |
| 106 | + <div class="dropdown-item"> |
| 107 | + <!-- <div style="margin: 0px 0px 0px 0px;">Search for comprehensive information for a <span class="inline-code">VULCOID</span> (VulnerableCode Database ID). <span style="font-style: italic;">(Only the first of these methods requires that the input be all uppercase.)</span> --> |
| 108 | + <div>Search for comprehensive information for a <span class="inline-code">VULCOID</span> (VulnerableCode Database ID). <span class="is-italic">(Only the first of these methods requires that the input be all uppercase.)</span> |
90 | 109 | <ul> |
91 | 110 | <li> |
92 | | - Search for a specific <span class="inline-code01">VULCOID</span> (e.g., "VULCOID-1"). |
| 111 | + Search for a specific <span class="inline-code">VULCOID</span> (e.g., "VULCOID-1"). |
93 | 112 | </li> |
94 | 113 | <li> |
95 | | - Search for all <span class="inline-code01">VULCOID</span>s that are associated with a specific <span class="inline-code01">CVE</span> (e.g., "CVE-2009-3898") or <span class="inline-code01">GHSA</span> (e.g., "GHSA-2qrg-x229-3v8q"). |
| 114 | + Search for all <span class="inline-code">VULCOID</span>s that are associated with a specific <span class="inline-code">CVE</span> (e.g., "CVE-2009-3898") or <span class="inline-code">GHSA</span> (e.g., "GHSA-2qrg-x229-3v8q"). |
96 | 115 | </li> |
97 | 116 | <li> |
98 | | - Search for "CVE" or "GHSA" -- this will return all <span class="inline-code01">VULCOID</span>s that are associated with one or more <span class="inline-code01">CVE</span>s or <span class="inline-code01">GHSA</span>s, respectively. |
| 117 | + Search for "CVE" or "GHSA" -- this will return all <span class="inline-code">VULCOID</span>s that are associated with one or more <span class="inline-code">CVE</span>s or <span class="inline-code">GHSA</span>s, respectively. |
99 | 118 | </li> |
100 | 119 | </ul> |
101 | 120 | </div> |
|
105 | 124 | </div> |
106 | 125 | </div> |
107 | 126 | <div class="panel-block"> |
108 | | - <div style="padding-bottom: 10px; width: 100%;"> |
| 127 | + <!-- <div style="padding-bottom: 10px; width: 100%;"> --> |
| 128 | + <div class="pb-3 width-100-pct"> |
109 | 129 | <form action="{% url 'vulnerability_search' %}" method="get"> |
110 | 130 | {% load widget_tweaks %} |
111 | | - <div class="field has-addons" style="margin: 10px 0px 0px 0px;"> |
112 | | - <div class="control" style="width: 100%;"> |
| 131 | + <!-- <div class="field has-addons" style="margin: 10px 0px 0px 0px;"> --> |
| 132 | + <div class="field has-addons mt-3"> |
| 133 | + <!-- <div class="control" style="width: 100%;"> --> |
| 134 | + <div class="control width-100-pct"> |
113 | 135 | {% render_field vuln_form.vuln_id class="input"%} |
114 | 136 | </div> |
115 | 137 | <div class="control"> |
|
121 | 143 | </form> |
122 | 144 | <div> |
123 | 145 | {% if vuln_search %} |
124 | | - <div class="notification" style="border: solid 1px #ff9999; padding: 20px; margin-top: 20px; background-color: #ffffff; color: #ff0000; z-index: 10;"> |
| 146 | + <!-- <div class="notification" style="border: solid 1px #ff9999; padding: 20px; margin-top: 20px; background-color: #ffffff; color: #ff0000; z-index: 10;"> --> |
| 147 | + <div class="notification search-alert"> |
125 | 148 | <button class=" delete"></button> |
126 | 149 | {{ vuln_search }} |
127 | 150 | </div> |
|
0 commit comments