webapp.templates.home.screen.nodeList.vm Maven / Gradle / Ivy
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))
机器管理
序号
机器名字
IP
端口
状态
操作
#foreach($seniorNode in $seniorNodes)
#set ($nodeInfoURL = $homeModule.setTarget("nodeInfo.vm").addQueryData("nodeId", $seniorNode.id).render())
$seniorNode.id
$seniorNode.name
$seniorNode.description
#if($seniorNode.parameters.useExternalIp) $seniorNode.parameters.externalIp (外) #else $seniorNode.ip #end
$seniorNode.port
#if($seniorNode.status.isStart()) 已启动 #else 未启动 #end
查看
#if($user.authorizeType.isAdmin())
#if($seniorNode.status.isStart())
|编辑
#else
#set ($editURL = $homeModule.setTarget("editNode.vm").addQueryData("nodeId", $seniorNode.id).addQueryData("pageIndex", $!paginator.page).addQueryData("searchKey", $!searchKey))
|编辑
#end
#if($seniorNode.isUsed())
|删除
#else
#set ($removeURL = $homeModule.setAction("nodeAction").addQueryData("nodeId", $seniorNode.id).addQueryData("pageIndex", $!paginator.page).addQueryData("searchKey", $!searchKey).addQueryData("eventSubmitDoDelete", "true"))
|删除
#end
#end
#end
#if($user.authorizeType.isAdmin())
#end
共$paginator.items条数据 第$paginator.page页/共$paginator.pages页
#if($paginator.page == 1)
首页
#else
首页
#end
#if($paginator.page > 1)
#set($pre_page = $paginator.page - 1)
上一页
#else
上一页
#end
##分页下标
#set($counts_keys = $paginator.getSlider(7))
#foreach( $thisPage in $counts_keys)
#if( $thisPage == $paginator.page)
$thisPage
#else
#if($thisPage != 0)
$thisPage
#end
#end
#end
#if($paginator.page < $paginator.pages)
#set($next_page = $paginator.page + 1)
下一页
#else
下一页
#end
#if($paginator.page == $paginator.pages)
末页
#else
末页
#end
© 2015 - 2024 Weber Informatics LLC | Privacy Policy