cockpit/graph.html in cpee-1.3.227 vs cockpit/graph.html in cpee-1.3.228
- old
+ new
@@ -19,81 +19,33 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CPEE Cockpit</title>
<!-- libs, do not modify. When local than load local libs. -->
- <script type="text/javascript">
- if ((document.location.host == 'localhost') && (document.location.protocol == 'http:')) {
- document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.browser.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.svg.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.svgdom.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/vkbeautify.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/util.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/printf.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/strftime.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/parsequery.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/underscore.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.caret.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.cookie.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/relaxngui.js">\x3C/script>');
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
+ <script type="text/javascript" src="/js_libs/util.js"></script>
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
- document.write('<script type="text/javascript" src="http://localhost/js_libs/ui.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://localhost/js_libs/custommenu.js">\x3C/script>');
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
- document.write('<link rel="stylesheet" href="http://localhost/js_libs/custommenu.css" type="text/css"/>');
- document.write('<link rel="stylesheet" href="http://localhost/js_libs/ui.css" type="text/css"/>');
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
- document.write('<link rel="stylesheet" href="http://localhost/js_libs/relaxngui.css" type="text/css"/>');
- } else if ((document.location.host == 'localhost') && (document.location.protocol == 'https:')) {
- document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.browser.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.svg.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.svgdom.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/vkbeautify.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/util.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/printf.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/strftime.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/parsequery.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/underscore.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.caret.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.cookie.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/relaxngui.js">\x3C/script>');
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
+ <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
- document.write('<script type="text/javascript" src="https://localhost/js_libs/ui.js">\x3C/script>');
- document.write('<script type="text/javascript" src="https://localhost/js_libs/custommenu.js">\x3C/script>');
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
- document.write('<link rel="stylesheet" href="https://localhost/js_libs/custommenu.css" type="text/css"/>');
- document.write('<link rel="stylesheet" href="https://localhost/js_libs/ui.css" type="text/css"/>');
-
- document.write('<link rel="stylesheet" href="https://localhost/js_libs/relaxngui.css" type="text/css"/>');
- } else {
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.browser.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.svg.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.svgdom.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/vkbeautify.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/util.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/printf.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/strftime.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/parsequery.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/underscore.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.caret.min.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.cookie.js">\x3C/script>');
-
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.js">\x3C/script>');
-
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/ui.js">\x3C/script>');
- document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/custommenu.js">\x3C/script>');
-
- document.write('<link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/custommenu.css" type="text/css"/>');
- document.write('<link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/ui.css" type="text/css"/>');
-
- document.write('<link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.css" type="text/css"/>');
- }
- </script>
-
<!-- modelling ui -->
<script type="text/javascript" src="js/wfadaptor.js"></script>
<link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
<!-- custom stuff, play arround -->
@@ -101,14 +53,14 @@
<script type="text/javascript" src="js/instance.js"></script>
<script type="text/javascript" src="js/details.js"></script>
<script type="text/javascript" src="js/parameters.js"></script>
<link rel="stylesheet" href="css/ui.css" type="text/css"/>
</head>
- <body data-defaultport="9298" data-theme-base="themes" is="x-ui">
+ <body data-base-port="9298" data-res-port="9303" data-theme-base="themes" is="x-ui">
<div class='hidden'>
+ <input name="repo-url" type="text" value=""/>
<input name="base-url" type="text" value=""/>
<input name="instance-url" type="text" value=""/>
- <a id='current-instance' href=''></a>
</div>
<div id='graphcolumn' style='overflow: auto'>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' width='1' height='1'></svg>
</div>
</body>