12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <div layout="column" layout-fill layout-align="top center">
-
- <p ng-show="getSheetCount() > 5">
- Too many elements to display, please select a sub group.
- </p>
-
- <div lu-busy="coursesView" class="col-xs-12 seven-cols">
-
- <div class="col-xs-12">
- <div class="col-xs-offset-4 col-xs-1">
- <md-button class="md-primary md-group-button" ng-click="goToRelativeWeek(-1)">
- <
- </md-button>
- </div>
- <div class="col-xs-2">
- <md-datepicker ng-model="selectedDate" md-placeholder="Enter date"></md-datepicker>
- </div>
- <div class="col-xs-1">
- <md-button class="md-primary md-group-button col-xs-1" ng-click="goToRelativeWeek(1)">
- >
- </md-button>
- </div>
- </div>
-
- <div class="col-xs-1 hour-column">
- <div class="day-column-hours">
- <div class="day-column-hour" ng-hide="$first" ng-repeat="hour in hours" ng-style="{'top': ($index / hours.length * 100) + '%'}">
- {{hour | date : timeFormat}} -
- </div>
- </div>
- </div>
- <div class="col-xs-11 days-container">
- <div ng-repeat="day in days" class="col-sm-1 day-column"
- ng-style="{'border-right': $last ? 'solid #dddddd 1px' : ''}">
- <div class="day-column-header day-column-header-day"
- ng-class="{'day-column-header-current': !isToday(day.date) && selectedDate.getTime() == day.date.getTime(),
- 'day-column-header-today': isToday(day.date)}">
- {{ day.day }}
- </div>
- <div class="day-column-header day-column-header-date"
- ng-class="{'day-column-header-current': !isToday(day.date) && selectedDate.getTime() == day.date.getTime(),
- 'day-column-header-today': isToday(day.date)}">
- {{ day.date | date : dateFormat }}
- </div>
- <div class="day-column-courses">
- <div class="day-column-course" ng-repeat="course in getCoursesByDate(day.date)" ng-click="showCourse(course)"
- ng-style="{'height': (course.EndPercent - course.BeginPercent) + '%',
- 'top' : course.BeginPercent + '%', 'width': (100 / course.ParallelCoursesCount)+'%',
- 'left': (course.ParallelCoursesPosition * (100 / course.ParallelCoursesCount)) + '%',
- 'border-left': (course.ParallelCoursesPosition != 0) ? 'solid #dddddd 1px' : ''}">
- <span class="day-column-course-name">{{ course.Name }}</span>
- <div ng-repeat="room in course.RoomList">
- <span class="day-column-room-name">{{room.Name}}</span>
- </div>
- <div ng-repeat="staff in course.StaffList">
- <span class="day-column-staff-name">{{staff.Name}}</span>
- </div>
- <span class="day-column-course-hour">{{course.BeginDate | date : timeFormat}} - {{course.EndDate | date : timeFormat}}</span>
- <div ng-repeat="group in course.GroupList">
- <span class="day-column-group-name">{{group.Name}}</span>
- </div>
- </div>
- </div>
- </div>
-
-
- </div>
- </div>
-
- </div>
|