parent
c3db014055
commit
9107169acc
@ -25,7 +25,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="input-group search-box">
|
<div class="input-group search-box">
|
||||||
<input type="text" class="form-control search" id="search-box" placeholder="Search...">
|
<input type="text" class="form-control search" id="search-box" placeholder="Search...">
|
||||||
<span onclick="clearSearch()" class="clear-search input-group-addon">X</span>
|
<span class="clear-search input-group-addon">X</span>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -88,6 +88,7 @@
|
|||||||
<script src="https://code.highcharts.com/modules/exporting.js"></script>
|
<script src="https://code.highcharts.com/modules/exporting.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
function getLastSorted(list){
|
function getLastSorted(list){
|
||||||
var currentSorted = $(list.listContainer).find(".asc, .desc").attr("data-sort");
|
var currentSorted = $(list.listContainer).find(".asc, .desc").attr("data-sort");
|
||||||
if ('undefined' !== typeof currentSorted)
|
if ('undefined' !== typeof currentSorted)
|
||||||
@ -108,7 +109,6 @@
|
|||||||
list.search();
|
list.search();
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
|
||||||
var options = {
|
var options = {
|
||||||
valueNames: [
|
valueNames: [
|
||||||
'listing-metadata',
|
'listing-metadata',
|
||||||
@ -146,6 +146,8 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#game-listing .clear-search').click(clearSearch);
|
||||||
|
|
||||||
Highcharts.chart('highchart-container', {
|
Highcharts.chart('highchart-container', {
|
||||||
chart: { type: 'bar' },
|
chart: { type: 'bar' },
|
||||||
colors: [{{ range .Site.Data.compatibility }}"{{ .color }}", {{- end }}],
|
colors: [{{ range .Site.Data.compatibility }}"{{ .color }}", {{- end }}],
|
||||||
|
Reference in New Issue
Block a user