- Projects controller and page - added

- project zoom and open in another page - added
This commit is contained in:
Matan Bar Yosef 2015-06-22 14:45:50 +03:00
parent e7e34bcbbd
commit eb5391cb82
4 changed files with 52 additions and 46 deletions

View file

@ -53,6 +53,10 @@ app.config(['$routeProvider', '$locationProvider',
.when('/tasks/new', {
templateUrl: 'templates/views/newTask.html',
controller: 'newTasksController'
})
.when('/projects', {
templateUrl: 'templates/views/projects.html',
controller: 'projectsController'
});
}
]);

View file

@ -48,7 +48,7 @@ angular.module('SeHub')
"title": "My Projects",
"icon": "fa fa-cube",
"style": "",
"route": "/campuses"
"route": "/projects"
}, {
"title": "Tasks",
"icon": "fa fa-clipboard",

View file

@ -112,55 +112,56 @@
</md-select>
<div layout = "column" layout-margin layout-padding>
<div layout="row">
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit" >
a
a
a
Press On Me
</md-card>
</a>
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
s
s
s
Press On Me
</md-card>
</a>
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
d
d
d
Press On Me
</md-card>
</a>
</div>
<div layout="row">
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
e
e
e
Press On Me
</md-card>
</a>
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
q
q
q
Press On Me
</md-card>
</a>
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
w
w
w
Press On Me
</md-card>
</a>
</div>
<div layout="row">
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
b
b
b
Press On Me
</md-card>
</a>
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
r
r
r
Press On Me
</md-card>
</a>
<a href="http://localhost:8080/home#/projects/">
<md-card flex class = "projectExhibit">
x
x
x
Press On Me
</md-card>
</a>
</div>
</div>
</md-content>

View file

@ -103,6 +103,7 @@
<script src="templates/js/controllers/tasksController.js"></script>
<script src="templates/js/controllers/myClassesController.js"></script>
<script src="templates/js/controllers/newTasksController.js"></script>
<script src="templates/js/controllers/projectsController.js"></script>
</body>
</html>