wisemapping-open-source/wise-editor/src/main/webapp/html/editor.html

160 lines
6.1 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html>
<head>
<base href="../">
2011-10-04 06:16:29 +02:00
<title>WiseMapping - Editor </title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<!--[if lt IE 9]>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<![endif]-->
<link rel="stylesheet/less" type="text/css" href="css/editor.less"/>
2011-07-26 20:07:53 +02:00
<script type='text/javascript' src='js/mootools-core.js'></script>
<script type='text/javascript' src='js/mootools-more.js'></script>
<script type='text/javascript' src='js/core.js'></script>
<script type='text/javascript' src='js/less.js'></script>
2011-10-15 07:52:44 +02:00
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
2012-02-02 00:31:40 +01:00
<script type="text/javascript">
2012-01-31 03:33:05 +01:00
var mapId = 'welcome';
$(document).addEvent('loadcomplete', function(resource) {
2012-02-02 16:28:54 +01:00
var options = loadDesignerOptions();
var designer = buildDesigner(options);
2012-02-04 17:56:17 +01:00
// Load map from XML file persisted on disk...
var persistence = mindplot.PersistenceManager.getInstance();
var mindmap;
// try {
2012-03-07 21:40:10 +01:00
mindmap = persistence.load(mapId);
// } catch(e) {
2012-03-07 21:40:10 +01:00
// If the map could not be loaded, create a new empty map...
// mindmap = mindplot.model.Mindmap.buildEmpty(mapId);
// }
designer.loadMap(mindmap);
});
2012-02-02 16:28:54 +01:00
</script>
</head>
<body>
2011-10-10 23:30:02 +02:00
<div id="header">
2011-10-10 23:30:02 +02:00
<div id="headerInfo">
2012-02-02 00:31:40 +01:00
<div id="headerActions"></div>
2011-10-15 03:56:20 +02:00
<div id="headerLogo"></div>
2012-02-02 00:31:40 +01:00
<div id="headerMapTitle">Title: <span>Welcome</span></div>
2011-10-10 23:30:02 +02:00
</div>
<div id="toolbar">
<div id="editTab" class="tabContent">
2011-10-15 18:23:27 +02:00
<div id="persist" class="buttonContainer">
<div id="save" class="buttonOn" title="Save">
<img src="images/save.png"/>
2011-10-15 18:23:27 +02:00
</div>
<div id="discard" class="buttonOn" title="Discard">
<img src="images/discard.png"/>
2011-10-15 18:23:27 +02:00
</div>
2012-02-20 14:01:53 +01:00
<div id="export" class="buttonOn" title="Export">
<img src="images/export.png"/>
2012-02-20 14:01:53 +01:00
</div>
2011-10-15 18:23:27 +02:00
</div>
<div id="edit" class="buttonContainer">
2011-10-15 03:56:20 +02:00
<div id="undoEdition" class="buttonOn" title="Undo Edition">
<img src="images/undo.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="redoEdition" class="buttonOn" title="Redo Edition">
<img src="images/redo.png"/>
2011-10-15 03:56:20 +02:00
</div>
2011-10-10 23:30:02 +02:00
</div>
<div id="zoom" class="buttonContainer">
2011-10-15 03:56:20 +02:00
<div id="zoomIn" class="buttonOn" title="Zoom In">
<img src="images/zoom-in.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="zoomOut" class="buttonOn" title="Zoom Out">
<img src="images/zoom-out.png"/>
2011-10-15 03:56:20 +02:00
</div>
2011-10-10 23:30:02 +02:00
</div>
<div id="node" class="buttonContainer">
2011-10-15 03:56:20 +02:00
<div id="topicShape" class="buttonExtOn" title="Topic Shape">
<img src="images/topic-shape.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="addTopic" class="buttonOn" title="Add Topic">
<img src="images/topic-add.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="deleteTopic" class="buttonOn" title="Delete">
<img src="images/topic-delete.png"/>
2011-10-15 03:56:20 +02:00
</div>
2012-02-04 16:51:50 +01:00
<div id="topicBorder" class="buttonExtOn" title="Border Color">
<img src="images/topic-border.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="topicColor" class="buttonExtOn" title="Background Color">
<img src="images/topic-color.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="topicIcon" class="buttonExtOn" title="Add Icon">
<img src="images/topic-icon.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="topicNote" class="buttonOn" title="Add Note">
<img src="images/topic-note.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="topicLink" class="buttonOn" title="Add Link">
<img src="images/topic-link.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="topicRelation" class="buttonOn" title="Add Relationship">
<img src="images/topic-relation.png"/>
2011-10-15 03:56:20 +02:00
</div>
2011-10-10 23:30:02 +02:00
</div>
<div id="font" class="buttonContainer">
2012-02-04 16:51:50 +01:00
<div id="fontFamily" class="buttonExtOn" title="Font Style">
<img src="images/font-type.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="fontSize" class="buttonExtOn" title="Font Size">
<img src="images/font-size.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="fontBold" class="buttonOn" title="Bold Style">
<img src="images/font-bold.png"/>
2011-10-15 03:56:20 +02:00
</div>
<div id="fontItalic" class="buttonOn" title="Italic Style">
<img src="images/font-italic.png"/>
2011-10-15 03:56:20 +02:00
</div>
2012-03-07 21:40:10 +01:00
<div id="fontColor" class="buttonExtOn" title="Font Color" style="padding-top:4px">
<img src="images/font-color.png"/>
2011-10-15 03:56:20 +02:00
</div>
2011-10-10 23:30:02 +02:00
</div>
</div>
2011-08-05 06:06:56 +02:00
</div>
<div id="headerNotifier"></div>
2012-02-04 01:21:29 +01:00
<div id="footer">
<div id="footerLogo"></div>
</div>
</div>
2012-03-07 21:40:10 +01:00
<!--
<div style="position: absolute;align:left;background: gray;width: 100px;height: 300px;z-index: 100" id="dragPanel">
<div id="dragIcon" style="">
<img src="images/logo-small.png"/>
</div>
</div>
<script type="text/javascript">
$("dragIcon").addEvent('mousedown', function(event) {
event.preventDefault();
var options = {imageUrl:"images/logo-small.png",
imageWidth:80,
imageHeight:43,
metadata: "{'media':'video,'url':'http://www.youtube.com/watch?v=P3FrXftyuzw&feature=g-vrec&context=G2b4ab69RVAAAAAAAAAA'}"
};
2012-03-07 21:45:41 +01:00
designer.addDraggedNode(event, options);
2012-03-07 21:40:10 +01:00
});
</script>
-->
<div id="mindplot"></div>
<script type="text/javascript" src="js/editor.js"></script>
</body>
</html>