Skip to content

Commit

Permalink
Show experiment parameters more beautifully (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvybriage authored and QuanluZhang committed Oct 24, 2018
1 parent ebbadfe commit a26c46b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions src/webui/src/components/Sessionpro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,10 @@ class Sessionpro extends React.Component<{}, SessionState> {
<div className="author">
<div className="message">
<div className="proKey">
<span>Author</span>
<span>Author:</span>
<span className="messcont">{trialProfile.author}</span>
</div>
<span>Experiment&nbsp;Name</span>
<span>Experiment&nbsp;Name:</span>
<p className="messcont">{trialProfile.experName}</p>
</div>
<div className="logo">
Expand All @@ -466,15 +466,15 @@ class Sessionpro extends React.Component<{}, SessionState> {
<div className="type">
<div className="message">
<div className="proKey">
<span>id</span>
id:
<span className="messcont">{trialProfile.id}</span>
</div>
<p>
<span>Duration</span>
Duration:
<span className="messcont">{maxRuntime}</span>
</p>
<p>
<span>Still&nbsp;run</span>
Still&nbsp;run:
<span className="messcont">{runningStr}</span>
</p>
</div>
Expand All @@ -484,24 +484,24 @@ class Sessionpro extends React.Component<{}, SessionState> {
</div>
<div className="runtime message">
<p className="proTime">
<span>Start Time</span><br />
<span>Start Time:</span><br />
<span className="messcont">{trialProfile.startTime}</span>
</p>
<span>End Time</span>
<span>End Time:</span>
<p className="messcont">{trialProfile.endTime}</p>
</div>
<div className="cdf">
<div className="message">
<div className="proKey trialNum">
Concurrency&nbsp;Trial
Concurrency&nbsp;Trial:
<span className="messcont">{trialProfile.runConcurren}</span>
</div>
<p>
Max&nbsp;Trial&nbsp;Number
MaxTrial&nbsp;Number:
<span className="messcont">{trialProfile.MaxTrialNum}</span>
</p>
<p className="experStatus">
Status
Status:
<span className="messcont">{status}</span>
</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/webui/src/style/sessionpro.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
width: 50%;
}
.session .head .headCon>div .message{
width: 30px;
height: 100%;
margin: 0 auto;
padding-left: 6px;
box-sizing: border-box;
}
Expand All @@ -71,8 +69,9 @@
padding-top: 21px;
}
.session .head .headCon>div .logo{
width: 100%;
width: 113px;
height: 100%;
margin-top: 6px;
}
.session .head .headCon>div .logo i{
width: 60px;
Expand Down Expand Up @@ -122,6 +121,7 @@
.messcont{
padding-left: 10px;
font-size: 14px;
white-space:nowrap;
}
.searchTitle {
/* font-size: 30px; */
Expand Down

0 comments on commit a26c46b

Please sign in to comment.