Subscriber Portal working with Mock data
diff --git a/views/ngXosViews/subscriberPortal/mocks/bundle.json b/views/ngXosViews/subscriberPortal/mocks/bundle.json
new file mode 100644
index 0000000..035f23f
--- /dev/null
+++ b/views/ngXosViews/subscriberPortal/mocks/bundle.json
@@ -0,0 +1,33 @@
+{
+ "bundle": {
+ "id": "family",
+ "name": "Family Bundle",
+ "functions": [
+ {
+ "id": "internet",
+ "name": "Internet",
+ "desc": "Basic internet connectivity.",
+ "params": {}
+ },
+ {
+ "id": "firewall",
+ "name": "Firewall",
+ "desc": "Normal firewall protection.",
+ "params": {}
+ },
+ {
+ "id": "url_filter",
+ "name": "Parental Control",
+ "desc": "Variable levels of URL filtering.",
+ "params": {
+ "level": "PG",
+ "levels": [ "PG", "PG-13", "R" ]
+ }
+ }
+ ]
+ },
+ "bundles": [
+ { "id": "basic", "name": "Basic Bundle" },
+ { "id": "family", "name": "Family Bundle" }
+ ]
+}
diff --git a/views/ngXosViews/subscriberPortal/mocks/dashboard.json b/views/ngXosViews/subscriberPortal/mocks/dashboard.json
new file mode 100644
index 0000000..696b74b
--- /dev/null
+++ b/views/ngXosViews/subscriberPortal/mocks/dashboard.json
@@ -0,0 +1,10 @@
+{
+ "bundle_name": "Family Bundle",
+ "bundle_desc": "This is the bundle description. Lorem ipsum dolor sit amet, consectetur adipisicing elit.",
+ "users": [
+ { "id": 1, "name": "Mom's MacBook", "icon_id": "mom", "mac": "00:11:22:33:44:55" },
+ { "id": 1, "name": "Dad's iPad", "icon_id": "dad", "mac": "00:11:22:33:44:66" },
+ { "id": 1, "name": "Dick's laptop", "icon_id": "boy2", "mac": "00:11:22:33:44:77" },
+ { "id": 1, "name": "Jane's laptop", "icon_id": "girl1", "mac": "00:11:22:33:44:88" }
+ ]
+}
diff --git a/views/ngXosViews/subscriberPortal/mocks/users.json b/views/ngXosViews/subscriberPortal/mocks/users.json
new file mode 100644
index 0000000..3b9ed10
--- /dev/null
+++ b/views/ngXosViews/subscriberPortal/mocks/users.json
@@ -0,0 +1,48 @@
+{
+ "users": [
+ {
+ "id": 1,
+ "name": "Mom's MacBook",
+ "mac": "010203040506",
+ "icon_id": "mom",
+ "profile": {
+ "url_filter": {
+ "level": "R"
+ }
+ }
+ },
+ {
+ "id": 2,
+ "name": "Dad's iPad",
+ "mac": "010203040507",
+ "icon_id": "dad",
+ "profile": {
+ "url_filter": {
+ "level": "R"
+ }
+ }
+ },
+ {
+ "id": 3,
+ "name": "Dick's laptop",
+ "mac": "010203040508",
+ "icon_id": "boy2",
+ "profile": {
+ "url_filter": {
+ "level": "PG_13"
+ }
+ }
+ },
+ {
+ "id": 4,
+ "name": "Jane's laptop",
+ "mac": "010203040509",
+ "icon_id": "girl1",
+ "profile": {
+ "url_filter": {
+ "level": "PG"
+ }
+ }
+ }
+ ]
+}