cluedin-widget
Version:
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
82 lines (61 loc) • 2.6 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 = "nV4xRg67YZttmpErS3cxdfNWTUZs50uDXT0BA_ZmLnv1uPqOh7d3mty7apU-MYoUgBc8_Y8N6R5kN8P4Rq9yOJK6KKJgMW6SOL5nzrJOqO6ee3ksc7Aybr49MOQ1hqFc4tFyxOCVjiKlw-MG6PyS2cTJaF9HoC8vMZaDHw7G42uV0i4d9RSrklv0WpbaZhJsjhIfrD8SuQXiy6V0PDDGUPV0KCJhTlefOJ3AqRwz5x3ZmVSQ8jYYQ6TLBjYzhtQt0fdMCqLZ-ZO_eMz9HFAV0AxtgwwWjZwf4EPC2vxu2Ln8sIVGZ6fq0LHlitRX4xXGeQaY28rrz0_bvgoP-VZ8-XQ-Tto_HybIsX0uXRATKkpjO0PfedGRc1ce_GvdTyzKMZff8IQMYFNVOWsLQOxwPwn_yDd5WjopGkV53WR5PAdKSCibIhdoKL6Sb0ZOfiAqw8MwbTOSlenoR6iUfKHrJs_NsEBu1FUU_RjDXOq0HRLI9sJaPUHlbsnaS0GPpYtnU4BW7UR4zrorb3Jd02X2Re8y7ss";
__cluedIn.org = "omg";
__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>