summaryrefslogtreecommitdiff
path: root/app/views/admin/system_info
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-06-22 10:43:28 -0400
committerJosh Frye <joshfng@gmail.com>2016-06-28 21:35:42 -0400
commit82edef941406eef9e4be12341a064566ac848dce (patch)
tree8cd263d3c9c813c9f1fb3b23245b6f86fd0951b5 /app/views/admin/system_info
parentebe21acc2a2f0a569e1e10314ac9407024becafb (diff)
downloadgitlab-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.haml22
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}"