Project

General

Profile

« Previous | Next » 

Revision 61119

[Connect | Angular]: Update to Angular 11. Add configutation build scripts for all environemnts.

View differences:

modules/uoa-connect-portal/branches/angular-11/src/prod/index.prod.html
1
<!DOCTYPE html>
2
<html lang="en" dir="ltr" vocab="http://schema.org/">
3
  <head>
4
    <meta charset="utf-8">
5
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
    <meta name="viewport" content="width=device-width, initial-scale=1">
7
    <base href="/"/>
8
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
9
    <meta name="description"
10
          content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects "/>
11
    <meta property="og:description"
12
          content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects"/>
13
    <meta property="og:title" content="OpenAIRE - Connect "/>
14
    <meta name="google-site-verification" content="rZ-58gIX8IqzBte6Qv4J5yY9aSiDP15Dfc1Yr9yezqE" />
15
    <meta name="robots" content="all">
16
    <meta property="og:type" content="website"/>
17
    <meta property="og:url" content="https://connect.openaire.eu"/>
18
    <meta property="og:site_name" content="OpenAIRE - Connect"/>
19

  
20
    <meta property="og:image" content="assets/common-assets/common/Symbol.png"/>
21
    <meta property="og:image:secure_url" content="assets/common-assets/common/Symbol.png"/>
22
    <meta property="og:image:type" content="image/png"/>
23
    <meta property="og:image:width" content="360"/>
24
    <meta property="og:image:height" content="359"/>
25

  
26
    <link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
27
    <link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
28
    <link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
29
    <link rel="apple-touch-icon" sizes="76x76" href="assets/common-assets/logo/apple-icon-76x76.png">
30
    <link rel="apple-touch-icon" sizes="114x114" href="assets/common-assets/logo/apple-icon-114x114.png">
31
    <link rel="apple-touch-icon" sizes="120x120" href="assets/common-assets/logo/apple-icon-120x120.png">
32
    <link rel="apple-touch-icon" sizes="144x144" href="assets/common-assets/logo/apple-icon-144x144.png">
33
    <link rel="apple-touch-icon" sizes="152x152" href="assets/common-assets/logo/apple-icon-152x152.png">
34
    <link rel="apple-touch-icon" sizes="180x180" href="assets/common-assets/logo/apple-icon-180x180.png">
35
    <link rel="icon" type="image/png" sizes="192x192" href="assets/common-assets/logo/android-icon-192x192.png">
36
    <link rel="icon" type="image/png" sizes="32x32" href="assets/common-assets/logo/favicon-32x32.png">
37
    <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
38
    <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
39
    <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon"/>
40
    <link rel="manifest" href="assets/common-assets/logo/manifest.json">
41
    <meta name="msapplication-TileColor" content="#ffffff">
42
    <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
43
    <meta name="theme-color" content="#ffffff">
44
    <script src="assets/common-assets/common/jquery.js"></script>
45
    <script src="assets/common-assets/common/uikit.min.js?v=1"></script>
46
    <script src="assets/common-assets/common/uikit-icons.min.js?v=1"></script>
47
    <script src="https://cdn.ckeditor.com/4.5.11/full-all/ckeditor.js"></script>
48
    <script>
49
        $(document).ready(function () {
50
            console.log("Is ready - load uikit ***")
51
            $.getScript("assets/common-assets/common/uikit.min.js?v=1");
52
            $.getScript("assets/common-assets/common/uikit-icons.min.js?v=1");
53
        });
54

  
55
    </script>
56

  
57
    <link id="customCssfile" rel="stylesheet" href="">
58
    <style id="customCss">
59
    </style>
60
  </head>
61
  <body class="" style="">
62
    <div class="uk-offcanvas-content uk-height-viewport">
63
      <app-root></app-root>
64
    </div>
65
  </body>
66
  <script type="text/javascript"  >
67
      function loadAltmetrics(e,t,n){
68
          var d="createElement",c="getElementsByTagName",m="setAttribute",n=document.getElementById(e);
69
          return n&&n.parentNode&&n.parentNode.removeChild(n),n=document[d+"NS"]&&document.documentElement.namespaceURI,n=n?document[d+"NS"](n,"script"):document[d]("script"),n[m]("id",e),n[m]("src",t),(document[c]("head")[0]||document[c]("body")[0]).appendChild(n),n=new Image,void n[m]("src","https://d1uo4w7k31k5mn.cloudfront.net/donut/0.png")
70
      }
