Add ID and "Execute command" options
This commit is contained in:
parent
3541a149cf
commit
67051033d8
|
@ -5,7 +5,7 @@
|
||||||
<title>Tiamat Dashboard</title>
|
<title>Tiamat Dashboard</title>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link href="style.css" rel="stylesheet">
|
<link href="/style.css" rel="stylesheet">
|
||||||
<script href="htmx.js" integrity="sha384-qbtR4rS9RrUMECUWDWM2+YGgN3U4V4ZncZ0BvUcg9FGct0jqXz3PUdVpU1p0yrXS"
|
<script href="htmx.js" integrity="sha384-qbtR4rS9RrUMECUWDWM2+YGgN3U4V4ZncZ0BvUcg9FGct0jqXz3PUdVpU1p0yrXS"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -20,14 +20,19 @@
|
||||||
{{ range .Clients }}
|
{{ range .Clients }}
|
||||||
<table border=1>
|
<table border=1>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>ID</td>
|
||||||
<td>Status</td>
|
<td>Status</td>
|
||||||
<td>IP</td>
|
<td>IP</td>
|
||||||
<td>Username</td>
|
<td>Username</td>
|
||||||
<td>Hostname</td>
|
<td>Hostname</td>
|
||||||
<td>Operating System</td>
|
<td>Operating System</td>
|
||||||
<td rowspan=2>Actions</td>
|
<td rowspan=2>Actions</td>
|
||||||
|
<td rowspan=2>
|
||||||
|
<a target="_blank" href="command/{{ .ClientID }}">Execute commands</a>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>{{ .ClientID }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ if .IsOnline }}
|
{{ if .IsOnline }}
|
||||||
<on>
|
<on>
|
||||||
|
|
Loading…
Reference in New Issue