2011-07-23 22:22:46 +02:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
2011-10-04 06:16:29 +02:00
|
|
|
<title>WiseMapping - Editor </title>
|
|
|
|
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
2011-07-23 22:22:46 +02:00
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
|
|
<![endif]-->
|
2011-11-28 21:11:02 +01:00
|
|
|
<link rel="stylesheet/less" type="text/css" href="../css/editor.less"/>
|
2011-07-26 20:07:53 +02:00
|
|
|
|
2012-01-31 03:33:05 +01:00
|
|
|
<script type='text/javascript' src='../js/mootools-core-1.3.2.js'></script>
|
|
|
|
<script type='text/javascript' src='../js/mootools-more-1.3.2.js'></script>
|
|
|
|
<script type='text/javascript' src='../js/core.js'></script>
|
2011-10-15 07:52:44 +02:00
|
|
|
<script type='text/javascript' src='../js/less-1.1.3.min.js'></script>
|
|
|
|
|
2012-02-02 00:31:40 +01:00
|
|
|
<link rel="icon" href="../images/favicon.ico" type="image/x-icon">
|
|
|
|
<link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon">
|
|
|
|
|
2011-08-08 00:27:23 +02:00
|
|
|
<script type="text/javascript">
|
2011-09-07 03:12:11 +02:00
|
|
|
|
2012-01-31 03:33:05 +01:00
|
|
|
var mapId = 'welcome';
|
2011-09-07 03:12:11 +02:00
|
|
|
$(document).addEvent('loadcomplete', function(resource) {
|
2012-02-02 16:28:54 +01:00
|
|
|
var options = loadDesignerOptions();
|
|
|
|
var designer = buildDesigner(options);
|
2012-02-02 04:13:29 +01:00
|
|
|
|
|
|
|
// Configure default persistence manager ...
|
|
|
|
mindplot.PersistenceManager.init(new mindplot.LocalStorageManager());
|
|
|
|
|
|
|
|
// Load map from XML ...
|
|
|
|
var persistence = mindplot.PersistenceManager.getInstance();
|
|
|
|
var mindmap;
|
|
|
|
try {
|
|
|
|
mindmap = persistence.load(mapId);
|
|
|
|
} catch(e) {
|
|
|
|
// If the map could not be loaded, create a new empty map...
|
|
|
|
mindmap = mindplot.model.Mindmap.buildEmpty(mapId);
|
|
|
|
}
|
|
|
|
designer.loadMap(mindmap);
|
|
|
|
|
|
|
|
// If not problem has arisen, close the dialog ...
|
|
|
|
if (!window.hasUnexpectedErrors) {
|
|
|
|
waitDialog.deactivate();
|
2011-09-07 03:12:11 +02:00
|
|
|
}
|
|
|
|
});
|
2011-11-28 00:55:52 +01:00
|
|
|
|
2012-02-02 16:28:54 +01:00
|
|
|
|
2011-08-08 00:27:23 +02:00
|
|
|
</script>
|
2011-07-23 22:22:46 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="waitDialog" style="display:none">
|
|
|
|
<div id="waitingContainer">
|
|
|
|
<div class="loadingIcon"></div>
|
|
|
|
<div class="loadingText">
|
2011-08-05 06:06:56 +02:00
|
|
|
Loading ...
|
2011-07-23 22:22:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="errorDialog" style="display:none">
|
|
|
|
<div id="errorContainer">
|
|
|
|
<div class="loadingIcon"></div>
|
|
|
|
<div class="loadingText">
|
2011-08-05 06:06:56 +02:00
|
|
|
Unexpected error loading your map :(
|
2011-07-23 22:22:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var waitDialog = new core.WaitDialog();
|
|
|
|
waitDialog.activate(true, $("waitDialog"));
|
|
|
|
$(window).addEvent("error", function(event) {
|
|
|
|
|
|
|
|
// Show error dialog ...
|
|
|
|
waitDialog.changeContent($("errorDialog"), false);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2011-10-10 23:30:02 +02:00
|
|
|
|
|
|
|
<div id="header">
|
2011-11-28 21:11:02 +01:00
|
|
|
|
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">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/save.png"/>
|
2011-10-15 18:23:27 +02:00
|
|
|
</div>
|
2012-02-02 04:13:29 +01:00
|
|
|
<div id="discard" class="buttonOn" title="Discard">
|
2011-11-28 21:11:02 +01:00
|
|
|
<img src="../images/discard.png"/>
|
2011-10-15 18:23:27 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="edit" class="buttonContainer">
|
2011-10-15 03:56:20 +02:00
|
|
|
<div id="undoEdition" class="buttonOn" title="Undo Edition">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/undo.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="redoEdition" class="buttonOn" title="Redo Edition">
|
2011-11-01 05:08:51 +01:00
|
|
|
<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">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/zoom-in.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="zoomOut" class="buttonOn" title="Zoom Out">
|
2011-11-01 05:08:51 +01:00
|
|
|
<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">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-shape.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="addTopic" class="buttonOn" title="Add Topic">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-add.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="deleteTopic" class="buttonOn" title="Delete">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-delete.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="topicBorder" class="buttonOn" title="Border Color">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-border.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="topicColor" class="buttonExtOn" title="Background Color">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-color.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="topicIcon" class="buttonExtOn" title="Add Icon">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-icon.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="topicNote" class="buttonOn" title="Add Note">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-note.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="topicLink" class="buttonOn" title="Add Link">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/topic-link.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="topicRelation" class="buttonOn" title="Add Relationship">
|
2011-11-01 05:08:51 +01:00
|
|
|
<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">
|
2011-10-15 03:56:20 +02:00
|
|
|
<div id="fontFamily" class="buttonOn" title="Font Style">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/font-type.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="fontSize" class="buttonExtOn" title="Font Size">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/font-size.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="fontBold" class="buttonOn" title="Bold Style">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/font-bold.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
|
|
|
<div id="fontItalic" class="buttonOn" title="Italic Style">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/font-italic.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
</div>
|
2011-10-17 15:12:27 +02:00
|
|
|
<div id="fontColor" class="buttonExtOn" title="Fond Color" style="padding-top:4px">
|
2011-11-01 05:08:51 +01:00
|
|
|
<img src="../images/font-color.png"/>
|
2011-10-15 03:56:20 +02:00
|
|
|
|
|
|
|
</div>
|
2011-10-10 23:30:02 +02:00
|
|
|
</div>
|
2011-07-23 22:22:46 +02:00
|
|
|
</div>
|
2011-08-05 06:06:56 +02:00
|
|
|
</div>
|
2011-11-29 01:27:57 +01:00
|
|
|
<div id="headerNotifier"></div>
|
2011-07-23 22:22:46 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="mindplot"></div>
|
|
|
|
<script type="text/javascript" src="../js/editor.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|