71

  
72
      function appendCss(customData) {
73
          if (typeof customData != "undefined")
74
              $(document).ready(function () {
75
                  /*          var link = $("<style>");
76
                            link.attr({
77
                                type: 'text/css',
78
                                rel: 'stylesheet',
79
                                id: "customCss",
80
                            });
81
                            $("head").append(link);
82
                            $("#customCss").append(customData);*/
83
                  //TODO uncomment above and remove the following once customization is up to date
84
                  var link = $("<link>");
85
                  link.attr({
86
                      rel: 'stylesheet',
87
                      id: "customCss",
88
                      href:"/assets/customization.css"
89
                  });
90
                  $("head").append(link);
91
                  $("#customCss").append(customData);
92
              });
93
      }
94
  </script>
95
  <script src="https://unpkg.com/smoothscroll-polyfill@0.4.3/dist/smoothscroll.min.js"></script>
96
</html>
modules/uoa-connect-portal/branches/angular-11/src/beta/index.beta.html
1
<!DOCTYPE html>
2
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
3
   <head>
4
      <meta charset="utf-8">
5
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
      <meta name="viewport" content="width=device-width, initial-scale=1">
7
      <base href="/" />
8
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
9
      <meta name="description" content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects "/>
10

  
11
      <meta property="og:description" content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects"/>
12
      <meta property="og:title" content="OpenAIRE - Connect "/>
13

  
14
      <meta property="og:type" content="website"/>
15
      <meta property="og:url" content="https://beta.connect.openaire.eu"/>
16
      <meta property="og:site_name" content="OpenAIRE - Connect"/>
17

  
18
      <meta property="og:image" content="assets/common-assets/common/Symbol.png"/>
19
      <meta property="og:image:secure_url" content="assets/common-assets/common/Symbol.png" />
20
      <meta property="og:image:type" content="image/png" />
21
      <meta property="og:image:width" content="360" />
22
      <meta property="og:image:height" content="359" />
23
      <meta name="robots" content="noindex">
24
      <link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
25
      <link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
26
      <link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
27
      <link rel="apple-touch-icon" sizes="76x76" href="assets/common-assets/logo/apple-icon-76x76.png">
28
      <link rel="apple-touch-icon" sizes="114x114" href="assets/common-assets/logo/apple-icon-114x114.png">
29
      <link rel="apple-touch-icon" sizes="120x120" href="assets/common-assets/logo/apple-icon-120x120.png">
30
      <link rel="apple-touch-icon" sizes="144x144" href="assets/common-assets/logo/apple-icon-144x144.png">
31
      <link rel="apple-touch-icon" sizes="152x152" href="assets/common-assets/logo/apple-icon-152x152.png">
32
      <link rel="apple-touch-icon" sizes="180x180" href="assets/common-assets/logo/apple-icon-180x180.png">
33
      <link rel="icon" type="image/png" sizes="192x192"  href="assets/common-assets/logo/android-icon-192x192.png">
34
      <link rel="icon" type="image/png" sizes="32x32" href="assets/common-assets/logo/favicon-32x32.png">
35
      <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
36
      <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
37
      <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
38
      <link rel="manifest" href="assets/common-assets/logo/manifest.json">
39
      <meta name="msapplication-TileColor" content="#ffffff">
40
      <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
41
      <meta name="theme-color" content="#ffffff">
42
      <script  src="assets/common-assets/common/jquery.js"></script>
43
      <script  src="assets/common-assets/common/uikit.min.js?v=1"></script>
44
      <script src="assets/common-assets/common/uikit-icons.min.js?v=1"></script>
45
      <script src="https://cdn.ckeditor.com/4.5.11/full-all/ckeditor.js"></script>
46
      <script>
47
      $(document).ready(function(){
48
        console.log("Is ready - load uikit ***")
49
          $.getScript("assets/common-assets/common/uikit.min.js?v=1");
50
          $.getScript("assets/common-assets/common/uikit-icons.min.js?v=1");
51
      });
52

  
53
      </script>
54

  
55

  
56
      <link id="customCssfile" rel="stylesheet" href="">
57
      <style id="customCss">
58
      </style>
