任务编辑页面-添加主机链接在新窗口打开
parent
7c3f6a58d4
commit
85996077ec
|
@ -56,7 +56,7 @@
|
||||||
{{{range $i, $v := .Hosts}}}
|
{{{range $i, $v := .Hosts}}}
|
||||||
<option value="{{{.Id}}}" {{{if $.Task}}}{{{if eq $.Task.HostId .Id }}} selected {{{end}}} {{{end}}}>{{{.Alias}}}-{{{.Name}}}</option>
|
<option value="{{{.Id}}}" {{{if $.Task}}}{{{if eq $.Task.HostId .Id }}} selected {{{end}}} {{{end}}}>{{{.Alias}}}-{{{.Name}}}</option>
|
||||||
{{{end}}}
|
{{{end}}}
|
||||||
</select> <a class="ui blue button" href="/host/create">添加主机</a>
|
</select> <a class="ui blue button" href="/host/create" target="_blank">添加主机</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue