Нет описания

print.blade.php 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="csrf-token" content="<?= csrf_token() ?>">
  6. <link rel="shortcut icon" href="{{ asset('favicon.ico') }}">
  7. <!-- Bootstrap CSS-->
  8. {{ HTML::style('vendor/bootstrap/css/bootstrap.min.css') }}
  9. <!-- CSS -->
  10. {{ HTML::style('css/custom.css') }}
  11. {{ HTML::style('css/print.css') }}
  12. @yield('css')
  13. <!-- jQuery -->
  14. <script src="{{ asset('vendor/jquery.min.js') }}"></script>
  15. <!-- Bootstrap js -->
  16. <script src="{{ asset('vendor/bootstrap/js/bootstrap.min.js') }}"></script>
  17. <title>{{ $title }}</title>
  18. </head>
  19. <body>
  20. <header class="header">
  21. <img class="logo" src="{{ asset('images/logo_uprrp_bw.png') }}" alt="UPRRP Logo">
  22. <div class="header">
  23. <p class="header-text">University of Puerto Rico, Río Piedras Campus</p>
  24. <p class="header-text">Online Learning Assessment System</p>
  25. @yield('header')
  26. </div>
  27. </header>
  28. <main class="main">
  29. @yield('main')
  30. </main>
  31. <!-- File specific scripts -->
  32. @yield('included-js')
  33. <!-- General Scripts -->
  34. <script type="text/javascript">
  35. $(document).ready(function() {
  36. $('#js-error-row').hide();
  37. // Always scroll to the top
  38. $(this).scrollTop(0);
  39. $('html').animate({scrollTop:0}, 1);
  40. $('body').animate({scrollTop:0}, 1);
  41. // Yield to js
  42. @yield('javascript')
  43. // Turn on tooltips
  44. $('[data-toggle="tooltip"]').tooltip();
  45. });
  46. </script>
  47. <!-- AJAX setup for CSRF protection -->
  48. <script src="{{ asset('js/ajaxSetup.js') }}"></script>
  49. <script type="text/javascript">
  50. window.print();
  51. </script>
  52. </body>
  53. </html>