59
   </head>
60
   <body class="" style="">
61
      <div class="uk-offcanvas-content uk-height-viewport">
62
         <app-root></app-root>
63
      </div>
64
   </body>
65
   <script type="text/javascript"  >
66
      function loadAltmetrics(e,t,n){
67
         var d="createElement",c="getElementsByTagName",m="setAttribute",n=document.getElementById(e);
68
         return n&&n.parentNode&&n.parentNode.removeChild(n),n=document[d+"NS"]&&document.documentElement.namespaceURI,n=n?document[d+"NS"](n,"script"):document[d]("script"),n[m]("id",e),n[m]("src",t),(document[c]("head")[0]||document[c]("body")[0]).appendChild(n),n=new Image,void n[m]("src","https://d1uo4w7k31k5mn.cloudfront.net/donut/0.png")
69
      }
70

  
71
      function appendCss(customData) {
72
         if (typeof customData != "undefined")
73
            $(document).ready(function () {
74
               /*          var link = $("<style>");
75
                         link.attr({
76
                             type: 'text/css',
77
                             rel: 'stylesheet',
78
                             id: "customCss",
79
                         });
80
                         $("head").append(link);
81
                         $("#customCss").append(customData);*/
82
               //TODO uncomment above and remove the following once customization is up to date
83
               var link = $("<link>");
84
               link.attr({
85
                  rel: 'stylesheet',
86
                  id: "customCss",
87
                  href:"/assets/customization.css"
88
               });
89
               $("head").append(link);
90
               $("#customCss").append(customData);
91
            });
92
      }
93
   </script>
94
   <script src="https://unpkg.com/smoothscroll-polyfill@0.4.3/dist/smoothscroll.min.js"></script>
95
</html>
modules/uoa-connect-portal/branches/angular-11/angular.json
53 53
            ]
54 54
          },
