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,19 +9,21 @@ ...@@ -9,19 +9,21 @@
<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>
<a id="download" class="btn btn-primary">Download current view</a> <div class="body" style="display: none">
<table id="history" class="tablesorter"> <a id="download" class="btn btn-primary">Download current view</a>
<thead> <table id="history" class="tablesorter">
<tr> <thead>
<th class="filter-select filter-exact" data-placeholder="All">Distribution</th> <tr>
<th>Package</th> <th class="filter-select filter-exact" data-placeholder="All">Distribution</th>
<th data-empty="top" data-placeholder=">= 01/01/1990">Start</th> <th>Package</th>
<th data-empty="top" data-placeholder=">= 01/01/1990">End</th> <th data-empty="top" data-placeholder=">= 01/01/1990">Start</th>
<th class="filter-select filter-exact" data-placeholder="All">Uploader</th> <th data-empty="top" data-placeholder=">= 01/01/1990">End</th>
<th class="filter-select filter-exact" data-placeholder="All">Status</th> <th class="filter-select filter-exact" data-placeholder="All">Uploader</th>
</tr> <th class="filter-select filter-exact" data-placeholder="All">Status</th>
</thead> </tr>
<tbody></tbody> </thead>
</table> <tbody></tbody>
</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