48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
- content_for :head do
|
|
// Force a full page reload, see https://github.com/turbolinks/turbolinks/issues/326.
|
|
Otherwise, the global variable `vis` might be uninitialized in the assets (race condition)
|
|
meta name='turbolinks-visit-control' content='reload'
|
|
- append_javascript_pack_tag('vis')
|
|
- append_stylesheet_pack_tag('vis')
|
|
|
|
h1 = t('breadcrumbs.dashboard.show')
|
|
|
|
h2 Version
|
|
|
|
.mb-4
|
|
= application_name
|
|
=< t('admin.dashboard.show.release')
|
|
| :
|
|
pre = Sentry.configuration.release
|
|
|
|
- if Runner.management_active?
|
|
.mb-4
|
|
= Runner.strategy_class.name.demodulize
|
|
=< t('admin.dashboard.show.release')
|
|
| :
|
|
pre = Admin::DashboardHelper.runner_management_release
|
|
|
|
h2 Docker
|
|
|
|
- if Runner.management_active?
|
|
h3 = t('admin.dashboard.show.current')
|
|
.table-responsive
|
|
table.table
|
|
thead
|
|
tr
|
|
th = t('activerecord.models.execution_environment.one')
|
|
th = t('activerecord.attributes.execution_environment.pool_size')
|
|
th = t('admin.dashboard.show.idleRunners')
|
|
th = t('admin.dashboard.show.usedRunners')
|
|
tbody
|
|
- ExecutionEnvironment.order(:name).each do |execution_environment|
|
|
tr data-id=execution_environment.id
|
|
td.name = link_to_if(policy(execution_environment).show?, execution_environment, execution_environment)
|
|
td.prewarming-pool-size
|
|
td.idle-runners = progress_bar(0)
|
|
td.used-runners
|
|
h3 = t('admin.dashboard.show.history')
|
|
#graph
|
|
- else
|
|
p = t('admin.dashboard.show.inactive')
|