cockpit/graph.html in cpee-2.1.56 vs cockpit/graph.html in cpee-2.1.57
- old
+ new
@@ -45,25 +45,36 @@
<link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
<!-- modelling ui -->
<script type="text/javascript" src="js/wfadaptor.js"></script>
- <link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
+ <link rel="stylesheet" href="css/wfadaptor.css" type="text/css" data-include-export="true"/>
<!-- custom stuff, play arround -->
<script type="text/javascript" src="js/ui.js"></script>
<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>
<script type="text/javascript" src="js/modifiers.js"></script>
<script type="text/javascript" src="js/resources.js"></script>
+ <script type="text/javascript" src="themes/base.js"></script>
<link rel="stylesheet" href="css/ui.css" type="text/css"/>
<link rel="stylesheet" href="css/resources-label.css" type="text/css"/>
<link rel="stylesheet" href="css/resources-svg.css" type="text/css" data-include-export="true"/>
<link rel="stylesheet" href="css/graph.css" type="text/css"/>
</head>
<body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
<div class='hidden' id='relaxngworker'></div>
+ <template id="label">
+ <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
+ <g transform="translate(1 %%1) rotate(-%%2)">
+ <rect class="displaylabel" width="200" height="14" x="8" y="0" rx="5" ry="5"/>
+ <path class="displaylabel" d="M10,13 0,13 8,8"/>
+ <path class="displaylabelinner" d="M10,11.5 8.5,11.5 8.5,9.5 10,9.5"/>
+ <text class="label" x="18" y="10">aaaa</text>
+ </g>
+ </svg>
+ </template>
<div id="trackfull">
<div id='graphcolumn'>
<div id='graphgrid'>
<div class="resource-label" style="display: none"></div>
<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>