//dashboard widget regardless refresh
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<section id="dashactivity" class="panel">
|
||||
<section id="dashactivity" class="panel widget">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-time"></i> {l s='Recent Activity'}
|
||||
<span class="panel-heading-action">
|
||||
|
||||
@@ -318,7 +318,6 @@ class Dashproducts extends Module
|
||||
);
|
||||
|
||||
$terms = $this->getMostSearchTerms($date_from, $date_to);
|
||||
|
||||
$body = array();
|
||||
if (is_array($terms) && count($terms))
|
||||
foreach ($terms as $term)
|
||||
@@ -462,7 +461,6 @@ class Dashproducts extends Module
|
||||
GROUP BY ss.`keywords`
|
||||
ORDER BY `count_keywords` DESC
|
||||
LIMIT 0, '.(int)$limit;
|
||||
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);
|
||||
}
|
||||
}
|
||||
@@ -23,11 +23,11 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<section id="dashproducts" class="panel">
|
||||
<section id="dashproducts" class="panel widget">
|
||||
<header class="panel-heading">
|
||||
<i class="icon-bar-chart"></i> {l s='Product and Sales'}
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-tooolbar-btn" href="javascript:void(0);" title="configure">
|
||||
<a class="list-tooolbar-btn" href="#" title="configure">
|
||||
<i class="process-icon-configure"></i>
|
||||
</a>
|
||||
<a class="list-tooolbar-btn" href="#" onclick="refreshDashbard('dashproducts'); return false;" title="refresh">
|
||||
@@ -111,5 +111,4 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
@@ -23,7 +23,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<section id="dashtrends" class="panel">
|
||||
<section id="dashtrends" class="panel widget">
|
||||
<header class="panel-heading">
|
||||
<i class="icon-bar-chart"></i> {l s='Score Trends'}
|
||||
<span class="panel-heading-action">
|
||||
|
||||
Reference in New Issue
Block a user