freeipa/install/ui/index.html
Petr Vobornik 9e3320403a webui: add boostrap-datepicker files
https://fedorahosted.org/freeipa/ticket/4347

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2015-05-20 14:36:09 +02:00

71 lines
2.0 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">
<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/bootstrap-datepicker3.min.css',
'css/ipa.css',
'ipa.css'
];
if (ie) styles.push('ie.css');
var icons = ['favicon.ico'];
var scripts = [
'js/libs/json2.js',
'js/libs/jquery.js',
'js/libs/bootstrap.js',
'js/libs/bootstrap-datepicker.js',
'js/libs/patternfly.js',
'js/libs/jquery.ordered-map.js',
'js/libs/browser.js',
'js/dojo/dojo.js',
'js/libs/qrcode.js'
];
ipa_loader.scripts(scripts, function() {
require(['freeipa/app'], function(app){ app.run(); });
});
ipa_loader.styles(styles);
ipa_loader.icons(icons);
})();
</script>
</head>
<body>
<noscript>This application requires JavaScript enabled.</noscript>
</body>
</html>