Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Dec 11, 2023
2 parents 0ef3739 + d23a8e7 commit 65c6050
Show file tree
Hide file tree
Showing 184 changed files with 5,010 additions and 410 deletions.
2 changes: 2 additions & 0 deletions lhc_web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ bower_components
package-lock.json
composer.phar
post_deploy.sh
translations/trans/
cache/default.log
/.idea/
7 changes: 7 additions & 0 deletions lhc_web/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ rm -rf ./design/defaulttheme/js/lh/dist/*.js
rm -rf ./design/defaulttheme/js/admin/dist/*.js
rm -rf ./design/defaulttheme/js/lh/dist/*.js.map
rm -rf ./design/defaulttheme/js/admin/dist/*.js.map
rm -rf ./design/defaulttheme/js/admin/dist/*.js.map
rm -rf ./design/defaulttheme/js/svelte/public/build/*.js
rm -rf ./design/defaulttheme/js/svelte/public/build/*.js.map

echo "Compiling default js"
gulp
Expand Down Expand Up @@ -56,6 +59,10 @@ echo "Voice"
cd ./design/defaulttheme/widget/voice-call-operator && npm run build
cd ../../../../

echo "Svelte"
cd ./design/defaulttheme/js/svelte && npm run build
cd ../../../../

echo "Generating JS/CSS files"
php cron.php -s site_admin -c cron/util/generate_css -p 1

Expand Down
16 changes: 15 additions & 1 deletion lhc_web/design/defaulttheme/css/app.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

/*
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
}*/

::-webkit-scrollbar{width:0.7em;height:0.8em;background-color:#fff;}
::-webkit-scrollbar:hover{background-color:#ddd}
Expand Down Expand Up @@ -61,6 +62,19 @@ a.link {
display: none!important;
}

lhc-multilanguage-tab {
display: inherit;
}

lhc-multilanguage-tab-content>.tab-pane {
display: none;
}

lhc-multilanguage-tab-content>.active {
display: block;
}


.container-fluid,
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9,
.col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lhc_web/design/defaulttheme/css/widgetv2/widget.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ body {
--lhc-message-op-background: #ededed;
--lhc-message-vi-background: #3267e4;
--lhc-message-padding: 6px 9px;
--bs-code-color: #CECECE;
}

a {
Expand Down
13 changes: 0 additions & 13 deletions lhc_web/design/defaulttheme/js/angular.lhc.account.validator.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
lhcAppControllers.controller('DepartmentCustomPeriodCtrl',['$scope', function($scope) {
this.customPeriods = [];
Expand All @@ -18,4 +19,4 @@ lhcAppControllers.controller('DepartmentCustomPeriodCtrl',['$scope', function($s
this.delete = function(period) {
that.customPeriods.splice(that.customPeriods.indexOf(period),1);
};
}]);
}]);*/
28 changes: 28 additions & 0 deletions lhc_web/design/defaulttheme/js/angular.lhc.legacy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
var phonecatApp = angular.module('lhcApp', [
'lhcAppServices',
'lhcAppControllers'
]);

var services = angular.module('lhcAppServices', []);
var lhcAppControllers = angular.module('lhcAppControllers', ["checklist-model"]);

lhcAppControllers.config(['$compileProvider', function ($compileProvider) {
$compileProvider.debugInfoEnabled(false);
}]);

lhcAppControllers.run(['$http', function ($http) {
$http.defaults.headers.common['X-CSRFToken'] = confLH.csrf_token;
}]);

angular.element(document).ready(function(){
var element = angular.element(document.querySelector("form"));
element.triggerHandler("$destroy");
});

services.factory('LiveHelperChatFactory', ['$http','$q',function ($http, $q) {
return this;
}]);

lhcAppControllers.controller('LiveHelperChatCtrl',['$scope','$http','$location','$rootScope', '$log','$interval','LiveHelperChatFactory', function($scope, $http, $location, $rootScope, $log, $interval,LiveHelperChatFactory) {

}]);

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 65c6050

Please sign in to comment.