Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Commits
f32f79a4
Commit
f32f79a4
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[backend,ui] Allow visualisation of running splits per experiment
parent
1e91e8b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!194
Scheduler
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
beat/web/backend/templates/backend/scheduler.html
+12
-2
12 additions, 2 deletions
beat/web/backend/templates/backend/scheduler.html
beat/web/ui/static/ui/css/style.css
+11
-0
11 additions, 0 deletions
beat/web/ui/static/ui/css/style.css
with
23 additions
and
2 deletions
beat/web/backend/templates/backend/scheduler.html
+
12
−
2
View file @
f32f79a4
...
...
@@ -23,6 +23,7 @@
{% load fingerprint %}
{% load backend_tags %}
{% load humanize %}
{% block title %}{{ block.super }} - Scheduler{% endblock %}
...
...
@@ -164,6 +165,15 @@
<td>
{{ obj|count_job_splits:"L" }}
</td>
<td>
{{ obj|count_job_splits:"S" }}
</td>
</tr>
{% for split in obj.job_splits %}
<tr
class=
"job-split"
>
<td
class=
"job-split-empty"
></td>
<td>
{{ split.job.block.name }} (
<strong>
{{ split.get_status_display }}
</strong>
)
</td>
<td>
{{ split.split_index|add:"1" }}/{{ split.job.block.required_slots }}
</td>
<td
colspan=
"3"
>
{% if split.worker.name %} at {{ split.worker.name }} (consuming {{ split.job.block.queue.cores_per_slot }} core{{ split.job.block.queue.cores_per_slot|pluralize }}){% endif %}
</td>
<td
colspan=
"3"
>
{% if split.start_date %}
<i
class=
"fa fa-clock-o"
></i>
{{ split.start_date|naturaltime }}{% endif %}
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
...
...
@@ -181,8 +191,8 @@
<tr>
<th
class=
"status"
></th>
<th>
Name
</th>
<th>
Available/Total Cores (
In use
)
</th>
<th>
Memory (in Gb) (
In use
)
</th>
<th>
Available/Total Cores (
Load
)
</th>
<th>
Memory (in Gb) (
Load
)
</th>
<th>
Last Updated
</th>
<th>
Info
</th>
</tr>
...
...
This diff is collapsed.
Click to expand it.
beat/web/ui/static/ui/css/style.css
+
11
−
0
View file @
f32f79a4
...
...
@@ -528,3 +528,14 @@ select.form-control.input-sm + .chosen-container.chosen-container-single .chosen
.chosen-container
.chosen-results
li
.highlighted
.help
{
color
:
#3e3e3e
;
}
/*********** Backend: scheduler page style ************/
tr
.job-split
{
color
:
#ababab
;
font-style
:
italic
;
}
tr
.job-split
td
.job-split-empty
{
background-color
:
#dedede
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment