Commit graph

10 commits

Author SHA1 Message Date
Sean McGivern
fc3dfb61b7 Use icon helper 2016-08-25 16:07:20 +01:00
Sean McGivern
085e1f89f3 Handle unavailable system info
For Linux with the grsecurity patches applied, paths in `/proc` may not
be readable, so handle those cases and show a message rather than
blowing up.
2016-08-25 08:28:35 +01:00
Robert Speicher
f991b7fce6 Merge branch 'code_style_fixes' into 'master'
Remove unnecessary parens and other code style fixes

This MR is based on reviewers` comments to https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/440

See merge request !5015
2016-06-30 15:29:09 +00:00
Valery Sizov
13fc95acc4 Remove unnecessary parens 2016-06-30 16:01:26 +03:00
Josh Frye
98238a27c7 Loop all disks when displaying system info 2016-06-29 16:02:12 -04:00
Josh Frye
0aa0ace9bc Change load average to cpu/cores on system info. 2016-06-28 21:35:42 -04:00
Josh Frye
13ba3bd4fd Use number_to_human_size for system info and remove dependency on Filesize gem. 2016-06-28 21:35:42 -04:00
Josh Frye
242aa5bd66 Round figures for system info 2016-06-28 21:35:42 -04:00
Josh Frye
391a9f650e Fix styling 2016-06-28 21:35:42 -04:00
Josh Frye
82edef9414 Show basic system info on admin panel. Closes #18886 2016-06-28 21:35:42 -04:00