* Adjust host api.

This commit is contained in:
liyuchun
2022-09-19 21:09:17 +08:00
parent 4a0fe3fc6f
commit aa227a548f
7 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ class executionnode extends control
}
$this->view->title = $this->lang->executionnode->create;
$this->view->hostPairs = $this->loadModel('zahost')->getPairs('host');
$this->view->hostPairs = array('' => '') + $this->loadModel('zahost')->getPairs('host');
return $this->display();
}
+1
View File
@@ -20,6 +20,7 @@ $lang->executionnode->vmTemplate = 'VM Template';
$lang->executionnode->name = 'Name';
$lang->executionnode->start = 'Start After Created';
$lang->executionnode->hostName = 'Host Name';
$lang->executionnode->hostID = $lang->executionnode->hostName;
$lang->executionnode->ip = 'IP';
$lang->executionnode->osArch = 'Arch';
$lang->executionnode->osLang = 'Language';
+1
View File
@@ -20,6 +20,7 @@ $lang->executionnode->vmTemplate = 'VM Template';
$lang->executionnode->name = 'Name';
$lang->executionnode->start = 'Start After Created';
$lang->executionnode->hostName = 'Host Name';
$lang->executionnode->hostID = $lang->executionnode->hostName;
$lang->executionnode->ip = 'IP';
$lang->executionnode->osArch = 'Arch';
$lang->executionnode->osLang = 'Language';
+1
View File
@@ -20,6 +20,7 @@ $lang->executionnode->vmTemplate = 'VM Template';
$lang->executionnode->name = 'Name';
$lang->executionnode->start = 'Start After Created';
$lang->executionnode->hostName = 'Host Name';
$lang->executionnode->hostID = $lang->executionnode->hostName;
$lang->executionnode->ip = 'IP';
$lang->executionnode->osArch = 'Arch';
$lang->executionnode->osLang = 'Language';
+2
View File
@@ -20,6 +20,7 @@ $lang->executionnode->vmTemplate = '虚拟机模板';
$lang->executionnode->name = '执行节点名称';
$lang->executionnode->start = '创建后自动开启';
$lang->executionnode->hostName = '所属宿主机';
$lang->executionnode->hostID = $lang->executionnode->hostName;
$lang->executionnode->ip = 'IP';
$lang->executionnode->osArch = '架构';
$lang->executionnode->osLang = '系统语言';
@@ -59,6 +60,7 @@ $lang->executionnode->statusList['launch'] = '启动中';
$lang->executionnode->statusList['ready'] = '运行中';
$lang->executionnode->statusList['running'] = '运行中';
$lang->executionnode->statusList['suspend'] = '暂停';
$lang->executionnode->statusList['offline'] = '下线';
$lang->executionnode->statusList['destroy'] = '已销毁';
$lang->executionnode->statusList['destroy_fail'] = '销毁失败';