| hostID);?> |
- inlink('browsetemplate', "id=$host->hostID"), $host->name) : $host->name;?> |
+ inlink('view', "id=$host->hostID"), $host->name, '', "");?> |
zahost->zaHostTypeList, $host->hostType);?> |
- publicIP;?> |
+ extranet;?> |
cpuCores;?> |
memory . $lang->zahost->unitList['GB'];?> |
- diskSize . zget($lang->zahost->unitList, $host->unit);?> |
- virtualSoftware;?> |
+ diskSize . $lang->zahost->unitList['GB'];?> |
+ vsoft;?> |
host->statusList, $host->status);?> |
- instanceNum;?> |
- registerDate) ? '' : $host->registerDate;?> |
+ heartbeat) ? '' : $host->heartbeat;?> |
hostID}", $host, 'list');?>
createLink('zahost', 'delete', "hostID={$host->id}"), '', 'hiddenwin', "title='{$lang->zahost->delete}' class='btn'");;?>
diff --git a/module/zahost/view/browseimage.html.php b/module/zahost/view/browseimage.html.php
new file mode 100755
index 0000000000..f3a6c12fc8
--- /dev/null
+++ b/module/zahost/view/browseimage.html.php
@@ -0,0 +1,66 @@
+
+ * @package zahost
+ * @version $Id$
+ * @link http://www.zentao.net
+ */
+?>
+
+
+
+
+ createLink('zahost', 'browseimage', "hostID=$hostID"), "{$lang->zahost->image->browseImage}", '', "class='btn btn-link btn-active-text'");?>
+
+
+' data-module='vmTemplate'>
+
+ recTotal}&recPerPage={$pager->recPerPage}";?>
+
+
+
+ zahost->image->imageEmpty;?>
+
+
+
+
+
+
+ | zahost->image->name);?> |
+ zahost->image->desc;?> |
+ zahost->image->memory);?> |
+ zahost->image->disk);?> |
+ zahost->status;?> |
+ zahost->image->progress;?> |
+ actions;?> |
+
+
+
+
+
+ | name;?> |
+ desc;?> |
+ memory . zget($this->lang->zahost->unitList, 'GB');?> |
+ disk . zget($this->lang->zahost->unitList, 'GB');?> |
+ '>zahost->image->statusList, $image->status, '');?> |
+ status == 'completed' ? '100%' : '';?> |
+
+ name}&imageID={$image->id}", $image, 'list', 'download', '', in_array($image->status, array("completed", "inprogress", "created")) ? "disabled image-download-" . zget($image, 'id', 0) : "image-download-" . zget($image, 'id', 0));?>
+ createLink('zahost', 'downloadImage', "id={$image->id}"), '', 'hiddenwin', "title='{$lang->zahost->image->downloadImage}' class='btn'");?>
+ id}", $image, 'list', 'edit');?>
+ createLink('zahost', 'deleteImage', "id={$image->id}"), '', 'hiddenwin', "title='{$lang->zahost->delete}' class='btn'");?>
+ |
+
+
+
+
+
+
+
+getModuleRoot() . 'common/view/footer.html.php';?>
diff --git a/module/zahost/view/browsetemplate.html.php b/module/zahost/view/browsetemplate.html.php
deleted file mode 100755
index e9a7fb7d47..0000000000
--- a/module/zahost/view/browsetemplate.html.php
+++ /dev/null
@@ -1,80 +0,0 @@
-
- * @package zahost
- * @version $Id$
- * @link http://www.zentao.net
- */
-?>
-
-
-' data-module='vmTemplate'>
-
- recTotal}&recPerPage={$pager->recPerPage}";?>
-
-
-
- zahost->templateEmpty;?>
- ' . $lang->zahost->createTemplate, '', 'class="btn btn-info"');?>
-
-
-
-
-
-
- | idAB);?> |
- zahost->name);?> |
- zahost->cpuCoreNum);?> |
- zahost->memory);?> |
- zahost->diskSize);?> |
- zahost->osCategory);?> |
- zahost->osType);?> |
- zahost->osVersion);?> |
- zahost->osLang);?> |
- actions;?> |
-
-
-
-
-
- | id;?> |
- name;?> |
- cpuCoreNum;?> |
- memorySize . zget($this->lang->zahost->unitList, 'GB');?> |
- diskSize . $template->unit;?> |
- zahost->os->list, $template->osCategory);?> |
- zahost->os->type[$template->osCategory], $template->osType);?> |
- zahost->versionList[$template->osType], $template->osVersion);?> |
- zahost->langList, $template->osLang);?> |
-
- id}", $template, 'list', 'edit');?>
- createLink('zahost', 'deleteTemplate', "id={$template->id}"), '', 'hiddenwin', "title='{$lang->zahost->delete}' class='btn'");?>
- |
-
-
-
-
-
-
-
-getModuleRoot() . 'common/view/footer.html.php';?>
diff --git a/module/zahost/view/create.html.php b/module/zahost/view/create.html.php
index 861a17515a..5bcb7c257a 100644
--- a/module/zahost/view/create.html.php
+++ b/module/zahost/view/create.html.php
@@ -11,6 +11,7 @@
*/
?>
getModuleRoot() . 'common/view/header.html.php';?>
+getModuleRoot() . 'common/view/kindeditor.html.php';?>
|