Files
RootPanel/plugin/ssh/view/widget.jade
2014-11-17 23:17:43 +08:00

29 lines
954 B
Plaintext

.row.widget-ssh
header= t('')
.col-md-6
.panel.panel-warning
.panel-heading
h3.panel-title= t('view.update_password')
.panel-body
.input-group
input.input-password.form-control(type='password')
span.input-group-btn
button.btn.btn-default.action-update-password(type='button')= t('common.submit')
.col-md-6
table(style= 'table-layout: fixed;').table.table-hover
thead
tr
th(style= 'width: 240px;')= t('process')
th= t('memory')
th= t('cpu')
th= t('common.actions')
tbody
for process in process_list
tr(data-id= '#{process.pid}')
td(style= 'white-space: nowrap; overflow: hidden;', title= process.command)= process.command
td #{(process.rss / 1024).toFixed(1)}M
td #{process.cpu_per}%
td
button.action-kill.btn.btn-danger.btn-xs= t('kill')