[Explore|Trunk]

Update properties: 
	add new stats tool API

index.html: remove js for addhis & citeThis and clean up comments



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@58781 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-05-26 10:20:32 +00:00
parent 06b6beee8c
commit a9fcf4b6d3
6 changed files with 17 additions and 40 deletions

View File

@ -8,6 +8,8 @@
"framesAPIURL" : "https://beta.openaire.eu/stats3/",
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/",
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/",
"statisticsFrameNewAPIURL": "https://stats.madgik.di.uoa.gr/stats-api/",
"useNewStatistisTool":true,
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/",
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/",
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources",
@ -48,7 +50,7 @@
"cookieDomain" :".openaire.eu",
"feedbackmail" :"openaire.test@gmail.com",
"feedbackmail" :"feedback@openaire.eu",
"cacheUrl" :"https://demo.openaire.eu/cache/get?url=",

View File

@ -8,6 +8,8 @@
"framesAPIURL" : "https://www.openaire.eu/stats3/",
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/",
"statisticsFrameAPIURL":"https://www.openaire.eu/stats/",
"statisticsFrameNewAPIURL": "https://services.openaire.eu/stats/",
"useNewStatistisTool":false,
"claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/",
"searchAPIURLLAst" : "https://services.openaire.eu/search/v2/api/",
"searchResourcesAPIURL" : "https://services.openaire.eu/search/v2/api/resources",

View File

@ -9,6 +9,8 @@
"framesAPIURL" : "https://test.openaire.eu/stats3/",
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/",
"statisticsFrameAPIURL":"https://test.openaire.eu/stats/",
"statisticsFrameNewAPIURL": "https://services.openaire.eu/stats/",
"useNewStatistisTool":false,
"claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/",
"searchAPIURLLAst" : "http://services.openaire.eu:8480/shadowSearch/rest/v2/api/",
"searchResourcesAPIURL" : "http://services.openaire.eu:8480/shadowSearch/rest/v2/api/resources",

View File

@ -57,7 +57,7 @@ export class AppComponent {
private router: Router, private userManagementService: UserManagementService) {
router.events.forEach((event) => {
if (event instanceof NavigationStart) {
console.log(event.url);
// console.log(event.url);
HelperFunctions.scroll();
}
});

View File

@ -8,6 +8,8 @@
"framesAPIURL" : "https://beta.openaire.eu/stats3/",
"statisticsAPIURL" : "http://vatopedi.di.uoa.gr:8080/stats/",
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/",
"statisticsFrameNewAPIURL": "https://stats.madgik.di.uoa.gr/stats-api/",
"useNewStatistisTool":true,
"claimsAPIURL" : "http://dl170.madgik.di.uoa.gr:8180/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/",
"searchAPIURLLAst" : "http://beta.services.openaire.eu/search/v2/api/",
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources",

View File

@ -43,52 +43,25 @@
<meta name="theme-color" content="#ffffff">
<title>Search OpenAIRE</title>
<script>
window.onerror = function (errorMsg, url, lineNumber, column, errorObj) {
// console.log(errorMsg + " __" + url + " __" + lineNumber + " __" + column + " __" + errorObj);
if((errorMsg && errorMsg.indexOf("uikit.js") != -1) || url.indexOf("uikit.js") != -1 ){
console.log("********UIKIT Error ***********");
$.getScript("assets/common-assets/common/uikit.min.js?v=4");
$.getScript("assets/common-assets/common/uikit-icons.min.js?v=4");
}
}
</script>
<!-- <script src="assets/common-assets/jquery/jquery.min.js" type="text/javascript"></script> -->
<script src="assets/common-assets/common/jquery.js"></script>
<script src="assets/common-assets/citeproc.js"></script>
<script src="assets/common-assets/common/jquery.js"></script>
<script src="assets/common-assets/common/uikit.min.js?v=4"></script>
<script src="assets/common-assets/common/uikit-icons.min.js?v=4"></script>
<script>
$(document).ready(function(){
console.log("Is ready - load uikit ***")
$.getScript("assets/common-assets/common/uikit.min.js?v=4");
$.getScript("assets/common-assets/common/uikit-icons.min.js?v=4");
$.getScript("//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-559d24521cd8c080");
$.getScript("assets/common-assets/common/uikit.min.js?v=5");
$.getScript("assets/common-assets/common/uikit-icons.min.js?v=5");
});
</script>
<link rel="stylesheet" href="assets/common-assets/common/theme.css?v=4">
<link rel="stylesheet" href="assets/common-assets/common/custom.css?v=4">
<link rel="stylesheet" href="assets/common-assets/library.css?v=7">
<link rel="stylesheet" href="assets/explore-custom.css?v=7">
<link rel="stylesheet" href="assets/common-assets/common/theme.css?v=5">
<link rel="stylesheet" href="assets/common-assets/common/custom.css?v=5">
<link rel="stylesheet" href="assets/common-assets/library.css?v=8">
<link rel="stylesheet" href="assets/explore-custom.css?v=8">
<script src="assets/common-assets/clipboard.min.js"></script>
<!--script type='text/javascript' src="node_modules/clipboard/dist/clipboard.min.js"></script-->
<!--script src="https://cdn.jsdelivr.net/clipboard.js/1.5.12/clipboard.min.js"></script-->
<!--script type='text/javascript' src='https://d1bxh8uas1mnw7.cloudfront.net/assets/common-assets/embed.js'></script-->
<!-- End of Google sitelinks search markup-->
</head>
<body class="" style="">
@ -105,9 +78,5 @@ $(document).ready(function(){
};
</script>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<!-- to update addThis: https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-559d24521cd8c080-->
<!-- <script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5a12dbd124e4e521"></script> -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-559d24521cd8c080"></script>
</body>
</html>