Commit aebe3389 authored by Leo Iannacone's avatar Leo Iannacone

do not display empty table

parent 300f0309
...@@ -254,6 +254,7 @@ function Page_History() { ...@@ -254,6 +254,7 @@ function Page_History() {
_sort_table(); _sort_table();
_create_graph_distributions(); _create_graph_distributions();
_create_graph_days(); _create_graph_days();
$('.body').fadeIn("fast");
}); });
debug_socket('emit', config.events.client.history, ''); debug_socket('emit', config.events.client.history, '');
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<div id="days-chart" class="ct-chart"></div> <div id="days-chart" class="ct-chart"></div>
<div id="distributions-chart" class="ct-chart"></div> <div id="distributions-chart" class="ct-chart"></div>
</div> </div>
<div class="body" style="display: none">
<a id="download" class="btn btn-primary">Download current view</a> <a id="download" class="btn btn-primary">Download current view</a>
<table id="history" class="tablesorter"> <table id="history" class="tablesorter">
<thead> <thead>
...@@ -23,5 +24,6 @@ ...@@ -23,5 +24,6 @@
</thead> </thead>
<tbody></tbody> <tbody></tbody>
</table> </table>
</div>
</article> </article>
<% include footer.ejs %> <% include footer.ejs %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment