From f66ab8dae2f3d0418759f81a3a64dc9517a62449 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:17:31 +0200 Subject: Adding upstream version 1.10.2. Signed-off-by: Daniel Baumann --- library/Director/Web/Table/ObjectsTableHost.php | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 library/Director/Web/Table/ObjectsTableHost.php (limited to 'library/Director/Web/Table/ObjectsTableHost.php') diff --git a/library/Director/Web/Table/ObjectsTableHost.php b/library/Director/Web/Table/ObjectsTableHost.php new file mode 100644 index 0000000..5128e04 --- /dev/null +++ b/library/Director/Web/Table/ObjectsTableHost.php @@ -0,0 +1,40 @@ + 'o.object_name', + 'display_name' => 'o.display_name', + 'address' => 'o.address', + 'disabled' => 'o.disabled', + 'uuid' => 'o.uuid', + ]; + + protected $showColumns = [ + 'object_name' => 'Hostname', + 'address' => 'Address' + ]; + + public function assemble() + { + $this->enableMultiSelect( + 'director/hosts/edit', + 'director/hosts', + ['uuid'] + ); + } +} -- cgit v1.2.3