{extends file='../layouts/index.html'} {block name=body}
{include file='../blocks/btn.html'}
{form_open('','method="get" class="form-inline col-lg-12 m-b-none" data-pjax')} {$html_tree_select} {_('添加可用区')} {form_close()}
{form_open('','id="formList" class="m-b-none" target="iframeNew"')}
_('搜索云服务器编号')], {foreach from=$list item=m} {/foreach}
{_('节点名称')}/URL {_('Proxmox信息')}noVnc {_('用户名')}@{_('领域')} {_('销售状态')} {_('启用状态')}
{$m.id} {$m['name'|get_lang_field]} {$m['column_name'|get_lang_field]}
{if !element('api_id',$m)} {$m.proxmox_url} {else} {_('代理集群')} {/if}
{if !element('api_id',$m)} {if $m.proxmox_info} {_('版本编号')}:{'version'|element:$m.proxmox_info}
{if 'productname'|element:$m.proxmox_info} {_('订阅产品')}:{'productname'|element:$m.proxmox_info} {else}{_('无订阅')}{/if}
{if 'status'|element:$m.proxmox_info eq 'Active'}{_('订阅已激活')}({'nextduedate'|element:$m.proxmox_info} {_('到期')}){/if} {else} {_('点击获取')} {/if}
{/if}
{if !element('api_id',$m)} {if $m.install_novnc}{_('已安装')}{else}{_('未安装')}{/if}{/if} {/if} {$m.username}@{$m.realm} {'server_cluster'|action_url|html_status:$m.id:$m.status} {form_toggle(['type'=>'status','size'=>'mini','reverse'=>1],[1=>_('禁用'),0=>_('启用')],element('status_kill',$m,0))}
Proxmox
{form_close()}
{/block}