> On Sept. 4, 2015, 3:32 p.m., Michael Park wrote: > > src/webui/master/static/home.html, line 101 > > <https://reviews.apache.org/r/38118/diff/1/?file=1063733#file1063733line101> > > > > Does `number:4` not give us what we want here?
could not, if number is small than "0.000001", use number:4 here would become "0.0000". For normal value, "4.2" also would become "4.2000". - haosdent ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38118/#review97759 ----------------------------------------------------------- On Sept. 4, 2015, 12:54 p.m., haosdent huang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/38118/ > ----------------------------------------------------------- > > (Updated Sept. 4, 2015, 12:54 p.m.) > > > Review request for mesos, Kapil Arya and Michael Park. > > > Bugs: MESOS-2635 > https://issues.apache.org/jira/browse/MESOS-2635 > > > Repository: mesos > > > Description > ------- > > Fix webui display problems when starting lots of tasks with small cpu value. > > > Diffs > ----- > > src/webui/master/static/home.html ce8ca192235c224715c01fef0b8ddb187dc0a827 > src/webui/master/static/js/controllers.js > 3445028138fd621d0e3a5427668c5eca7db5224f > > Diff: https://reviews.apache.org/r/38118/diff/ > > > Testing > ------- > > manually test > > * Before fix > ![before_fix](https://issues.apache.org/jira/secure/attachment/12754133/fixed_before.png) > * After fix > ![after_fix](https://issues.apache.org/jira/secure/attachment/12754132/fixed_after.png) > > > Thanks, > > haosdent huang > >