Merge pull request #115 from sagidayan/UI

- project tabs scrolling - fixed!
This commit is contained in:
Sagi Dayan 2015-07-02 15:02:04 +03:00
commit c6f4bb714a
4 changed files with 12 additions and 5 deletions

View file

@ -428,7 +428,13 @@ body.noscroll
.tabDesign .tabDesign
{ {
padding-left: 4px;
padding-right: 4px;
margin: 5px;
/*background-color: #f5f5f5;*/
overflow: scroll; overflow: scroll;
height:500;
/*width:690;*/
} }
.tasksContent .tasksContent

View file

@ -36,6 +36,7 @@ angular.module('SeHub')
}); });
$scope.dropdownClicked = function() { $scope.dropdownClicked = function() {
$scope.createCampusClicked = false;
if ($scope.campus) { if ($scope.campus) {
$scope.campusChecked = true; $scope.campusChecked = true;
$scope.campusObj = null; $scope.campusObj = null;

View file

@ -34,7 +34,7 @@
<div ng-if="!isInCourse" layout-padding layout-margin> <div ng-if="!isInCourse" layout-padding layout-margin>
<md-button ng-click = "joinCourse()" ng class = "md-raised md-primary"> Join Class</md-button> <md-button ng-click = "joinCourse()" ng class = "md-raised md-primary"> Join Class</md-button>
</div> </div>
<div ng-if = "user.isLecturer"> <!-- <div ng-if = "user.isLecturer"> -->
<md-content layout-padding layout-margin> <md-content layout-padding layout-margin>
<md-button ng-click="createProjectClicked()" ng class="md-raised md-primary">Create Project</md-button> <md-button ng-click="createProjectClicked()" ng class="md-raised md-primary">Create Project</md-button>
</md-content> </md-content>
@ -84,7 +84,7 @@
</div> </div>
</md-card> </md-card>
</div> </div>
</div> <!-- </div> -->
<div layout-margin> <div layout-margin>
</div> </div>

View file

@ -67,8 +67,8 @@
</md-content> </md-content>
</md-tab> </md-tab>
<md-tab label="Commits"> <md-tab label="Commits">
<md-content class="md-padding"> <md-content class="tabDesign">
<table style="width:100%;" border = "1" class = "tabDesign"> <table style="width:100%;" border = "1">
<tr> <tr>
<th>Message</th> <th>Message</th>
<th style = "width:20%;">Date</th> <th style = "width:20%;">Date</th>
@ -98,7 +98,7 @@
</md-content> </md-content>
</md-tab> </md-tab>
<md-tab label="Issues"> <md-tab label="Issues">
<md-content class="md-padding" style="overflow:scroll;"> <md-content class="tabDesign">
<table style="width:100%;" border = "1"> <table style="width:100%;" border = "1">
<tr> <tr>
<th>Title</th> <th>Title</th>