Changeset View
Changeset View
Standalone View
Standalone View
lib/lsg_web/templates/alcoolog/index.html.eex
Context not available. | |||||
<%= if status.last_descr && status.last_descr != "" do %> | <%= if status.last_descr && status.last_descr != "" do %> | ||||
<br /><%= status.last_descr %> | <br /><%= status.last_descr %> | ||||
<% end %> | <% end %> | ||||
<br/><small><%= LSGWeb.LayoutView.format_time(status.last_at) %></small> | <br/><small><%= NolaWeb.LayoutView.format_time(status.last_at) %></small> | ||||
</p> | </p> | ||||
<p class="mt-1 text-gray-500 text-sm leading-5 truncate"> | <p class="mt-1 text-gray-500 text-sm leading-5 truncate"> | ||||
Context not available. | |||||
<% date = DateTime.from_unix!(date, :millisecond) %> | <% date = DateTime.from_unix!(date, :millisecond) %> | ||||
<tr class="<%= class %>"> | <tr class="<%= class %>"> | ||||
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900"> | <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900"> | ||||
<%= LSGWeb.LayoutView.format_time(date, false) %> | <%= NolaWeb.LayoutView.format_time(date, false) %> | ||||
</td> | </td> | ||||
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900"> | <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900"> | ||||
<%= link nick, to: alcoolog_path(@conn, :nick, @network, nick) %> | <%= link nick, to: alcoolog_path(@conn, :nick, @network, nick) %> | ||||
Context not available. | |||||
(function() { | (function() { | ||||
// oui s trè moch :( :( :( | // oui s trè moch :( :( :( | ||||
var ctx = document.getElementById('myChart').getContext('2d'); | var ctx = document.getElementById('myChart').getContext('2d'); | ||||
d3.json('<%= alcoolog_path(@conn, :index_gls_json, @network, LSGWeb.format_chan(@channel)) %>', function(data) { | d3.json('<%= alcoolog_path(@conn, :index_gls_json, @network, NolaWeb.format_chan(@channel)) %>', function(data) { | ||||
var dynamicColors = function() { | var dynamicColors = function() { | ||||
var r = Math.floor(Math.random() * 255); | var r = Math.floor(Math.random() * 255); | ||||
Context not available. |