2015-06-23 16:40:30 +00:00
|
|
|
<div class = "projects">
|
2015-06-29 11:41:17 +00:00
|
|
|
<h1 style="margin-left:15px"><i class="fa fa-graduation-cap"></i> Class {{course.courseName}}</h1>
|
|
|
|
<div layout-padding layout-margin>
|
|
|
|
<md-button ng-click = "joinCourse()" ng class = "md-raised"> Join Course</md-button>
|
|
|
|
</div>
|
2015-06-26 13:49:46 +00:00
|
|
|
<md-card class="cardAllProjects">
|
|
|
|
<div flex ="99" class = "allProjectsShow" layout = "row" ng-repeat = "t in arrayHolder" value = "{{t}}">
|
|
|
|
<div flex = "32" layout = "column" ng-repeat = "project in t" value = "{{project}}" layout-padding>
|
2015-06-27 09:45:44 +00:00
|
|
|
<div ng-if = "!scope.projectEmpty">
|
2015-06-26 18:56:41 +00:00
|
|
|
<md-card layout-padding ng-click = "goToProject(project.id)" style="width:32%; height:32%;" class = "projectCard">
|
|
|
|
{{project.id}}
|
2015-06-24 18:35:21 +00:00
|
|
|
</md-card>
|
2015-06-27 09:45:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div ng-if = "scope.projectEmpty">
|
|
|
|
You Are Not Related To Any Course, You May Join Any Course You Wish.
|
2015-06-24 18:35:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</md-card>
|
2015-06-23 16:40:30 +00:00
|
|
|
<md-content layout-padding layout-margin>
|
|
|
|
<md-button ng-click="createProjectClicked()" ng class="md-raised md-primary">Create Project</md-button>
|
|
|
|
</md-content>
|
|
|
|
</div>
|