gocron/templates/host/index.html

51 lines
1.6 KiB
HTML
Raw Normal View History

{{{ template "common/header" . }}}
<div class="ui grid">
{{{ template "host/menu" . }}}
<div class="twelve wide column">
<div class="pageHeader">
<div class="segment">
<h3 class="ui dividing header">
2017-04-09 09:55:55 +00:00
<i class="linux icon"></i>
<div class="content">
2017-04-09 09:55:55 +00:00
主机列表
</div>
</h3>
</div>
</div>
2017-04-14 10:05:34 +00:00
<table class="ui striped table">
<thead>
<tr>
<th>主机名</th>
<th>别名</th>
<th>用户名</th>
<th>密码</th>
<th>端口</th>
<th>备注</th>
2017-04-13 09:35:59 +00:00
<th>操作</th>
</tr>
</thead>
<tbody>
{{{range $i, $v := .Hosts}}}
<tr>
<td>{{{.Name}}}</td>
<td>{{{.Alias}}}</td>
<td>{{{.Username}}}</td>
<td>{{{.Password}}}</td>
<td>{{{.Port}}}</td>
<td>{{{.Remark}}}</td>
2017-04-14 10:05:34 +00:00
<td>
2017-04-18 01:13:57 +00:00
<button class="ui pink button" >编辑</button>
2017-04-14 10:05:34 +00:00
<button class="ui positive button" onclick="util.removeConfirm('/host/remove/{{{.Id}}}')">删除</button>
2017-04-18 01:13:57 +00:00
<button class="ui pink button" >连接测试</button>
2017-04-14 10:05:34 +00:00
<button class="ui pink button" >查看任务</button>
</td>
</tr>
{{{end}}}
</tbody>
</table>
</div>
</div>
{{{ template "common/footer" . }}}