diff --git a/library/Director/Web/Table/ObjectsTableHost.php b/library/Director/Web/Table/ObjectsTableHost.php new file mode 100644 index 00000000..5b20068c --- /dev/null +++ b/library/Director/Web/Table/ObjectsTableHost.php @@ -0,0 +1,42 @@ + 'o.object_name', + 'display_name' => 'o.display_name', + 'address' => 'o.address', + 'id' => 'o.id', + ]; + + protected $showColumns = [ + 'object_name' => 'Hostname', + 'address' => 'Address' + ]; + + protected function assemble() + { + $this->enableMultiSelect( + 'director/hosts/edit', + 'director/hosts', + ['name'] + ); + } + + // Restrictions! + // foreach ($this->objectRestrictions as $restriction) { + // $restriction->applyToHostsQuery($query); + // } +}