Skip to content

Commit

Permalink
make sure we display unix sockets as well - fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed May 27, 2013
1 parent aacc0aa commit 564f958
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions circusweb/templates/sockets.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@
<div class="box">
%for socket in client.get_sockets():
<div class="process">
<div>
<div>
%if 'host' in socket:
<span style="display: inline-block; float: left;"
class="label">${socket['host']}:${socket['port']} (fd: ${socket['fd']})</span>
class="label">${socket['host']}:${socket['port']} (fd: ${socket['fd']})</span>
%else:
<span style="display: inline-block; float: left;"
class="label">${socket['path']} (fd: ${socket['fd']})</span>

%endif
</div>

<div class="stat">
Expand Down

0 comments on commit 564f958

Please sign in to comment.