Skip to content

Commit b8aff75

Browse files
committed
Unify look and add form to get full triage list
1 parent d4d15ab commit b8aff75

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

src/main/resources/static/index.html

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,9 @@
5959
border-radius: 6px;
6060
cursor: pointer;
6161
color: #fff;
62-
}
63-
64-
button.cve {
6562
background: #1a73e8;
6663
}
6764

68-
button.distribution {
69-
background: #0f9d58;
70-
}
71-
72-
button.triage {
73-
background: #ff7043;
74-
}
75-
7665
a {
7766
color: #1a73e8;
7867
}
@@ -133,15 +122,15 @@ <h1>Welcome to GLVD</h1>
133122
<form action="/getCveDetails" method="get" class="cve">
134123
<label for="cveId" style="width: 320px;">Lookup CVE:</label>
135124
<input id="cveId" name="cveId" type="text" placeholder="CVE-2025-22872" required />
136-
<button type="submit" class="cve">Go</button>
125+
<button type="submit">Go</button>
137126
</form>
138127

139128
<form action="/getCveForDistribution" method="get" class="distribution">
140129
<label for="gardenlinuxVersion" style="width: 320px;">Lookup Garden Linux version:</label>
141130
<select id="gardenlinuxVersion" name="gardenlinuxVersion" required>
142131
<option value="">Loading...</option>
143132
</select>
144-
<button type="submit" class="distribution">Go</button>
133+
<button type="submit">Go</button>
145134
</form>
146135

147136
<form action="/getTriage" method="get" class="triage">
@@ -150,7 +139,7 @@ <h1>Welcome to GLVD</h1>
150139
<select id="triageGardenlinuxVersion" name="gardenlinuxVersion" required>
151140
<option value="">Loading...</option>
152141
</select>
153-
<button type="submit" class="triage">Go</button>
142+
<button type="submit">Go</button>
154143
</form>
155144

156145
<form action="/getPackagesByVulnerability" method="get" class="packages">
@@ -159,35 +148,41 @@ <h1>Welcome to GLVD</h1>
159148
<select id="packagesGardenlinuxVersion" name="gardenlinuxVersion" required>
160149
<option value="">Loading...</option>
161150
</select>
162-
<button type="submit" class="distribution">Go</button>
151+
<button type="submit">Go</button>
163152
</form>
164153

165154
<form action="/getPackagesForDistro" method="get" class="packages-distro">
166155
<label for="distroGardenlinuxVersion" style="width: 320px;">Lookup packages for Garden Linux version:</label>
167156
<select id="distroGardenlinuxVersion" name="gardenlinuxVersion" required>
168157
<option value="">Loading...</option>
169158
</select>
170-
<button type="submit" class="distribution">Go</button>
159+
<button type="submit">Go</button>
171160
</form></form>
172161

173162
<form action="/getReleaseNotes" method="get" class="release-notes">
174163
<label for="releaseNotesGardenlinuxVersion" style="width: 320px;">Lookup Release Notes for Garden Linux version:</label>
175164
<select id="releaseNotesGardenlinuxVersion" name="gardenlinuxVersion" required>
176165
<option value="">Loading...</option>
177166
</select>
178-
<button type="submit" class="distribution">Go</button>
167+
<button type="submit">Go</button>
179168
</form>
180169

181-
<form action="/getTriageList" method="get" class="triage-list">
170+
<form action="/getTriage" method="get" class="triage-list">
182171
<label for="triageListGardenlinuxVersion" style="width: 320px;">Lookup Triage List for Garden Linux version:</label>
183172
<select id="triageListGardenlinuxVersion" name="gardenlinuxVersion" required>
184173
<option value="">Loading...</option>
185174
</select>
186175
<button type="submit" class="triage">Go</button>
187176
</form>
188-
<div style="font-size: 0.95em; color: #888; margin-top: 4px;">
189-
Hint: Loading might take a few seconds.
190-
</div>
177+
178+
<form action="/getTriageList" method="get" class="triage-list">
179+
<label for="triageListGardenlinuxVersion" style="width: 320px;">Lookup full Triage List:</label>
180+
<button type="submit" class="triage">Go</button>
181+
</form>
182+
183+
<div style="font-size: 0.95em; color: #888; margin-top: 4px;">
184+
Hint: Loading might take a few seconds.
185+
</div>
191186

192187

193188
<p>If you have feedback or want to contribute, please visit our <a href="https://github.com/gardenlinux/glvd"

0 commit comments

Comments
 (0)