diff --git a/settings.js b/settings.js index f60fa9f..6457b41 100644 --- a/settings.js +++ b/settings.js @@ -22,6 +22,10 @@ var settings = { transaction: 'cash-register.ogg' }, + index: { + tabbed: false + }, + ///////////////////////////////////////////////////////////////////////// // payments diff --git a/src/script/lib/controllers/index/index.html b/src/script/lib/controllers/index/index.html index d914c11..68871d5 100644 --- a/src/script/lib/controllers/index/index.html +++ b/src/script/lib/controllers/index/index.html @@ -3,9 +3,22 @@ {{alert.msg}} +
-

indexActiveUser

+ +
+ +
+

indexActiveUser

+
-
-
-
-

indexInactiveUser

+ +
+

indexInactiveUser

+
  • indexInactiveUser
  • +
+
\ No newline at end of file diff --git a/src/script/lib/controllers/index/index.js b/src/script/lib/controllers/index/index.js index b36de58..d767194 100644 --- a/src/script/lib/controllers/index/index.js +++ b/src/script/lib/controllers/index/index.js @@ -27,6 +27,13 @@ angular .controller('IndexController', function ($scope, Location, User, Message) { + if (settings.index && settings.index.tabbed) { + $scope.mode = { + tabbed: true, + currentTab: 'active' + }; + } + $scope.userClick = function (userId) { Location.gotoUser(userId); };