Files
codeocean/app/views/admin/dashboard/show.html.slim
2018-11-06 16:46:00 +01:00

33 lines
800 B
Plaintext

h1 = t('breadcrumbs.dashboard.show')
h2 Version
div
= "Branch:"
pre = `git rev-parse --abbrev-ref HEAD`
div
= "Commit:"
pre = `git log -n 1 --pretty`
h2 Docker
- if DockerContainerPool.config[:active]
h3 = t('.current')
.table-responsive
table.table
thead
tr
th = t('activerecord.models.execution_environment.one')
th = t('activerecord.attributes.execution_environment.pool_size')
th = t('.quantity')
tbody
- ExecutionEnvironment.order(:name).each do |execution_environment|
tr data-id=execution_environment.id
td.name = link_to(execution_environment, execution_environment)
td.pool-size
td.quantity = progress_bar(0)
h3 = t('.history')
#graph
- else
p = t('.inactive')