Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
fixup recent analyses view in dashboard and comment out pending view
Browse files Browse the repository at this point in the history
Visually perhaps not the most ideal solution, but we'll have to do with
it for now.
  • Loading branch information
jbremer committed Apr 6, 2017
1 parent 19a669f commit ee0da20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cuckoo/web/src/handlebars/dashboard-table.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tr>
<td>{{id}}</td>
<td>{{added_on}}</td>
<td>{{filename_url}}</td>
<td>{{target}}</td>
<td>{{package}}</td>
<td><span class="badge">{{score}} / 10</span></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion cuckoo/web/static/js/handlebars-templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ this["HANDLEBARS_TEMPLATES"]["dashboard-table"] = Handlebars.template({"1":funct
+ "</td>\n <td>"
+ alias3(((helper = (helper = helpers.added_on || (depth0 != null ? depth0.added_on : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"added_on","hash":{},"data":data}) : helper)))
+ "</td>\n <td>"
+ alias3(((helper = (helper = helpers.filename_url || (depth0 != null ? depth0.filename_url : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"filename_url","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.target || (depth0 != null ? depth0.target : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"target","hash":{},"data":data}) : helper)))
+ "</td>\n <td>"
+ alias3(((helper = (helper = helpers['package'] || (depth0 != null ? depth0['package'] : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"package","hash":{},"data":data}) : helper)))
+ "</td>\n <td><span class=\"badge\">"
Expand Down
11 changes: 6 additions & 5 deletions cuckoo/web/templates/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h5>Free disk space</h5>

<div class="flex-grid__column" id="dashboard-tables">

<h2 class="dashboard__col-title">Recent processes</h2>
<h2 class="dashboard__col-title">Recent analyses</h2>

<!-- recent analyses -->
<div class="dashboard-module__lg" data-dashboard-module="processes">
Expand All @@ -119,7 +119,7 @@ <h2 class="dashboard__col-title">Recent processes</h2>
<select data-select="limit">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="3" selected="selected">3</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="20">20</option>
Expand All @@ -133,15 +133,16 @@ <h2 class="dashboard__col-title">Recent processes</h2>
</header>
<section class="dashboard-module__body">
<div class="dashboard-module__body--left" data-populate="dashboard-table-recent">

</div>

<!--
<div class="dashboard-module__body--right" data-populate="dashboard-table-pending">

</div>
-->
</section>

<footer class="dashboard-module__footer">
<p><a href="/analysis/">Show all recent processes</a></p>
<p><a href="/analysis/">Show all recent analyses</a></p>
</footer>

</div>
Expand Down

0 comments on commit ee0da20

Please sign in to comment.