diff options
author | Josh Frye <joshfng@gmail.com> | 2016-06-22 10:43:28 -0400 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-06-28 21:35:42 -0400 |
commit | 82edef941406eef9e4be12341a064566ac848dce (patch) | |
tree | 8cd263d3c9c813c9f1fb3b23245b6f86fd0951b5 /app/views/admin/system_info | |
parent | ebe21acc2a2f0a569e1e10314ac9407024becafb (diff) | |
download | gitlab-ce-82edef941406eef9e4be12341a064566ac848dce.tar.gz |
Show basic system info on admin panel. Closes #18886
Diffstat (limited to 'app/views/admin/system_info')
-rw-r--r-- | app/views/admin/system_info/show.html.haml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/admin/system_info/show.html.haml b/app/views/admin/system_info/show.html.haml new file mode 100644 index 00000000000..01496e4fcf5 --- /dev/null +++ b/app/views/admin/system_info/show.html.haml @@ -0,0 +1,22 @@ +- @no_container = true +- page_title "System Info" += render 'admin/background_jobs/head' + +%div{ class: (container_class) } + %p + .row + .col-sm-4 + .light-well + %h4 CPU Load + .data + %h1= @load + .col-sm-4 + .light-well + %h4 Memory + .data + %h1= "#{@mem_used} / #{@mem_total}" + .col-sm-4 + .light-well + %h4 Disk + .data + %h1= "#{@disk_used} / #{@disk_total}" |