Commit 9e1121cc9cb80bd4ffc339fee1fc83fb9e27173d
1 parent
ff2397443a
Exists in
master
and in
1 other branch
added settings button, settings page to be added soon
Showing 1 changed file with 16 additions and 3 deletions Side-by-side Diff
home.html
View file @
9e1121c
... | ... | @@ -37,17 +37,29 @@ |
37 | 37 | |
38 | 38 | <ul ng-show="UserService.isLoggedIn()" ng-cloak id="nav-mobile" class="right hide-on-small-and-down"> |
39 | 39 | <!-- User's classes dropdown --> |
40 | - <ul id="dropdown1" class="dropdown-content"> | |
40 | + <ul id="classDropdown" class="dropdown-content"> | |
41 | 41 | <li ui-sref-active="active" ng-repeat="section in UserService.getUserData().sections"> |
42 | 42 | <a ui-sref="feed({sectionId:section.id})">{{section.short_name}}</a> |
43 | 43 | </li> |
44 | 44 | <li class="divider"></li> |
45 | 45 | <li><a ui-sref="addclass">Add Class</a></li> |
46 | 46 | </ul> |
47 | - <li><a style="width:175px;" class="dropdown-button ng-cloak" href="#!" data-activates="dropdown1">{{currentSection.id?currentSection.short_name:"Classes"}}<i | |
47 | + | |
48 | + <li><a style="width:175px;" class="dropdown-button ng-cloak" href="#!" data-activates="classDropdown">{{currentSection.id?currentSection.short_name:"Classes"}}<i | |
48 | 49 | class="mdi-navigation-arrow-drop-down right"></i></a></li> |
49 | 50 | <li><a ui-sref="study">Study</a></li> |
50 | - <li><a ui-sref="logout">Logout</a></li> | |
51 | + | |
52 | + <!-- Settings Dropdown --> | |
53 | + <ul id="settingsDropdown" class="dropdown-content"> | |
54 | + <li><a ui-sref="settings">Settings</a></li> | |
55 | + <li><a ui-sref="logout">Logout</a></li> | |
56 | + </ul> | |
57 | + | |
58 | + <li><a class="dropdown-button ng-cloak" href="#!" data-activates="settingsDropdown"><i class="tiny mdi-action-settings"></i></a></li> | |
59 | + | |
60 | + | |
61 | + | |
62 | + | |
51 | 63 | </ul> |
52 | 64 | |
53 | 65 | <!-- Slide-in side-nav for small screens --> |
... | ... | @@ -84,6 +96,7 @@ |
84 | 96 | </div> |
85 | 97 | </ul> |
86 | 98 | <li><a ui-sref="study">Study</a></li> |
99 | + <li><a ui-sref="settings">Settings</a></li> | |
87 | 100 | <li><a ui-sref="logout">Logout</a></li> |
88 | 101 | </ul> |
89 | 102 | </div> |