mirror of
https://github.com/beestat/app.git
synced 2026-05-20 22:32:30 -04:00
Sensor Data 🤞
Finished outstanding features, fixed lots of bugs, enabled for the general population. #17
This commit is contained in:
+17
-32
@@ -26,38 +26,23 @@ beestat.component.header.prototype.decorate_ = function(parent) {
|
||||
|
||||
var pages;
|
||||
|
||||
if (beestat.user.has_early_access() === true) {
|
||||
pages = [
|
||||
{
|
||||
'layer': 'dashboard',
|
||||
'text': 'Dashboard',
|
||||
'icon': 'tablet_dashboard'
|
||||
},
|
||||
{
|
||||
'layer': 'sensors',
|
||||
'text': 'Sensors',
|
||||
'icon': 'signal_variant'
|
||||
},
|
||||
{
|
||||
'layer': 'home_comparisons',
|
||||
'text': 'Comparisons',
|
||||
'icon': 'home_group'
|
||||
}
|
||||
];
|
||||
} else {
|
||||
pages = [
|
||||
{
|
||||
'layer': 'dashboard',
|
||||
'text': 'Dashboard',
|
||||
'icon': 'tablet_dashboard'
|
||||
},
|
||||
{
|
||||
'layer': 'home_comparisons',
|
||||
'text': 'Home Comparisons',
|
||||
'icon': 'home_group'
|
||||
}
|
||||
];
|
||||
}
|
||||
pages = [
|
||||
{
|
||||
'layer': 'dashboard',
|
||||
'text': 'Dashboard',
|
||||
'icon': 'tablet_dashboard'
|
||||
},
|
||||
{
|
||||
'layer': 'sensors',
|
||||
'text': 'Sensors',
|
||||
'icon': 'signal_variant'
|
||||
},
|
||||
{
|
||||
'layer': 'home_comparisons',
|
||||
'text': 'Comparisons',
|
||||
'icon': 'home_group'
|
||||
}
|
||||
];
|
||||
|
||||
var gutter = beestat.style.size.gutter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user