55 55
          "configurations": {
56
            "development": {
57
              "optimization": true,
58
              "outputHashing": "all",
59
              "sourceMap": false,
60
              "namedChunks": false,
61
              "aot": true,
62
              "extractLicenses": true,
63
              "vendorChunk": false,
64
              "buildOptimizer": true,
65
              "budgets": [
66
                {
67
                  "type": "initial",
68
                  "maximumWarning": "2mb",
69
                  "maximumError": "5mb"
70
                },
71
                {
72
                  "type": "anyComponentStyle",
73
                  "maximumWarning": "6kb"
74
                }
75
              ]
76
            },
77
            "beta": {
78
              "index": {
79
                "input": "src/beta/index.html",
80
                "output": "index.html"
81
              },
82
              "fileReplacements": [
83
                {
84
                  "replace": "src/environments/environment.ts",
85
                  "with": "src/environments/environment.beta.ts"
86
                }
87
              ],
88
              "optimization": true,
89
              "outputHashing": "all",
90
              "sourceMap": false,
91
              "namedChunks": false,
92
              "aot": true,
93
              "extractLicenses": true,
94
              "vendorChunk": false,
95
              "buildOptimizer": true,
96
              "budgets": [
97
                {
98
                  "type": "initial",
99
                  "maximumWarning": "2mb",
100
                  "maximumError": "5mb"
101
                },
102
                {
103
                  "type": "anyComponentStyle",
104
                  "maximumWarning": "6kb"
105
                }
106
              ]
107
            },
56 108
            "production": {
109
              "index": {
110
                "input": "src/prod/index.html",
111
                "output": "index.html"
112
              },
57 113
              "fileReplacements": [
58 114
                {
59 115
                  "replace": "src/environments/environment.ts",
......
63 119
              "optimization": true,
64 120
              "outputHashing": "all",
65 121
              "sourceMap": false,
66
              "extractCss": true,
67 122
              "namedChunks": false,
68 123
              "aot": true,
69 124
              "extractLicenses": true,
......
137 192
            "tsConfig": "src/tsconfig.server.json"
138 193
          },
139 194
          "configurations": {
195
            "development": {
196
              "outputHashing": "media",
197
              "sourceMap": false,
198
              "optimization": true
199
            },
200
            "beta": {
201
              "outputHashing": "media",
202
              "fileReplacements": [
203
                {
204
                  "replace": "src/environments/environment.ts",
205
                  "with": "src/environments/environment.beta.ts"
206
                }
207
              ],
208
              "sourceMap": false,
209
              "optimization": true
210
            },
140 211
            "production": {
141 212
              "outputHashing": "media",
142 213
              "fileReplacements": [
modules/uoa-connect-portal/branches/angular-11/package.json
5 5
    "ng": "ng",
6 6
    "start": "ng serve --disable-host-check --host 0.0.0.0 --port 4200",
7 7
    "build": "ng build",
8
    "build-dev": "ng build --configuration=development",
9
    "build-beta": "ng build --configuration=beta",
10
    "build-prod": "ng build --prod",
8 11
    "test": "ng test",
9
    "lint": "ng lint",
10 12
    "e2e": "ng e2e",
11 13
    "dev:ssr": "ng run connect:serve-ssr",
12 14
    "serve:ssr": "node dist/connect/server/main.js",
13
    "build:ssr": "ng build --prod && ng run connect:server:production",
15
    "build:ssr-dev": "ng build --configuration=development && ng run connect:server:development",
16
    "build:ssr-beta": "ng build --configuration=beta && ng run connect:server:beta",
17
    "build:ssr-prod": "ng build --prod && ng run connect:server:production",
14 18
    "prerender": "ng run connect:prerender"
15 19
  },
16 20
  "private": true,
17 21
  "dependencies": {
18
    "@angular/animations": "~10.2.5",
19
    "@angular/cdk": "^10.2.7",
20
    "@angular/common": "~10.2.5",
21
    "@angular/compiler": "~10.2.5",
22
    "@angular/core": "~10.2.5",
23
    "@angular/forms": "~10.2.5",
24
    "@angular/localize": "^10.2.5",
25
    "@angular/material": "^10.2.7",
26
    "@angular/platform-browser": "~10.2.5",
27
    "@angular/platform-browser-dynamic": "~10.2.5",
28
    "@angular/platform-server": "~10.2.5",
29
    "@angular/router": "~10.2.5",
30
    "@nguniversal/express-engine": "^10.1.0",
22
    "@angular/animations": "~11.2.14",
23
    "@angular/cdk": "^11.2.13",
24
    "@angular/common": "~11.2.14",
25
    "@angular/compiler": "~11.2.14",
26
    "@angular/core": "~11.2.14",
27
    "@angular/forms": "~11.2.14",
28
    "@angular/localize": "^11.2.14",
29
    "@angular/material": "^11.2.13",
30
    "@angular/platform-browser": "~11.2.14",
31
    "@angular/platform-browser-dynamic": "~11.2.14",
32
    "@angular/platform-server": "~11.2.14",
33
    "@angular/router": "~11.2.14",
34
    "@nguniversal/express-engine": "^11.2.1",
31 35
    "clipboard": "^1.5.16",
32 36
    "core-js": "^2.5.4",
33 37
    "express": "^4.15.2",
......
40 44
    "zone.js": "~0.10.2"
41 45
  },
42 46
  "devDependencies": {
43
    "@angular-devkit/build-angular": "~0.1002.3",
44
    "@angular/cli": "~10.2.3",
45
    "@angular/compiler-cli": "~10.2.5",
46
    "@angular/language-service": "~10.2.5",
47
    "@nguniversal/builders": "^10.1.0",
47
    "@angular-devkit/build-angular": "~0.1102.14",
48
    "@angular/cli": "~11.2.14",
49
    "@angular/compiler-cli": "~11.2.14",
50
    "@angular/language-service": "~11.2.14",
51
    "@nguniversal/builders": "^11.2.1",
48 52
    "@types/node": "^12.11.1",
49
    "@types/jasmine": "~2.8.8",
53
    "@types/jasmine": "~3.6.0",
50 54
    "@types/jasminewd2": "~2.0.3",
51 55
    "@types/express": "^4.17.0",
52 56
    "@types/compression": "^1.7.0",
53
    "codelyzer": "^5.1.2",
54
    "jasmine-core": "~3.5.0",
57
    "codelyzer": "^6.0.0",
58
    "jasmine-core": "~3.6.0",
55 59
    "jasmine-spec-reporter": "~5.0.0",
56
    "karma": "~5.0.0",
60
    "karma": "~6.3.3",
57 61
    "karma-chrome-launcher": "~3.1.0",
58 62
    "karma-coverage-istanbul-reporter": "~3.0.2",
59 63
    "karma-jasmine": "~4.0.0",
modules/uoa-connect-portal/branches/angular-11/src/app/app-routing.module.ts
136 136
    canActivate: [IsCommunity]
137 137
  },
138 138
  /** Deposit Pages */
139
  {
140
    path: 'participate/deposit-datasets',
139
  { path: 'participate/deposit-datasets',
141 140
    redirectTo: 'participate/deposit/learn-how',
142
    pathMatch: 'full',
143
    canActivate: [IsCommunity]
144
  },
145
  {
146
    path: 'participate/deposit-datasets-result',
141
    pathMatch: 'full' },
142
  { path: 'participate/deposit-datasets-result',
147 143
    redirectTo: 'participate/deposit/learn-how',
148
    pathMatch: 'full',
149
    canActivate: [IsCommunity]
150
  },
151
  {
152
    path: 'participate/deposit-subject-result',
144
    pathMatch: 'full' },
145
  { path: 'participate/deposit-subject-result',
153 146
    redirectTo: 'participate/deposit/learn-how',
154
    pathMatch: 'full',
155
    canActivate: [IsCommunity]
156
  },
157
  {
158
    path: 'participate/deposit-publications',
147
    pathMatch: 'full' },
148
  { path: 'participate/deposit-publications',
159 149
    redirectTo: 'participate/deposit/learn-how',
160
    pathMatch: 'full',
161
    canActivate: [IsCommunity]
162
  },
163
  {
164
    path: 'participate/deposit-publications-result',
150
    pathMatch: 'full' },
151
  { path: 'participate/deposit-publications-result',
165 152
    redirectTo: 'participate/deposit/learn-how',
166
    pathMatch: 'full',
167
    canActivate: [IsCommunity]
168
  },
169
  {
170
    path: 'participate/share-zenodo',
153
    pathMatch: 'full' },
154
  { path: 'participate/share-zenodo',
171 155
    redirectTo: '/participate/deposit/zenodo',
172
    pathMatch: 'full',
173
    canActivate: [IsCommunity]
174
  },
156
    pathMatch: 'full' },
175 157
  {
176 158
    path: 'participate/deposit/learn-how',
177 159
    loadChildren: () => import('./deposit/deposit.module').then(m => m.LibDepositModule),
......
214 196

  
215 197
@NgModule({
216 198
  imports: [RouterModule.forRoot(routes, {
217
    onSameUrlNavigation: "reload",
218
    relativeLinkResolution: 'corrected'
199
    onSameUrlNavigation: "reload"
219 200
  })],
220 201
  exports: [RouterModule]
221 202
})
modules/uoa-connect-portal/branches/angular-11/src/prod/index.html
1
<!DOCTYPE html>
2
<html lang="en" dir="ltr" vocab="http://schema.org/">
3
  <head>
4
    <meta charset="utf-8">
5
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
    <meta name="viewport" content="width=device-width, initial-scale=1">
7
    <base href="/"/>
8
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
9
    <meta name="description"
10
          content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects "/>
11
    <meta property="og:description"
12
          content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects"/>
13
    <meta property="og:title" content="OpenAIRE - Connect "/>
14
    <meta name="google-site-verification" content="rZ-58gIX8IqzBte6Qv4J5yY9aSiDP15Dfc1Yr9yezqE" />
15
    <meta name="robots" content="all">
16
    <meta property="og:type" content="website"/>
17
    <meta property="og:url" content="https://connect.openaire.eu"/>
18
    <meta property="og:site_name" content="OpenAIRE - Connect"/>
19

  
20
    <meta property="og:image" content="assets/common-assets/common/Symbol.png"/>
21
    <meta property="og:image:secure_url" content="assets/common-assets/common/Symbol.png"/>
22
    <meta property="og:image:type" content="image/png"/>
23
    <meta property="og:image:width" content="360"/>
24
    <meta property="og:image:height" content="359"/>
25

  
26
    <link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
27
    <link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
28
    <link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
29
    <link rel="apple-touch-icon" sizes="76x76" href="assets/common-assets/logo/apple-icon-76x76.png">
30
    <link rel="apple-touch-icon" sizes="114x114" href="assets/common-assets/logo/apple-icon-114x114.png">
31
    <link rel="apple-touch-icon" sizes="120x120" href="assets/common-assets/logo/apple-icon-120x120.png">
32
    <link rel="apple-touch-icon" sizes="144x144" href="assets/common-assets/logo/apple-icon-144x144.png">
33
    <link rel="apple-touch-icon" sizes="152x152" href="assets/common-assets/logo/apple-icon-152x152.png">
34
    <link rel="apple-touch-icon" sizes="180x180" href="assets/common-assets/logo/apple-icon-180x180.png">
35
    <link rel="icon" type="image/png" sizes="192x192" href="assets/common-assets/logo/android-icon-192x192.png">
36
    <link rel="icon" type="image/png" sizes="32x32" href="assets/common-assets/logo/favicon-32x32.png">
37
    <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
38
    <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
39
    <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon"/>
40
    <link rel="manifest" href="assets/common-assets/logo/manifest.json">
41
    <meta name="msapplication-TileColor" content="#ffffff">
42
    <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
43
    <meta name="theme-color" content="#ffffff">
44
    <script src="assets/common-assets/common/jquery.js"></script>
45
    <script src="assets/common-assets/common/uikit.min.js?v=1"></script>
46
    <script src="assets/common-assets/common/uikit-icons.min.js?v=1"></script>
47
    <script src="https://cdn.ckeditor.com/4.5.11/full-all/ckeditor.js"></script>
48
    <script>
49
        $(document).ready(function () {
50
            console.log("Is ready - load uikit ***")
51
            $.getScript("assets/common-assets/common/uikit.min.js?v=1");
52
            $.getScript("assets/common-assets/common/uikit-icons.min.js?v=1");
53
        });
54

  
55
    </script>
56

  
57
    <link id="customCssfile" rel="stylesheet" href="">
58
    <style id="customCss">
59
    </style>
60
  </head>
61
  <body class="" style="">
62
    <div class="uk-offcanvas-content uk-height-viewport">
63
      <app-root></app-root>
64
    </div>
65
  </body>
66
  <script type="text/javascript"  >
67
      function loadAltmetrics(e,t,n){
68
          var d="createElement",c="getElementsByTagName",m="setAttribute",n=document.getElementById(e);
69
          return n&&n.parentNode&&n.parentNode.removeChild(n),n=document[d+"NS"]&&document.documentElement.namespaceURI,n=n?document[d+"NS"](n,"script"):document[d]("script"),n[m]("id",e),n[m]("src",t),(document[c]("head")[0]||document[c]("body")[0]).appendChild(n),n=new Image,void n[m]("src","https://d1uo4w7k31k5mn.cloudfront.net/donut/0.png")
70
      }
71

  
72
      function appendCss(customData) {
73
          if (typeof customData != "undefined")
74
              $(document).ready(function () {
75
                  /*          var link = $("<style>");
76
                            link.attr({
77
                                type: 'text/css',
78
                                rel: 'stylesheet',
79
                                id: "customCss",
80
                            });
81
                            $("head").append(link);
82
                            $("#customCss").append(customData);*/
83
                  //TODO uncomment above and remove the following once customization is up to date
84
                  var link = $("<link>");
85
                  link.attr({
86
                      rel: 'stylesheet',
87
                      id: "customCss",
88
                      href:"/assets/customization.css"
89
                  });
90
                  $("head").append(link);
91
                  $("#customCss").append(customData);
92
              });
93
      }
94
  </script>
95
  <script src="https://unpkg.com/smoothscroll-polyfill@0.4.3/dist/smoothscroll.min.js"></script>
96
</html>
modules/uoa-connect-portal/branches/angular-11/src/beta/index.html
1
<!DOCTYPE html>
2
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
3
   <head>
4
      <meta charset="utf-8">
5
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
      <meta name="viewport" content="width=device-width, initial-scale=1">
7
      <base href="/" />
8
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
9
      <meta name="description" content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects "/>
10

  
11
      <meta property="og:description" content="OpenAIRE Connect, Connect,Community Dashboard, communities, open access, research, projects"/>
12
      <meta property="og:title" content="OpenAIRE - Connect "/>
13

  
14
      <meta property="og:type" content="website"/>
15
      <meta property="og:url" content="https://beta.connect.openaire.eu"/>
16
      <meta property="og:site_name" content="OpenAIRE - Connect"/>
17

  
18
      <meta property="og:image" content="assets/common-assets/common/Symbol.png"/>
19
      <meta property="og:image:secure_url" content="assets/common-assets/common/Symbol.png" />
20
      <meta property="og:image:type" content="image/png" />
21
      <meta property="og:image:width" content="360" />
22
      <meta property="og:image:height" content="359" />
23
      <meta name="robots" content="noindex">
24
      <link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
25
      <link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
26
      <link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
27
      <link rel="apple-touch-icon" sizes="76x76" href="assets/common-assets/logo/apple-icon-76x76.png">
28
      <link rel="apple-touch-icon" sizes="114x114" href="assets/common-assets/logo/apple-icon-114x114.png">
29
      <link rel="apple-touch-icon" sizes="120x120" href="assets/common-assets/logo/apple-icon-120x120.png">
30
      <link rel="apple-touch-icon" sizes="144x144" href="assets/common-assets/logo/apple-icon-144x144.png">
31
      <link rel="apple-touch-icon" sizes="152x152" href="assets/common-assets/logo/apple-icon-152x152.png">
32
      <link rel="apple-touch-icon" sizes="180x180" href="assets/common-assets/logo/apple-icon-180x180.png">
33
      <link rel="icon" type="image/png" sizes="192x192"  href="assets/common-assets/logo/android-icon-192x192.png">
34
      <link rel="icon" type="image/png" sizes="32x32" href="assets/common-assets/logo/favicon-32x32.png">
35
      <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
36
      <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
37
      <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
38
      <link rel="manifest" href="assets/common-assets/logo/manifest.json">
39
      <meta name="msapplication-TileColor" content="#ffffff">
40
      <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
41
      <meta name="theme-color" content="#ffffff">
42
      <script  src="assets/common-assets/common/jquery.js"></script>
43
      <script  src="assets/common-assets/common/uikit.min.js?v=1"></script>
44
      <script src="assets/common-assets/common/uikit-icons.min.js?v=1"></script>
45
      <script src="https://cdn.ckeditor.com/4.5.11/full-all/ckeditor.js"></script>
46
      <script>
47
      $(document).ready(function(){
48
        console.log("Is ready - load uikit ***")
49
          $.getScript("assets/common-assets/common/uikit.min.js?v=1");
50
          $.getScript("assets/common-assets/common/uikit-icons.min.js?v=1");
51
      });
52

  
53
      </script>
54

  
55

  
56
      <link id="customCssfile" rel="stylesheet" href="">
57
      <style id="customCss">
58
      </style>
59
   </head>
60
   <body class="" style="">
61
      <div class="uk-offcanvas-content uk-height-viewport">
62
         <app-root></app-root>
63
      </div>
64
   </body>
65
   <script type="text/javascript"  >
66
      function loadAltmetrics(e,t,n){
67
         var d="createElement",c="getElementsByTagName",m="setAttribute",n=document.getElementById(e);
68
         return n&&n.parentNode&&n.parentNode.removeChild(n),n=document[d+"NS"]&&document.documentElement.namespaceURI,n=n?document[d+"NS"](n,"script"):document[d]("script"),n[m]("id",e),n[m]("src",t),(document[c]("head")[0]||document[c]("body")[0]).appendChild(n),n=new Image,void n[m]("src","https://d1uo4w7k31k5mn.cloudfront.net/donut/0.png")
69
      }
70

  
71
      function appendCss(customData) {
72
         if (typeof customData != "undefined")
73
            $(document).ready(function () {
74
               /*          var link = $("<style>");
75
                         link.attr({
76
                             type: 'text/css',
77
                             rel: 'stylesheet',
78
                             id: "customCss",
79
                         });
80
                         $("head").append(link);
81
                         $("#customCss").append(customData);*/
82
               //TODO uncomment above and remove the following once customization is up to date
83
               var link = $("<link>");
84
               link.attr({
85
                  rel: 'stylesheet',
86
                  id: "customCss",
87
                  href:"/assets/customization.css"
88
               });
89
               $("head").append(link);
90
               $("#customCss").append(customData);
91
            });
92
      }
93
   </script>
94
   <script src="https://unpkg.com/smoothscroll-polyfill@0.4.3/dist/smoothscroll.min.js"></script>
95
</html>

Also available in: Unified diff