blob: f8f36f506127cb5b9c57694052e5494958cca169 [file] [log] [blame]
<!DOCTYPE html>
<html style="height: 100%">
<head>
<title>Add Plugin</title>
<link rel="stylesheet" type="text/css" href="install.css" />
<script type="text/javascript" src="../requirejs/require.js"></script>
<script type="text/javascript">
require({
baseUrl: '',
// set the paths to our library packages
packages: [
{
name: 'dojo',
location: '../org.dojotoolkit/dojo',
main: 'lib/main-browser',
lib: '.'
},
{
name: 'dijit',
location: '../org.dojotoolkit/dijit',
main: 'lib/main',
lib: '.'
},
{
name: 'dojox',
location: '../org.dojotoolkit/dojox',
main: 'lib/main',
lib: '.'
}
],
paths: {
orion: '../orion',
images: '../images',
css: '../css',
examples: '../examples',
text: '../requirejs/text',
i18n: '../requirejs/i18n',
}
});
require(["install"]);
</script>
</head>
<body style="height: 100%; visibility:hidden" class="nihilo">
<div dojoType="dijit.layout.BorderContainer" design="headline" gutters="false" style="background: #c5c5c5; width: 100%; height: 100%;">
<div dojoType="dijit.layout.ContentPane" id="toolbar" region="top" class="toolbar">
</div>
<div dojoType="dijit.layout.ContentPane" id="content" class="mainpane" region="center">
<div style="margin-left: 16px">
<div id="valid-hash" style="display:none;">
<h2>Adding a plugin</h2>
<div>Please confirm that you would like to add the following plugin:</div>
<div id="plugin-location">
</div>
<input id="install" type="button" value="Install">
</div>
<div id="wait" style="display:none;">
<h2>Installing</h2>
<div>Please wait while the plugin is being installed.</div>
</div>
<div id="success" style="display:none;">
<h2>Success!</h2>
<div>The plugin has been installed successfully.</div>
<div><a href="/plugin/list.html">Manage plugins</a></div>
</div>
<div id="failure" style="display:none;">
<h2>Failed</h2>
<div>There was a problem installing the plugin:</div>
<div id="problem"></div>
<div><a href="/plugin/list.html">Manage plugins</a></div>
</div>
<div id="invalid-hash" style="display:none;">
<h2>Cannot add plugin</h2>
<div>
This page exists so that other web pages can request that new plugins be added to Orion. For it to work, the other web page needs to pass the URL of the plugin in the hash part of this page's URL.
</div>
</div>
</div>
</div>
<div class="footer" id="footer" dojoType="dijit.layout.ContentPane" region="bottom" splitter="false">
</div>
</div>
</body>
</html>