freeipa/install/migration/index.html
Stanislav Levin 05d7162b1d Integrate "migration" page to IPA Web framework.
To use all advantages of entire Web framework the "migration" page
should use "migrate" plugin. As well this allows to use IPA
translations.

Fixes: https://pagure.io/freeipa/issue/7641
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Serhii Tsymbaliuk <stsymbal@localhost.localdomain>
2018-08-27 17:10:32 +02:00

70 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
<!--[if IE]>
<meta id="ie-detector">
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../ui/" target="_blank">
<script type="text/javascript" src="js/libs/loader.js"></script>
<script type="text/javascript">
var dojoConfig = {
baseUrl: "js",
has: {
'dojo-firebug': false,
'dojo-debug-messages': true
},
parseOnLoad: false,
async: true,
packages: [
{
name:'dojo',
location:'dojo'
},
{
name: 'freeipa',
location: 'freeipa'
}
],
cacheBust: ipa_loader.num_version || ""
};
(function() {
var ie = !!document.getElementById('ie-detector');
var styles = [
'css/patternfly.css',
'css/ipa.css',
'ipa.css'
];
if (ie) styles.push('ie.css');
var icons = ['favicon.ico'];
var scripts = [
'js/libs/jquery.js',
'js/libs/jquery.ordered-map.js',
'js/dojo/dojo.js'
];
ipa_loader.scripts(scripts, function() {
require([
'freeipa/core',
'dojo/domReady!'
], function(app) {
app.run_simple('migrate');
});
});
ipa_loader.styles(styles);
ipa_loader.icons(icons);
})();
</script>
</head>
<body>
<noscript>This application requires JavaScript enabled.</noscript>
</body>
</html>