Back to Postgresml

Cell

pgml-dashboard/templates/content/dashboard/panels/cell.html

2.10.0575 B
Original Source

% use crate::utils::urls; %> <% if cell.deleted_at.is_some() { %> <% } else { %> <% if !edit && !cell.code() { %> <% } %>

swap_vert

<%= cell.cell_number %>

<% if cell.code() || edit { %> <%= cell.contents %> <% } %> <% if cell.code() && cell.html().is_some() || cell.html().is_some() && !cell.code() && !edit { %> <%- cell.html().unwrap() %> <% } %>

Running... <% if cell.execution_time.is_some() { %> <%= crate::utils::time::format_microseconds(cell.execution_time.unwrap().microseconds as f64) %> <% } %> <% } %>