[cleanup] Fixed title bars, toolbars in all pages, added default background
diff --git a/home/page/activity/activity.js b/home/page/activity/activity.js
index edfe50f..ef7ccd9 100644
--- a/home/page/activity/activity.js
+++ b/home/page/activity/activity.js
@@ -10,6 +10,7 @@
wrapper.appframe.add_module_icon("Activity");
var list = new wn.ui.Listing({
+ hide_refresh: true,
appframe: wrapper.appframe,
method: 'home.page.activity.activity.get_feed',
parent: $(wrapper).find(".layout-main"),
@@ -18,10 +19,12 @@
}
});
list.run();
+
+ wrapper.appframe.set_title_right("Refresh", function() { list.run(); });
// Build Report Button
if(wn.boot.profile.can_get_report.indexOf("Feed")!=-1) {
- wrapper.appframe.add_button(wn._('Build Report'), function() {
+ wrapper.appframe.add_primary_action(wn._('Build Report'), function() {
wn.set_route('Report', "Feed");
}, 'icon-th')
}