From 1c39c606ca74c1fd340f3c8495fd49f10d686b7a Mon Sep 17 00:00:00 2001 From: Axel Hahn <axel.hahn@iml.unibe.ch> Date: Tue, 5 May 2015 11:06:15 +0200 Subject: [PATCH] overview: lighter buttons; fix detection of processing user --- public_html/deployment/classes/actionlog.class.php | 3 ++- public_html/deployment/main.css | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/public_html/deployment/classes/actionlog.class.php b/public_html/deployment/classes/actionlog.class.php index a094e1e5..4afecb48 100644 --- a/public_html/deployment/classes/actionlog.class.php +++ b/public_html/deployment/classes/actionlog.class.php @@ -49,7 +49,8 @@ class Actionlog { $this->_sUser = $_SERVER["PHP_AUTH_USER"] . " (web)"; } else { $this->_sIP = 'local'; - $this->_sUser = posix_getpwuid(posix_geteuid()) . " (system)"; + $aUser=posix_getpwuid(posix_geteuid()); + $this->_sUser = $aUser['name'] . " (system)"; } } diff --git a/public_html/deployment/main.css b/public_html/deployment/main.css index d6aad699..005da5a6 100644 --- a/public_html/deployment/main.css +++ b/public_html/deployment/main.css @@ -75,6 +75,7 @@ h2.deploy{background-image: url("/deployment/images/nuvola64x64/apps/iconthemes. h2.prjhome{background-image: url("/deployment/images/nuvola64x64/apps/kdict.png");} h2.phase{background-image: url("/deployment/images/nuvola64x64/apps/kreversi.png");} h2.setup{background-image: url("/deployment/images/nuvola64x64/apps/kcmsystem.png");} +h2.login{background-image: url("/deployment/images/nuvola64x64/apps/kgpg.png");} h3{color:#444; margin-top: 3em;} h3:first-child{margin-top: 0;} @@ -108,7 +109,7 @@ thead{font-size: 130%;} #tbloverview th{} #tbloverview td{} -th{border-radius: 0.7em 0.7em 0 0; text-align: center;} +th{/*border-radius: 0.7em 0.7em 0 0; */ text-align: center; border-right: 1px solid #fff;} th.prj{background:#f8f8f8;} th.versioncontrol{background: #eee; } th.preview{color:#eee; } @@ -117,6 +118,10 @@ th.live{color:#eee; } tr{/* background: linear-gradient(#fff,#fff,#fff,#fff,#eee); */} tr:hover{background:#ddd; background: linear-gradient(#f0f0f0,#fff,#f0f0f0);} +.trproject a.btn{opacity: 0.2;} +.trproject:hover a.btn{opacity: 1;} + + td.preview{} td.stage{} td.live{} -- GitLab