|
@@ -433,41 +433,6 @@
|
|
|
<script src="/js/stag-collapsible-card.js?v={{config('app.asset_version')}}"></script>
|
|
|
<script src="/js/stag-scrollbar.js?v={{config('app.asset_version')}}"></script>
|
|
|
@include('app/pdf/viewer')
|
|
|
- @if(config('app.enableSockets'))
|
|
|
- <script>
|
|
|
- window.socketClient = Stomp.over(new SockJS("{{ config('app.backend_ws_url') }}"));
|
|
|
- window.socketClient.debug = function(str) {};
|
|
|
- window.socketClient.connect({}, (frame) => {
|
|
|
-
|
|
|
- window.socketClient.send("/app/register", {}, // register self
|
|
|
- JSON.stringify({
|
|
|
- sessionKey: '{{$performer->session_key}}'
|
|
|
- })
|
|
|
- );
|
|
|
-
|
|
|
- window.socketClient.subscribe("/user/topic/myCurrentProClientWork", function(message) {
|
|
|
- console.log("You have a client pro work: ", message);
|
|
|
- $.get('/current-work', function(_data) {
|
|
|
- $('.current-work').html(_data);
|
|
|
- //initFastLoad($('.current-work'));
|
|
|
- fastReload();
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
- window.socketClient.subscribe("/user/topic/killMyCurrentProClientWork", function(message) {
|
|
|
- console.log("You have killed your current pro client work: ", message);
|
|
|
- $.get('/current-work', function(_data) {
|
|
|
- $('.current-work').html(_data);
|
|
|
- //initFastLoad($('.current-work'));
|
|
|
- fastReload();
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- });
|
|
|
- </script>
|
|
|
- @endif
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.24/fc-3.3.2/fh-3.1.8/datatables.min.css"/>
|
|
|
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.24/fc-3.3.2/fh-3.1.8/datatables.min.js"></script>
|
|
|
<link href="/v-splitter-px/v-splitter.css?v={{config('app.asset_version')}}" rel="stylesheet" >
|