You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

home.html 1.3KB

12345678910111213141516171819202122232425262728
  1. <div layout="column" layout-fill layout-align="top center">
  2. <p ng-show="DataShareBusiness.CurrentGroups.length == 0" class="welcome-message">
  3. Welcome to Chronos !
  4. </p>
  5. <p ng-show="getSheetCount() > 5">
  6. Too many elements to display, please select a sub group.
  7. </p>
  8. <div lu-busy="coursesView" class="col-xs-12 seven-cols">
  9. <div ng-repeat="day in days" class="col-sm-1 day-column"
  10. ng-style="{'border-right': $last ? 'solid #505050 1px' : ''}">
  11. <div class="day-column-header day-column-header-day">{{ day.day }}</div>
  12. <div class="day-column-header day-column-header-date">{{ day.date | date : dateFormat }}</div>
  13. <div class="day-column-courses">
  14. <div class="day-column-course" ng-repeat="course in getCoursesByDate(day.date)"
  15. ng-style="{'height': (course.EndPercent - course.BeginPercent) + '%',
  16. 'top' : course.BeginPercent + '%', 'width': (100 / course.ParallelCoursesCount)+'%',
  17. 'left': (course.ParallelCoursesPosition * (100 / course.ParallelCoursesCount)) + '%',
  18. 'border-left': (course.ParallelCoursesPosition != 0) ? 'solid #505050 1px' : ''}">
  19. {{ course.Name }}
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </div>