-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathapp.blade.php
More file actions
173 lines (148 loc) · 5.97 KB
/
app.blade.php
File metadata and controls
173 lines (148 loc) · 5.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="{{ setting('language') ?: 'en' }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- favicons -->
@include('web::includes.favicon')
<title>SeAT | @yield('title', 'Eve Online API Tool')</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap 4 -->
<link rel="stylesheet" href="{{ asset('web/css/bootstrap.min.css') }}">
<!-- Font Awesome -->
<link rel="stylesheet" href="{{ asset('web/css/all.min.css') }}">
<!-- Select2 -->
<link rel="stylesheet" href="{{ asset('web/css/select2.min.css') }}">
<!-- DataTables -->
<link rel="stylesheet" href="{{ asset('web/css/datatables.min.css') }}">
<!-- Theme style -->
<link rel="stylesheet" href="{{ asset('web/css/adminlte.min.css') }}">
<!-- Google Font -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<!-- SeAT CSS -->
<link rel="stylesheet" href="{{ asset('web/css/seat.css') }}">
<!-- SeAT Skins CSS -->
@if(setting('skin') && file_exists(public_path('web/css/skins/' . setting('skin') . '.css')))
<link rel="stylesheet" href="{{ asset('web/css/skins/' . setting('skin') . '.css') }}" />
@endif
<!-- Custom layout CSS -->
@if(file_exists(public_path('custom-layout.css')))
<link rel="stylesheet" href="{{ asset('custom-layout.css') }}"/>
@endif
<!-- view specific head content -->
@stack('head')
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition text-sm sidebar-mini {{ setting('sidebar') }}">
<div class="wrapper">
<!-- Main Header -->
@include('web::includes.header')
<!-- Left side column. contains the logo and sidebar -->
@include('web::includes.sidebar')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
@yield('page_header')
<small>@yield('page_description')</small>
</h1>
</div>
</div>
</div>
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<!-- Disclaimer Configuration Alerts -->
@if(config('app.debug', false))
@can('global.superuser')
<div class="alert alert-danger" role="alert">
<h4 class="alert-heading"><i class="fas fa-bug"></i> {{ trans('web::seat.critical') }} !</h4>
<p>{!! trans('web::seat.debug_disclaimer') !!}</p>
</div>
@else
<div class="alert alert-warning" role="alert">
<h4 class="alert-heading"><i class="fas fa-bug"></i> {{ trans('web::seat.critical') }} !</h4>
<p>{!! trans('web::seat.warning_disclaimer') !!}</p>
</div>
@endif
@endif
<!-- Notifications -->
@include('web::includes.notifications')
<!-- Page Content Here -->
@yield('content')
</div>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Main Footer -->
@include('web::includes.footer')
<!-- Right Sidebar Content -->
@include('web::includes.right_sidebar')
</div>
<!-- ./wrapper -->
<!-- Le-JavaScript -->
<!-- jQuery -->
<script src="{{ asset('web/js/jquery.min.js') }}"></script>
<!-- Bootstrap -->
<!--<script src="{{ asset('web/js/bootstrap.min.js') }}"></script>-->
<script src="{{ asset('web/js/bootstrap.bundle.min.js') }}"></script>
<!-- Select2 -->
<script src="{{ asset('web/js/select2.full.min.js') }}"></script>
<!-- Bootbox -->
<script src="{{ asset('web/js/bootbox.min.js') }}"></script>
<!-- jQuery Unveil -->
<script src="{{ asset('web/js/jquery.unveil.js') }}"></script>
<!-- DataTables -->
<script src="{{ asset('web/js/dataTables.min.js') }}"></script>
<!-- MomentJS -->
<script src="{{ asset('web/js/moment-with-locales.min.js') }}"></script>
<!-- ChartJS -->
<script src="{{ asset('web/js/chart.min.js') }}"></script>
<!-- Theme JS -->
<script src="{{ asset('web/js/adminlte.min.js') }}"></script>
<script>
// Inject the page limit value with fallback to 10 if not set.
//
// This is required as `seat.js` uses this variable, with their own fallback, just in case.
var pageLength = {{ setting('page_limit') ?? 10 }};
</script>
<!-- SeAT JS -->
<script src="{{ asset('web/js/seat.js') }}"></script>
{{-- This script is here as we need Laravel to generate the route --}}
@can('global.queue_manager')
<script>
// Periodic Queue Status Updates
(function worker() {
$.ajax({
type : "get",
url : "{{ route('seatcore::queue.status.short') }}",
success : function (data) {
$("span#queue_count").text(data.queue_count);
$("span#error_count").text(data.error_count);
},
complete: function () {
// Schedule the next request when the current one's complete
setTimeout(worker, {{ config('web.config.queue_status_update_time') }});
}
});
})();
</script>
@endcan
<!-- view specific scripts -->
@stack('javascript')
</body>
</html>