Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show experiment parameters more beautifully (#262) #41

Merged
merged 1 commit into from
Oct 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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