cluedin-widget
Version:
This is the project for creating and managing widgets in CluedIn.
82 lines (61 loc) • 2.63 kB
HTML
<html>
<head>
<title>POC Widget</title>
<link rel="stylesheet" href="../../dist/cluedin_widget.css">
</head>
<body style="background:#eee;">
<script>
window.__cluedIn = window.__cluedIn || {};
__cluedIn.token = "YYb7b_b1oGfNwQRXgQp7zjl63JASQFxMqe2muq9Pk6R1Pipn80lzoBgKZQbhTki22-v6n3nv8x0VL0e7EORkuYybATKkjl9heorGjSFI5eYba5SIVNOzMC5NP5qlCjrLyOfz5E_BlpLueih4ZxxMpp0Dd2GwSkPR3W5V3dEtjRUhBxZk08uF7xgC9WAH8Zpisj4UcbMBzVDpAQh_7m0lu59MNtesjhuWNjGfGeLyXf-IlkGdS2XtKo2EVv0K3q-GZkHoeSXrGKy0IwmRILjS1YBmeYKaH9FIWgBFPv860HbqQYv9OPQUr88TaCTN-tIsLDYJF64Tun3XRgB3upl-ZRMZNv7G1BPFTeJNQJpW25O1vr-TZBTzAjK9VHXvhKw5VmKdiTFZjQaJMoQKIpZgc0NjzNttEzB2DC-wYdoZugKvO7EkVIEbLIoqT6um4kWQRKdDAxYcJFO6ZndAd1ZeIudgp5zRLNVhehfDG76xt0GuHeN1jtuSEWS8WKZ9XukETjxgWt3yvKd1vnrrg-wqwdjLNGz-hC0KVrX6ryXlyS-91zih";
__cluedIn.org = "dervalp15042016";
__cluedIn.env = "test";
</script>
<!--<script src="https://api.cerebro.technology:1339/signalr/hubs"></script>-->
<div>
<div style="display:flex">
<div style="flex:1">
<cluedin cluedInType="HomeScreen"></cluedin>
</div>
<div class="cluedIn_integrationReports">
<!-- <cluedin cluedInType="IntegrationReport"></cluedin>-->
</div>
</div>
</div>
<script>
//$.signalR.ajaxDefaults.headers = { Authorization: 'Bearer ' + __cluedIn.token };
//$.connection.hub.qs = { 'Bearer': __cluedIn.token };
//$.connection.hub.logging = true;
//var connection = $.connection( 'https://api.cerebro.technology:1339/signalr' );
/*
Idle,
Queued,
Crawling,
Processing,
Finished
connection.start().done( function() {
console.log( 'connected!!!' );
console.log( arguments );
var connectionHub = $.hubConnection();
var clientHubProxy = connectionHub.createHubProxy( 'clientHub' );
var clientHubGeneratedProxy = $.connection.cliendHub;
clientHubProxy.on( 'ProviderStats', function( name, message ) {
console.log( name + ' ' + message );
} );
clientHubProxy.start();
console.log( 'generated?' );
console.log( $.connection );
} );*/
/*var clientHubProxy = $.connection.clientHub;
clientHubProxy.client.ProviderStats = function( name, message ) {
console.log( name + ' ' + message );
};
$.connection.hub.start().done( function() {
console.log( '!!!' );
} );*/
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="../../dist/deps/jquery.signalr.js"></script>
<script src="../../dist/cluedin_widget.js"></script>
</body>
</html>