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

Commit ee0da20

Browse files
author
Jurriaan Bremer
committed
fixup recent analyses view in dashboard and comment out pending view
Visually perhaps not the most ideal solution, but we'll have to do with it for now.
1 parent 19a669f commit ee0da20

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

cuckoo/web/src/handlebars/dashboard-table.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<tr>
1818
<td>{{id}}</td>
1919
<td>{{added_on}}</td>
20-
<td>{{filename_url}}</td>
20+
<td>{{target}}</td>
2121
<td>{{package}}</td>
2222
<td><span class="badge">{{score}} / 10</span></td>
2323
</tr>

cuckoo/web/static/js/handlebars-templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ this["HANDLEBARS_TEMPLATES"]["dashboard-table"] = Handlebars.template({"1":funct
232232
+ "</td>\n <td>"
233233
+ 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)))
234234
+ "</td>\n <td>"
235-
+ 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)))
235+
+ 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)))
236236
+ "</td>\n <td>"
237237
+ 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)))
238238
+ "</td>\n <td><span class=\"badge\">"

cuckoo/web/templates/dashboard/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h5>Free disk space</h5>
101101

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

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

106106
<!-- recent analyses -->
107107
<div class="dashboard-module__lg" data-dashboard-module="processes">
@@ -119,7 +119,7 @@ <h2 class="dashboard__col-title">Recent processes</h2>
119119
<select data-select="limit">
120120
<option value="1">1</option>
121121
<option value="2">2</option>
122-
<option value="3">3</option>
122+
<option value="3" selected="selected">3</option>
123123
<option value="5">5</option>
124124
<option value="10">10</option>
125125
<option value="20">20</option>
@@ -133,15 +133,16 @@ <h2 class="dashboard__col-title">Recent processes</h2>
133133
</header>
134134
<section class="dashboard-module__body">
135135
<div class="dashboard-module__body--left" data-populate="dashboard-table-recent">
136-
137136
</div>
137+
138+
<!--
138139
<div class="dashboard-module__body--right" data-populate="dashboard-table-pending">
139-
140140
</div>
141+
-->
141142
</section>
142143

143144
<footer class="dashboard-module__footer">
144-
<p><a href="/analysis/">Show all recent processes</a></p>
145+
<p><a href="/analysis/">Show all recent analyses</a></p>
145146
</footer>
146147

147148
</div>

0 commit comments

Comments
 (0)