Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

home.html 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 class="col-xs-12">
  10. <md-datepicker class="col-xs-2 col-xs-offset-5" ng-model="selectedDate" md-placeholder="Enter date"></md-datepicker>
  11. </div>
  12. <div class="col-xs-1 hour-column">
  13. <div class="day-column-hours">
  14. <div class="day-column-hour" ng-hide="$first" ng-repeat="hour in hours" ng-style="{'top': ($index / hours.length * 100) + '%'}">
  15. {{hour | date : hourFormat}} -
  16. </div>
  17. </div>
  18. </div>
  19. <div class="col-xs-11 days-container">
  20. <div ng-repeat="day in days" class="col-sm-1 day-column"
  21. ng-style="{'border-right': $last ? 'solid #505050 1px' : ''}">
  22. <div class="day-column-header day-column-header-day"
  23. ng-class="{'day-column-header-current': selectedDate.getTime() == day.date.getTime()}">
  24. {{ day.day }}
  25. </div>
  26. <div class="day-column-header day-column-header-date"
  27. ng-class="{'day-column-header-current': selectedDate.getTime() == day.date.getTime()}">
  28. {{ day.date | date : dateFormat }}
  29. </div>
  30. <div class="day-column-courses">
  31. <div class="day-column-course" ng-repeat="course in getCoursesByDate(day.date)" ng-click="showCourse(course)"
  32. ng-style="{'height': (course.EndPercent - course.BeginPercent) + '%',
  33. 'top' : course.BeginPercent + '%', 'width': (100 / course.ParallelCoursesCount)+'%',
  34. 'left': (course.ParallelCoursesPosition * (100 / course.ParallelCoursesCount)) + '%',
  35. 'border-left': (course.ParallelCoursesPosition != 0) ? 'solid #505050 1px' : ''}">
  36. <span class="day-column-course-name">{{ course.Name }}</span>
  37. <div ng-repeat="room in course.RoomList">
  38. <span class="day-column-room-name">{{room.Name}}</span>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>