Skip to content
Snippets Groups Projects
Commit 9d72d55d authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

use CDN for all third-party content

parent ed21df3a
Branches
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ support_email = support@my.fqdn ...@@ -3,6 +3,7 @@ support_email = support@my.fqdn
name = eduGAIN Access Check name = eduGAIN Access Check
url = https://access-check.my.fqdn url = https://access-check.my.fqdn
login_url = https://access-check.my.fqdn/Shibboleth.sso/Login login_url = https://access-check.my.fqdn/Shibboleth.sso/Login
cdn_url = https://cdn.renater.fr
[setup] [setup]
# templates theme # templates theme
......
...@@ -79,6 +79,7 @@ sub startup { ...@@ -79,6 +79,7 @@ sub startup {
support_email => $config->{app}->{support_email}, support_email => $config->{app}->{support_email},
login_url => $config->{app}->{login_url}, login_url => $config->{app}->{login_url},
logout_url => $config->{app}->{logout_url}, logout_url => $config->{app}->{logout_url},
cdn_url => $config->{app}->{cdn_url},
name => $config->{app}->{name}, name => $config->{app}->{name},
version => ACCESSCHECK_VERSION version => ACCESSCHECK_VERSION
}, },
......
...@@ -892,16 +892,16 @@ footer aside *{ ...@@ -892,16 +892,16 @@ footer aside *{
font-family: "foobar_proregular"; font-family: "foobar_proregular";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
src: url("../font/foobar/foobar_pro-regular-webfont.woff") format("woff"), src: url("https://cdn.renater.fr/fonts/foobar/foobar_pro-regular-webfont.woff") format("woff"),
url("../font/foobar/foobar_pro-regular-webfont.ttf") format("truetype"); url("https://cdn.renater.fr/fonts/foobar/foobar_pro-regular-webfont.ttf") format("truetype");
} }
/* Webfont: Lato-Regular */ /* Webfont: Lato-Regular */
@font-face { @font-face {
font-family: 'LatoWeb'; font-family: 'LatoWeb';
src: url('../font/Lato/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */ src: url('https://cdn.renater.fr/fonts/lato/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
url('../font/Lato/Lato-Regular.woff') format('woff'), /* Modern Browsers */ url('https://cdn.renater.fr/fonts/lato/Lato-Regular.woff') format('woff'), /* Modern Browsers */
url('../font/Lato/Lato-Regular.ttf') format('truetype'); url('https://cdn.renater.fr/fonts/lato/Lato-Regular.ttf') format('truetype');
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
......
...@@ -7,17 +7,17 @@ ...@@ -7,17 +7,17 @@
<link type="image/png" rel="icon" href="/images/favicon.png"/> <link type="image/png" rel="icon" href="/images/favicon.png"/>
<link type="text/css" rel="stylesheet" href="/font-awesome/css/font-awesome.min.css" /> <link type="text/css" rel="stylesheet" href="[% app.cdn_url %]/libs/font-awesome/6.5.2/css/all.min.css" />
<link type="text/css" rel="stylesheet" href="/foundation/css/foundation.min.css"/> <link type="text/css" rel="stylesheet" href="[% app.cdn_url %]/libs/foundation/6.8.1/css/foundation.min.css">
<link type="text/css" rel="stylesheet" href="/jquery-ui-1.12.1/jquery-ui.min.css"/> <link type="text/css" rel="stylesheet" href="[% app.cdn_url %]/libs/jquery-ui/1.13.3/jquery-ui.min.css" />
<link type="text/css" rel="stylesheet" href="/css/style.css"/> <link type="text/css" rel="stylesheet" href="/css/style.css"/>
<link type="text/css" rel="stylesheet" href="/css/edugain.css" /> <link type="text/css" rel="stylesheet" href="/css/edugain.css" />
<link type="text/css" rel="stylesheet" href="/css/edugain-menu-min-600.css" media="(min-width: 800px)" /> <link type="text/css" rel="stylesheet" href="/css/edugain-menu-min-600.css" media="(min-width: 800px)" />
<link type="text/css" rel="stylesheet" href="/css/edugain-min-800.css" media="(min-width: 800px)" /> <link type="text/css" rel="stylesheet" href="/css/edugain-min-800.css" media="(min-width: 800px)" />
<script src="/jquery-3.3.1.min.js"></script> <script src="[% app.cdn_url %]/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="/jquery-ui-1.12.1/jquery-ui.min.js"></script> <script src="[% app.cdn_url %]/libs/jquery-ui/1.13.3/jquery-ui.min.js"></script>
<script src="/jquery-validation-1.17.0.min.js"></script> <script src="[% app.cdn_url %]/libs/jquery-validation/1.19.5/jquery.validate.min.js"></script>
<title>[% app.name %]</title> <title>[% app.name %]</title>
</head> </head>
......
...@@ -6,17 +6,17 @@ ...@@ -6,17 +6,17 @@
<link type="image/png" rel="icon" href="/images/favicon-federation.png" /> <link type="image/png" rel="icon" href="/images/favicon-federation.png" />
<link type="text/css" rel="stylesheet" href="/font-awesome/css/font-awesome.min.css" /> <link type="text/css" rel="stylesheet" href="[% app.cdn_url %]/libs/font-awesome/6.5.2/css/all.min.css" />
<link type="text/css" rel="stylesheet" href="/foundation/css/foundation.min.css"> <link type="text/css" rel="stylesheet" href="[% app.cdn_url %]/libs/foundation/6.8.1/css/foundation.min.css">
<link type="text/css" rel="stylesheet" href="/jquery-ui-1.12.1/jquery-ui.min.css" /> <link type="text/css" rel="stylesheet" href="[% app.cdn_url %]/libs/jquery-ui/1.13.3/jquery-ui.min.css" />
<link type="text/css" rel="stylesheet" href="/css/style.css" /> <link type="text/css" rel="stylesheet" href="/css/style.css" />
<link type="text/css" rel="stylesheet" href="/css/renater.css" /> <link type="text/css" rel="stylesheet" href="/css/renater.css" />
<script src="/jquery-3.3.1.min.js"></script> <script src="[% app.cdn_url %]/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="/jquery-ui-1.12.1/jquery-ui.min.js"></script> <script src="[% app.cdn_url %]/libs/jquery-ui/1.13.3/jquery-ui.min.js"></script>
<script src="/jquery-validation-1.17.0.min.js"></script> <script src="[% app.cdn_url %]/libs/jquery-validation/1.19.5/jquery.validate.min.js"></script>
<script src="/foundation/js/vendor/what-input.js"></script> <script src="[% app.cdn_url %]/libs/foundation/6.8.1/js/vendor/what-input.js"></script>
<script src="/foundation/js/vendor/foundation.min.js"></script> <script src="[% app.cdn_url %]/libs/foundation/6.8.1/js/vendor/foundation.min.js"></script>
<script src="/js/startup.js"></script> <script src="/js/startup.js"></script>
<title>[% app.name %]</title> <title>[% app.name %]</title>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment