@@ -190,20 +190,22 @@ def dashboard_html
190190
191191 .container { max-width : 1200px ; margin : 0 auto; padding : 24px ; }
192192
193- .controls { display : flex; gap : 12px ; align-items : center; margin-bottom : 24px ; flex-wrap : wrap; }
194- .controls select , .controls input { background : # 21262d ; color : # e1e4e8 ; border : 1px solid # 30363d ; border-radius : 6px ; padding : 8px 12px ; font-size : 14px ; }
193+ .controls { display : flex; gap : 12px ; align-items : flex-end; margin-bottom : 24px ; flex-wrap : wrap; }
194+ .controls select , .controls input { background : # 21262d ; color : # e1e4e8 ; border : 1px solid # 30363d ; border-radius : 6px ; padding : 8px 12px ; font-size : 14px ; height : 38px ; }
195+ .controls select { height : 38px ; }
195196 .controls input { width : 80px ; text-align : center; }
196197 .controls input : disabled , .controls select : disabled { opacity : 0.5 ; cursor : not-allowed; }
197198 .controls label { font-size : 12px ; color : # 8b949e ; display : flex; flex-direction : column; gap : 4px ; }
198- .controls button { padding : 8px 20px ; border-radius : 6px ; font-size : 14px ; font-weight : 600 ; cursor : pointer; border : none; transition : background 0.2s ; }
199+ .controls button { padding : 8px 20px ; border-radius : 6px ; font-size : 14px ; font-weight : 600 ; cursor : pointer; border : none; transition : background 0.2s ; height : 38px ; }
200+ .btn-group { display : flex; gap : 8px ; align-items : flex-end; }
199201 .btn-start { background : # 238636 ; color : # fff ; }
200202 .btn-start : hover { background : # 2ea043 ; }
201203 .btn-start : disabled { background : # 21262d ; color : # 484f58 ; cursor : not-allowed; }
202204 .btn-stop { background : # da3633 ; color : # fff ; }
203205 .btn-stop : hover { background : # f85149 ; }
204206 .btn-stop : disabled { background : # 21262d ; color : # 484f58 ; cursor : not-allowed; }
205207
206- .cards { display : grid; grid-template-columns : repeat (auto-fit , minmax ( 180 px , 1fr ) ); gap : 16px ; margin-bottom : 24px ; }
208+ .cards { display : grid; grid-template-columns : repeat (5 , 1fr ); gap : 16px ; margin-bottom : 24px ; }
207209 .card { background : # 161b22 ; border : 1px solid # 30363d ; border-radius : 8px ; padding : 16px ; }
208210 .card .label { font-size : 12px ; color : # 8b949e ; text-transform : uppercase; margin-bottom : 4px ; }
209211 .card .value { font-size : 28px ; font-weight : 700 ; font-variant-numeric : tabular-nums; }
@@ -250,12 +252,14 @@ def dashboard_html
250252
251253 < div class ="container ">
252254 < div class ="controls ">
253- < select id ="scenarioSelect "> </ select >
254- < label > Users< input type ="number " id ="cfgUsers " min ="1 "> </ label >
255- < label > Spawn Rate< input type ="number " id ="cfgSpawnRate " min ="0.1 " step ="0.1 "> </ label >
256- < label > Workers< input type ="number " id ="cfgWorkers " min ="1 "> </ label >
257- < button id ="startBtn " class ="btn-start " onclick ="startTest() "> Start</ button >
258- < button id ="stopBtn " class ="btn-stop " onclick ="stopTest() " disabled > Stop</ button >
255+ < label > Scenario< select id ="scenarioSelect "> </ select > </ label >
256+ < label > User Pool< input type ="number " id ="cfgUsers " min ="1 "> </ label >
257+ < label > Spawn/s< input type ="number " id ="cfgSpawnRate " min ="0.1 " step ="0.1 "> </ label >
258+ < label > Concurrent< input type ="number " id ="cfgWorkers " min ="1 "> </ label >
259+ < div class ="btn-group ">
260+ < button id ="startBtn " class ="btn-start " onclick ="startTest() "> Start</ button >
261+ < button id ="stopBtn " class ="btn-stop " onclick ="stopTest() " disabled > Stop</ button >
262+ </ div >
259263 </ div >
260264
261265 < div class ="cards ">
0 commit comments