Skip to content

Commit

Permalink
refactoring code
Browse files Browse the repository at this point in the history
trieu committed Dec 6, 2024
1 parent 7b566ad commit e529283
Showing 6 changed files with 6 additions and 18 deletions.
Binary file modified leo-data-processing-starter-v_0.9.0.jar
Binary file not shown.
Binary file modified leo-main-starter-v_0.9.0.jar
Binary file not shown.
Binary file modified leo-observer-starter-v_0.9.0.jar
Binary file not shown.
Binary file modified leo-scheduler-starter-v_0.9.0.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions resources/app-templates/leocdp-admin/index.html
Original file line number Diff line number Diff line change
@@ -28,10 +28,10 @@
var dataApiCache = "{{dataApiCache}}" === "true";

var industryDataModels = '{{industryDataModels}}'.split(",");
var leoProductType = '{{leoProductType}}';

var leoCdpBuildVersion = '{{leoCdpBuildVersion}}';
var cacheBustingKey = '{{cacheBustingKey}}';
var leoCdpEdition = '{{leoCdpEdition}}';

var minifySuffix = '{{minifySuffix}}';
var maxTotalDataQualityScore = parseInt('{{maxTotalDataQualityScore}}');

20 changes: 4 additions & 16 deletions resources/app-templates/leocdp-admin/main-view.html
Original file line number Diff line number Diff line change
@@ -183,17 +183,8 @@
<li >
<div class="panel panel-default">
<div class="panel-body" style="font-size: 11px;" >
<div title="CDP Version" data-container="body" data-toggle="popover" data-placement="top" data-content="The version of CDP" >
<b>
Version: <span id="leo_product_type" ></span>
<span id="leocdp_version_type" ></span>
</b>
<br>
<b>ID: <span id="leocdp_version_number" ></span></b>
</div>
<div id="promo_panel" style="visibility:visible; display: none;" >
<b> Powered by </b> <br>
<img id="uspa_logo" style="margin:auto" src="/public/images/uspa-tech-logo.png" alt="USPA Technology" title="Go to USPA Technology website" >
<div title="Build ID" data-container="body" data-toggle="popover" data-placement="top" >
<b>Build ID: <span id="system_build_id" ></span></b>
</div>
</div>
</div>
@@ -327,8 +318,7 @@
var msg ='<div class="alert alert-info"> <strong> The Admin Portal </strong> is currently not supported on mobile browsers! </div>';
$('#page-main-notification').show().html(msg);
} else {
$('#promo_panel').css("visibility",promoVisibility);
$('#uspa_logo').click(function(){ window.open('https://uspa.tech','_blank') });

$(window).resize(pageWrapperResize);
$('#logo-img').attr('src',window.pageHeaderLogo).show();

@@ -337,9 +327,7 @@
navigationSetup();
$('#main_admin_navigation').show();

$('#leo_product_type').text(leoProductType);
$('#leocdp_version_type').text(leoCdpEdition.toUpperCase());
$('#leocdp_version_number').text(leoCdpBuildVersion);
$('#system_build_id').text(leoCdpBuildVersion);

// search bar handler
$('#main_search_profile').on('keyup', function (e) {

0 comments on commit e529283

Please sign in to comment.