master.blade.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>TM | {{$title or "Admin"}}</title>
  6. <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
  7. <meta name="description" content="Developed By M Abdur Rokib Promy">
  8. <meta name="keywords" content="Admin, Bootstrap 3, Template, Theme, Responsive">
  9. <meta name="csrf-token" content="{{ csrf_token() }}">
  10. <link rel="shortcut icon" href="{{{ asset('assets/favicon.gif') }}}">
  11. <!-- jQuery 2.0.2 -->
  12. <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
  13. <script src="{{URL::asset('assets/front_end/js/jquery.min.js')}}" type="text/javascript"></script>
  14. @yield('style')
  15. <!-- bootstrap 3.0.2 -->
  16. <link href="{{URL::asset('assets/front_end/css/bootstrap.min.css')}}" rel="stylesheet" type="text/css" />
  17. <link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
  18. <!-- font Awesome -->
  19. <link href="{{URL::asset('assets/front_end/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css" />
  20. <!-- Ionicons -->
  21. <link href="{{URL::asset('assets/front_end/css/ionicons.min.css')}}" rel="stylesheet" type="text/css" />
  22. <!-- iCheck for checkboxes and radio inputs -->
  23. <link href="{{URL::asset('assets/front_end/css/iCheck/all.css')}}" rel="stylesheet" type="text/css" />
  24. <!-- bootstrap wysihtml5 - text editor -->
  25. <!-- <link href="css/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css" /> -->
  26. <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  27. <!-- Theme style -->
  28. <link href="{{URL::asset('assets/front_end/css/style.css')}}" rel="stylesheet" type="text/css" />
  29. <style type="text/css">
  30. .left-side {
  31. background: #0747A6!important;
  32. }
  33. .skin-black .logo {
  34. background-color: #4883BC;
  35. }
  36. .txt-color{
  37. color:#1ab394;
  38. }
  39. .field_mendatory{
  40. color: #F74E35;
  41. }
  42. </style>
  43. </head>
  44. <body class="skin-black">
  45. @include('layouts.header')
  46. <div class="wrapper row-offcanvas row-offcanvas-left">
  47. @include('layouts.left_menu')
  48. <aside class="right-side layout-box">
  49. @yield('content')
  50. <div class="footer-main">
  51. Copyright &copy 2016-2023. Powered By revinr
  52. </div>
  53. </aside>
  54. </div>
  55. <!-- jQuery UI 1.10.3 -->
  56. <script src="{{URL::asset('assets/front_end/js/jquery-ui-1.10.3.min.js')}}" type="text/javascript"></script>
  57. <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
  58. <!-- Bootstrap -->
  59. <script src="{{URL::asset('assets/front_end/js/bootstrap.min.js')}}" type="text/javascript"></script>
  60. <script src="{{URL::asset('assets/front_end/js/plugins/iCheck/icheck.min.js')}}" type="text/javascript"></script>
  61. <!-- Director App -->
  62. <script src="{{URL::asset('assets/front_end/js/Director/app.js')}}" type="text/javascript"></script>
  63. <!-- Director dashboard demo (This is only for demo purposes) -->
  64. <!-- Director for demo purposes -->
  65. <script type="text/javascript">
  66. $('input').on('ifChecked', function(event) {
  67. // var element = $(this).parent().find('input:checkbox:first');
  68. // element.parent().parent().parent().addClass('highlight');
  69. $(this).parents('li').addClass("task-done");
  70. console.log('ok');
  71. });
  72. $('input').on('ifUnchecked', function(event) {
  73. // var element = $(this).parent().find('input:checkbox:first');
  74. // element.parent().parent().parent().removeClass('highlight');
  75. $(this).parents('li').removeClass("task-done");
  76. console.log('not');
  77. });
  78. </script>
  79. <script>
  80. $('#noti-box').slimScroll({
  81. height: '400px',
  82. size: '5px',
  83. BorderRadius: '5px'
  84. });
  85. $('input[type="checkbox"].flat-grey, input[type="radio"].flat-grey').iCheck({
  86. checkboxClass: 'icheckbox_flat-grey',
  87. radioClass: 'iradio_flat-grey'
  88. });
  89. $.ajaxSetup({
  90. headers: {
  91. 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
  92. }
  93. });
  94. $('.cls-noti-btn').click(function(event) {
  95. var user_id = $('.hdn-user-id').val();
  96. $.ajax({
  97. url: '{{url('admin/change_notification')}}',
  98. type: 'POST',
  99. data: {user_id: user_id},
  100. })
  101. .done(function(){
  102. $('.cls-show-noti-number').hide();
  103. });
  104. });
  105. $('.cls-noti-btn1').click(function(event) {
  106. $('.cls-show-noti-number1').hide();
  107. });
  108. </script>
  109. <script type="text/javascript">
  110. $(document).ready( function() {
  111. $(".msg_alt").delay(5000).fadeOut(2000);
  112. });
  113. </script>
  114. @yield('script')
  115. </body>
  116. </html>