- {{# Layout template=materializeHeader }}
+ {{# Layout template=bootstrapHeader }}
Dashboard
{{/ Layout }}
- {{# Layout template=materializeContent }}
+ {{# Layout template=bootstrapContent }}
{{#each widgets}}
{{> Template.dynamic template=template}}
@@ -31,4 +31,4 @@
{{label}}
-
\ No newline at end of file
+
diff --git a/src/orionjs-dashboard.css b/src/orionjs-dashboard.css
new file mode 100644
index 0000000..648ebed
--- /dev/null
+++ b/src/orionjs-dashboard.css
@@ -0,0 +1,3 @@
+.title {
+ color: #fff;
+}
diff --git a/src/orionjs-dashboard.js b/src/orionjs-dashboard.js
index 636b73b..277e768 100644
--- a/src/orionjs-dashboard.js
+++ b/src/orionjs-dashboard.js
@@ -3,7 +3,7 @@
* @where {client|server}
* @private
* @return {Boolean} Returns Boolean True or False
- *
+ *
* Optional setting allowing or denying the dashboard link to display
* in the admin panel.
*/
@@ -13,10 +13,10 @@ Options.init('showDashboardTab', true);
* @where {client|server}
* @private
* @return {Boolean}
- *
- * If the showDashboard option is set to true, the home route will be
- * set to the dashboard path. This option can be overwritten by
- * setting the adminHomeRoute explicitly
+ *
+ * If the showDashboard option is set to true, the home route will be
+ * set to the dashboard path. This option can be overwritten by
+ * setting the adminHomeRoute explicitly
*/
if (Options.get('showDashboardTab') == true) {
Options.set('adminHomeRoute', 'orionDashboard');
@@ -26,7 +26,7 @@ if (Options.get('showDashboardTab') == true) {
* @where {client|server}
* @private
* @return {String}
- *
+ *
* Set's the dashboard template and defines the default template.
* See ReactiveTemplates documentation for how to override the default
* dashboard template. This typically is not neeed.
@@ -42,7 +42,7 @@ if (_.has(Package, 'orionjs:materialize')) {
* @where {client|server}
* @private
* @return {String}
- *
+ *
* Set's the Dashboard Widget template and defines the default template.
* See ReactiveTemplates documentation for informatation on how to override the
* default widget. NOTE: this is not the same as registering a new widget.
@@ -58,7 +58,7 @@ if (_.has(Package, 'orionjs:materialize')) {
* @where {client|server}
* @private
* @return {Boolean}
- *
+ *
* Registers the orionDashboard action to the Roles package.
* This allows us to ensure the user has the proper permissions to
* make changes to the dashboard.
@@ -70,8 +70,8 @@ Roles.registerAction('orionDashboard', true);
* @where {client}
* @private
* @return {Object}
- *
- * Registers the route for the dashboard. By Default this route is always
+ *
+ * Registers the route for the dashboard. By Default this route is always
* registered as a subpath of /admin/
*/
RouterLayer.route('/admin/dashboard', {
@@ -86,7 +86,7 @@ RouterLayer.route('/admin/dashboard', {
* @where {client}
* @private
* @return {String}
- *
+ *
* Adds a protected route to orionDashboard ensuring that the user must be
* logged in to navigate to this path.
*/