Packages
Ewebmachine contains macros and plugs to allow you to compose HTTP decision handlers and run the HTTP decision tree to get your HTTP response. This project is a rewrite for Elixir and Plug of basho webmachine.
Current section
Files
Jump to
Current section
Files
templates/log_list.html.eex
<html>
<head>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<script>
(new EventSource("wm_debug/events")).addEventListener("new_query", function(){
window.location.reload()
})
</script>
</head>
<body>
<h1>Last Ewebmachine Logs</h1>
<ul>
<%= for conn<-conns do %>
<li><%= conn.private.machine_init_at |> :calendar.now_to_local_time |> Ewebmachine.Core.Utils.rfc1123_date %> :
<a href="wm_debug/log/<%= conn.private.machine_log %>"><%= conn.method %> <%= conn.full_path %></a></li>
<% end %>
</ul>
</body>
</html>