Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Release 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tediaga-Sodifrance committed Mar 13, 2018
1 parent b3d181b commit 8884b97
Show file tree
Hide file tree
Showing 430 changed files with 2,527 additions and 2,578 deletions.
39 changes: 17 additions & 22 deletions index.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
var fileref = document.createElement('script');
fileref.setAttribute("type", "text/javascript");
fileref.setAttribute("src", filename);
}
else if (filetype == "css") {
} else if (filetype == "css") {
var fileref = document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
Expand All @@ -41,10 +40,8 @@
document.getElementsByTagName(mountingPoint)[0].appendChild(fileref);
}
}

</script>
<script type="text/javascript">

(function (root) {
var messages = undefined;
var menuItems = undefined;
Expand All @@ -53,17 +50,17 @@
loadJsonAsynchronously(function (response) {
messages = JSON.parse(response);
buildConfigurationAndLoadScript();
}, '/hornet-showroom-online/static-5.1.0-PUB/messages-fr-FR.json');
}, '/hornet-showroom-online/static-5.1.1-PUB/messages-fr-FR.json');

loadJsonAsynchronously(function (response) {
menuItems = JSON.parse(response);
buildConfigurationAndLoadScript();
}, '/hornet-showroom-online/static-5.1.0-PUB/navigation.json');
}, '/hornet-showroom-online/static-5.1.1-PUB/navigation.json');

loadJsonAsynchronously(function (response) {
config = JSON.parse(response);
buildConfigurationAndLoadScript();
}, '/hornet-showroom-online/static-5.1.0-PUB/config-spa.json');
}, '/hornet-showroom-online/static-5.1.1-PUB/config-spa.json');

function buildConfigurationAndLoadScript() {
if (!messages || !menuItems || !config) {
Expand Down Expand Up @@ -95,30 +92,28 @@
};


root.AppSharedProps = {
"appName":"hornet-showroom-online",
"appVersion":"5.1.0",
"appDescription":"Application documentaire du Framework hornet",
"appAuthor":"MEAE - Ministère de l'Europe et des Affaires étrangères",
"welcomePageUrl":"\u002Faccueil"
root.AppSharedProps = {
"appName": "hornet-showroom-online",
"appVersion": "5.1.1",
"appDescription": "Application documentaire du Framework hornet",
"appAuthor": "MEAE - Ministère de l'Europe et des Affaires étrangères",
"welcomePageUrl": "\u002Faccueil"
};

var themeUrl = config.themeUrl;

loadFileInDom("/hornet-showroom-online/static-5.1.0-PUB/img/logo.png", "icon");
loadFileInDom("/hornet-showroom-online/static-5.1.0-PUB/hornet-themes/css/theme.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.0-PUB/css/theme.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.0-PUB/css/codemirror.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.0-PUB/css/github.css","css");
loadFileInDom("/hornet-showroom-online/static-5.1.0-PUB/js/client.js", "js", "body");
loadFileInDom("/hornet-showroom-online/static-5.1.1-PUB/img/logo.png", "icon");
loadFileInDom("/hornet-showroom-online/static-5.1.1-PUB/hornet-themes/css/theme.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.1-PUB/css/theme.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.1-PUB/css/codemirror.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.1-PUB/css/github.css", "css");
loadFileInDom("/hornet-showroom-online/static-5.1.1-PUB/js/client.js", "js", "body");
}

}(this));
</script>
</head>

<body>
<div id="app"></div>
<div id="app"></div>
</body>

</html>
85 changes: 0 additions & 85 deletions static-5.1.0-PUB/404.html

This file was deleted.

50 changes: 0 additions & 50 deletions static-5.1.0-PUB/config-spa.json

This file was deleted.

Loading

0 comments on commit 8884b97

Please sign in to comment.