Нет описания

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. @extends('layouts.app')
  2. @section('title', 'Dashboard | Gerencia Docente')
  3. @section('content')
  4. <div class="mdc-layout-grid__inner dashboard-grid">
  5. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-12">
  6. <div class="mdc-layout-grid__inner">
  7. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-12-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--span-4-phone">
  8. <h1 class="mdc-typography--heading1">Dashboard</h1>
  9. </div>
  10. </div>
  11. @if ($errors->any())
  12. <div class="mdc-layout-grid__inner">
  13. <div class="alert alert-danger alert-dismissible fade show mdc-layout-grid__cell mdc-layout-grid__cell--span-12" role="alert">
  14. <button type="button" class="close" data-dismiss="modal" aria-label="close">
  15. <span aria-hidden="true">&times;</span>
  16. </button>
  17. <ul class="mdc-list">
  18. @foreach ($errors->all() as $error)
  19. <li class="mcd-list-item"><span class="mdc-list-item__text">{{ $error }}</span></li>
  20. @endforeach
  21. </ul>
  22. </div>
  23. </div>
  24. <br>
  25. @endif
  26. <div class="mdc-layout-grid__inner">
  27. {{-- <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2-desktop"></div> --}}
  28. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2">
  29. <a data-toggle="modal" data-target="#modal-semester" data-action="export" data-title="Escoge un semestre">
  30. <div class="mdc-card">
  31. <div class="mdc-card__primary-action" tabindex="0">
  32. <div id="dash-button-csv" class="mdc-card__media mdc-card__media--square"></div>
  33. <hr>
  34. <div>
  35. <p>Informe de Cargas</p>
  36. </div>
  37. </div>
  38. </div>
  39. </a>
  40. </div>
  41. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2">
  42. <a data-toggle="modal" data-target="#modal-semester" data-action="schedule" data-title="Escoge un semestre">
  43. <div class="mdc-card">
  44. <div class="mdc-card__primary-action" tabindex="0">
  45. <div id="dash-button-schedule" class="mdc-card__media mdc-card__media--square"></div>
  46. <hr>
  47. <div>
  48. <p>Horario de Semestre</p>
  49. </div>
  50. </div>
  51. </div>
  52. </a>
  53. </div>
  54. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2">
  55. <a href="{{ route('user.create') }}" style="text-decoration: none; color: inherit;">
  56. <div class="mdc-card">
  57. <div class="mdc-card__primary-action" tabindex="0">
  58. <div id="dash-button-schedule" class="mdc-card__media mdc-card__media--square"></div>
  59. <hr>
  60. <div>
  61. <p>Añadir Usuario</p>
  62. </div>
  63. </div>
  64. </div>
  65. </a>
  66. </div>
  67. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2">
  68. <a data-toggle="modal" data-target="#modal-semester-clone" data-action="clone" data-title="Escoge un semestre">
  69. <div class="mdc-card">
  70. <div class="mdc-card__primary-action" tabindex="0">
  71. <div id="dash-button-clone" class="mdc-card__media mdc-card__media--square"></div>
  72. <hr>
  73. <div>
  74. <p>Copiar un Semestre</p>
  75. </div>
  76. </div>
  77. </div>
  78. </a>
  79. </div>
  80. <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2">
  81. <a href="{{ route('exportCourses') }}" style="text-decoration: none; color: inherit;">
  82. <div class="mdc-card">
  83. <div class="mdc-card__primary-action" tabindex="0">
  84. <div id="dash-button-schedule" class="mdc-card__media mdc-card__media--square"></div>
  85. <hr>
  86. <div>
  87. <p>Informe de Cursos</p>
  88. </div>
  89. </div>
  90. </div>
  91. </a>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. @endsection
  97. @section('modals')
  98. @include('modal.semester')
  99. @include('modal.semester-clone')
  100. @include('modal.user-add')
  101. @endsection
  102. @section('scripts')
  103. <script type="text/javascript" src="/js/dashboard.js"></script>
  104. @endsection