Added Server activity log
This commit is contained in:
@@ -15,6 +15,12 @@ class Controller_Server extends Controller_TemplateDefault {
|
||||
* Default Index for Controller
|
||||
*/
|
||||
public function action_index() {
|
||||
$so = ORM::factory('STATUS',Session::instance()->get('SERVER')->get('SERVER_NAME'));
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('Server Information'),
|
||||
'body'=>View::factory(sprintf('%s/detail',strtolower($this->request->controller())))->set('o',$so),
|
||||
));
|
||||
}
|
||||
|
||||
public function action_gantt() {
|
||||
|
@@ -71,6 +71,14 @@ class Controller_Tree extends lnApp_Controller_Tree {
|
||||
'attr_href'=>URL::Site('stgpool'),
|
||||
));
|
||||
|
||||
array_push($data,array(
|
||||
'id'=>'server',
|
||||
'name'=>'Server Info',
|
||||
'state'=>'none',
|
||||
'attr_id'=>'1',
|
||||
'attr_href'=>URL::Site('server'),
|
||||
));
|
||||
|
||||
array_push($data,array(
|
||||
'id'=>'volume',
|
||||
'name'=>'Volume Info',
|
||||
|
Reference in New Issue
Block a user