19 lines
		
	
	
		
			925 B
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			925 B
		
	
	
	
		
			HTML
		
	
	
	
<div id="agent-detail">
 | 
						|
    <!-- <h2>Agent Details</h2> -->
 | 
						|
    <p>ID: {{.AgentID}}</p>
 | 
						|
    <p>Name: {{.AgentName}}</p>
 | 
						|
    <p>Type: {{.AgentType}}</p>
 | 
						|
    <p>IP Addr: {{.IPv4Address}}</p>
 | 
						|
    <p>Interactive Port: {{.AddPort}}</p>
 | 
						|
    <p>Registered at: {{.InitialContact}}</p>
 | 
						|
    <!-- <p>Last Contact: {{.LastContact}}</p> -->
 | 
						|
    <p>Hostname: {{.HostName}}</p>
 | 
						|
    <!-- <button class="btn btn-warning" hx-get="/proxyAgent?ip={{.IPv4Address}}&port={{.AddPort}}" hx-target="#agentConnect" hx-swap="innerHTML">Proxy</button> -->
 | 
						|
    <a class="btn btn-info"
 | 
						|
        href="/proxyAgent?ip={{.IPv4Address}}&port={{.AddPort}}"
 | 
						|
        hx-target="_blank"
 | 
						|
        target="_blank">Connect via Proxy</a>
 | 
						|
    <a href="http://{{.IPv4Address}}:{{.AddPort}}" class="btn btn-outline-info" target="_blank">Connect without Proxy</a>
 | 
						|
    <!-- <a href="http://{{.IPv4Address}}:{{.AddPort}}" target="_blank">Connect without Proxy</a> -->
 | 
						|
</div>
 |