From 06f94259282ea0bc113196bc6ae82d3b756935e6 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Tue, 16 Jun 2015 22:45:06 +0300 Subject: [PATCH] issue #33 - Main Menu Done --- templates/css/theme.css | 11 ++++++- templates/js/controllers/mainController.js | 18 ++++++------ templates/views/index.html | 34 ++++++++++++---------- 3 files changed, 37 insertions(+), 26 deletions(-) diff --git a/templates/css/theme.css b/templates/css/theme.css index a1cac9b..83a3c64 100644 --- a/templates/css/theme.css +++ b/templates/css/theme.css @@ -214,8 +214,17 @@ body.noscroll background-color: #E2E2E2; font-weight: bold; } - .se-menu li .selected{ + + .se-menu li:active{ + background-color: #B2B2B2; + text-shadow:#e0e0e0 1px 1px 0; + font-weight: bold; + } + + .se-menu .selected{ background-color: #E2E2E2; + text-shadow:#e0e0e0 1px 1px 0; + font-weight: bold; } .user-box{ diff --git a/templates/js/controllers/mainController.js b/templates/js/controllers/mainController.js index c0ba8ce..6216c2b 100644 --- a/templates/js/controllers/mainController.js +++ b/templates/js/controllers/mainController.js @@ -40,37 +40,37 @@ angular.module('SeHub') "title": "Home", "icon": "fa fa-home", "style": "selected", - "route": "/home" + "route": "#/home" }, { "title": "My Campuses", "icon": "fa fa-university", - "style": "selected", + "style": "", "route": "/campuses" }, { "title": "My Classes", "icon": "fa fa-graduation-cap", - "style": "selected", + "style": "", "route": "/campuses" }, { "title": "My Projects", "icon": "fa fa-cube", - "style": "selected", + "style": "", "route": "/campuses" }, { "title": "Tasks", "icon": "fa fa-clipboard", - "style": "selected", + "style": "", "route": "/campuses" }, { "title": "Settings", "icon": "fa fa-cogs", - "style": "selected", - "route": "/campuses" + "style": "", + "route": "#/Settings" }, { "title": "Log Out", "icon": "fa fa-power-off", - "style": "selected", - "route": "/campuses" + "style": "", + "route": "#/logout" }]; }]); \ No newline at end of file diff --git a/templates/views/index.html b/templates/views/index.html index 3abfe58..7183c20 100644 --- a/templates/views/index.html +++ b/templates/views/index.html @@ -25,26 +25,28 @@ --> -
-
- -
-
-
- {{user.name}} +
+
+
+
-
- {{user.email}} +
+
+ {{user.name}} +
+
+ {{user.email}} +
+ +
- -