Small tweaks

This commit is contained in:
raul 2024-06-10 11:35:09 +02:00
parent 0d0ba1618f
commit cd655b4ecc
3 changed files with 15 additions and 11 deletions

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>Tiamat Dashboard</title> <title>Tiamat | Executing {{ .Client.ClientBasicInfo.Hostname }}</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">
@ -29,7 +29,6 @@
</b> </b>
<hr> <hr>
<h2 align=center>Executing commands for {{ .Client.ClientBasicInfo.Hostname }}</h2> <h2 align=center>Executing commands for {{ .Client.ClientBasicInfo.Hostname }}</h2>
<hr>
<div id=command> <div id=command>
</div> </div>
<br> <br>

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<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">
@ -29,17 +29,18 @@
</b> </b>
<hr> <hr>
<h2 align=center>Current clients</h2> <h2 align=center>Current clients</h2>
<hr>
{{ range .Clients }} {{ range .Clients }}
<table border=1> <table border=1>
<tr> <tr>
<td>ID</td> <td id="bold">ID</td>
<td>Status</td> <td id="bold">Status</td>
<td>Remote IP</td> <td id="bold">Remote IP</td>
<td>Local IP</td> <td id="bold">Local IP</td>
<td>Username</td> <td id="bold">Username</td>
<td>Hostname</td> <td id="bold">Hostname</td>
<td>Operating System</td> <td id="bold">Operating System</td>
<td rowspan=2> <td rowspan=2>
<a target="_blank" href="command/{{ .ClientID }}"><b>CMD</b></a> <a target="_blank" href="command/{{ .ClientID }}"><b>CMD</b></a>
</td> </td>

View File

@ -36,6 +36,10 @@ td {
padding: 5px; padding: 5px;
} }
td#bold {
font-weight: bold;
}
on { on {
color: green; color: green;
font-weight: 500; font-weight: 500;
@ -140,7 +144,7 @@ footer {
div#command { div#command {
width: 100%; width: 100%;
height: 50%; height: 60%;
border: 2px solid black; border: 2px solid black;
overflow: scroll; overflow: scroll;
padding-bottom: 30px; padding-bottom: 30px;