9090 const select = document . getElementById ( selectId ) ;
9191 if ( ! select ) return ;
9292 select . innerHTML = "" ;
93- versions . reverse ( ) . forEach ( version => {
93+ let filteredVersions = versions . slice ( ) ;
94+ if ( selectId === "releaseNotesGardenlinuxVersion" ) {
95+ filteredVersions = filteredVersions . filter ( v => v !== "today" ) ;
96+ }
97+ filteredVersions . reverse ( ) . forEach ( version => {
9498 const option = document . createElement ( "option" ) ;
9599 option . value = version ;
96100 option . textContent = version ;
108112 document . addEventListener ( "DOMContentLoaded" , function ( ) {
109113 populateGardenlinuxVersions ( "gardenlinuxVersion" ) ;
110114 populateGardenlinuxVersions ( "triageGardenlinuxVersion" ) ;
115+ populateGardenlinuxVersions ( "packagesGardenlinuxVersion" ) ;
116+ populateGardenlinuxVersions ( "distroGardenlinuxVersion" ) ;
117+ populateGardenlinuxVersions ( "releaseNotesGardenlinuxVersion" ) ;
118+ populateGardenlinuxVersions ( "triageListGardenlinuxVersion" ) ;
111119 } ) ;
112120 </ script >
113121
@@ -123,28 +131,65 @@ <h1>Welcome to GLVD</h1>
123131 </ p >
124132
125133 < form action ="/getCveDetails " method ="get " class ="cve ">
126- < label for ="cveId " style ="min- width: 320px; "> Lookup CVE:</ label >
134+ < label for ="cveId " style ="width: 320px; "> Lookup CVE:</ label >
127135 < input id ="cveId " name ="cveId " type ="text " placeholder ="CVE-2025-22872 " required />
128136 < button type ="submit " class ="cve "> Go</ button >
129137 </ form >
130138
131139 < form action ="/getCveForDistribution " method ="get " class ="distribution ">
132- < label for ="gardenlinuxVersion " style ="min- width: 320px; "> Lookup Garden Linux version:</ label >
140+ < label for ="gardenlinuxVersion " style ="width: 320px; "> Lookup Garden Linux version:</ label >
133141 < select id ="gardenlinuxVersion " name ="gardenlinuxVersion " required >
134142 < option value =""> Loading...</ option >
135143 </ select >
136144 < button type ="submit " class ="distribution "> Go</ button >
137145 </ form >
138146
139147 < form action ="/getTriage " method ="get " class ="triage ">
140- < label for ="triageGardenlinuxVersion " style ="min- width: 320px; "> Lookup Triage for Garden Linux
148+ < label for ="triageGardenlinuxVersion " style ="width: 320px; "> Lookup Triage for Garden Linux
141149 version:</ label >
142150 < select id ="triageGardenlinuxVersion " name ="gardenlinuxVersion " required >
143151 < option value =""> Loading...</ option >
144152 </ select >
145153 < button type ="submit " class ="triage "> Go</ button >
146154 </ form >
147155
156+ < form action ="/getPackagesByVulnerability " method ="get " class ="packages ">
157+ < label for ="packagesCveId " style ="width: 320px; "> Lookup packages by CVE and Garden Linux version:</ label >
158+ < input id ="packagesCveId " name ="cveId " type ="text " placeholder ="CVE-2004-1308 " required />
159+ < select id ="packagesGardenlinuxVersion " name ="gardenlinuxVersion " required >
160+ < option value =""> Loading...</ option >
161+ </ select >
162+ < button type ="submit " class ="distribution "> Go</ button >
163+ </ form >
164+
165+ < form action ="/getPackagesForDistro " method ="get " class ="packages-distro ">
166+ < label for ="distroGardenlinuxVersion " style ="width: 320px; "> Lookup packages for Garden Linux version:</ label >
167+ < select id ="distroGardenlinuxVersion " name ="gardenlinuxVersion " required >
168+ < option value =""> Loading...</ option >
169+ </ select >
170+ < button type ="submit " class ="distribution "> Go</ button >
171+ </ form > </ form >
172+
173+ < form action ="/getReleaseNotes " method ="get " class ="release-notes ">
174+ < label for ="releaseNotesGardenlinuxVersion " style ="width: 320px; "> Lookup Release Notes for Garden Linux version:</ label >
175+ < select id ="releaseNotesGardenlinuxVersion " name ="gardenlinuxVersion " required >
176+ < option value =""> Loading...</ option >
177+ </ select >
178+ < button type ="submit " class ="distribution "> Go</ button >
179+ </ form >
180+
181+ < form action ="/getTriageList " method ="get " class ="triage-list ">
182+ < label for ="triageListGardenlinuxVersion " style ="width: 320px; "> Lookup Triage List for Garden Linux version:</ label >
183+ < select id ="triageListGardenlinuxVersion " name ="gardenlinuxVersion " required >
184+ < option value =""> Loading...</ option >
185+ </ select >
186+ < button type ="submit " class ="triage "> Go</ button >
187+ </ form >
188+ < div style ="font-size: 0.95em; color: #888; margin-top: 4px; ">
189+ Hint: Loading might take a few seconds.
190+ </ div >
191+
192+
148193 < p > If you have feedback or want to contribute, please visit our < a href ="https://github.com/gardenlinux/glvd "
149194 target ="_blank "> GitHub
150195 repository</ a > .</ p >
0 commit comments