mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 09:53:24 +01:00
136 lines
5.0 KiB
HTML
136 lines
5.0 KiB
HTML
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
<head>
|
|
<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/embedded.less"/>
|
|
|
|
<script type='text/javascript' src='js/jquery.js'></script>
|
|
<script type='text/javascript' src='js/bootstrap.js'></script>
|
|
<script type='text/javascript' src='js/mootools-core.js'></script>
|
|
<script type='text/javascript' src='js/core.js'></script>
|
|
<script type='text/javascript' src='js/less.js'></script>
|
|
|
|
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
|
|
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
|
|
|
|
<script type="text/javascript">
|
|
|
|
var mapId = 'welcome';
|
|
$(document).on('loadcomplete', function(resource) {
|
|
|
|
// Options has been defined in by a external ile ?
|
|
var queryString = window.location.search;
|
|
var confUrl = queryString.replace("?confUrl=", "");
|
|
var options = loadDesignerOptions(confUrl);
|
|
var designer = buildDesigner(options);
|
|
|
|
// Load map from XML file persisted on disk...
|
|
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);
|
|
});
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="header">
|
|
|
|
<div id="headerInfo">
|
|
<div id="headerActions"></div>
|
|
<div id="headerLogo"></div>
|
|
<div id="headerMapTitle">Title: <span>Welcome</span></div>
|
|
</div>
|
|
<div id="toolbar">
|
|
<div id="editTab" class="tabContent">
|
|
<div id="persist" class="buttonContainer">
|
|
<div id="save" class="buttonOn">
|
|
<img src="images/save.png"/>
|
|
</div>
|
|
<div id="discard" class="buttonOn">
|
|
<img src="images/discard.png"/>
|
|
</div>
|
|
</div>
|
|
<div id="edit" class="buttonContainer">
|
|
<div id="undoEdition" class="buttonOn">
|
|
<img src="images/undo.png"/>
|
|
</div>
|
|
<div id="redoEdition" class="buttonOn">
|
|
<img src="images/redo.png"/>
|
|
</div>
|
|
</div>
|
|
<div id="zoom" class="buttonContainer">
|
|
<div id="zoomIn" class="buttonOn">
|
|
<img src="images/zoom-in.png"/>
|
|
</div>
|
|
<div id="zoomOut" class="buttonOn">
|
|
<img src="images/zoom-out.png"/>
|
|
</div>
|
|
</div>
|
|
<div id="node" class="buttonContainer">
|
|
<div id="topicShape" class="buttonExtOn">
|
|
<img src="images/topic-shape.png"/>
|
|
</div>
|
|
<div id="addTopic" class="buttonOn">
|
|
<img src="images/topic-add.png"/>
|
|
</div>
|
|
<div id="deleteTopic" class="buttonOn">
|
|
<img src="images/topic-delete.png"/>
|
|
</div>
|
|
<div id="topicBorder" class="buttonOn">
|
|
<img src="images/topic-border.png"/>
|
|
</div>
|
|
<div id="topicColor" class="buttonExtOn">
|
|
<img src="images/topic-color.png"/>
|
|
</div>
|
|
<div id="topicIcon" class="buttonExtOn">
|
|
<img src="images/topic-icon.png"/>
|
|
</div>
|
|
<div id="topicNote" class="buttonOn">
|
|
<img src="images/topic-note.png"/>
|
|
</div>
|
|
<div id="topicLink" class="buttonOn">
|
|
<img src="images/topic-link.png"/>
|
|
</div>
|
|
<div id="topicRelation" class="buttonOn">
|
|
<img src="images/topic-relation.png"/>
|
|
</div>
|
|
</div>
|
|
<div id="font" class="buttonContainer">
|
|
<div id="fontFamily" class="buttonOn">
|
|
<img src="images/font-type.png"/>
|
|
</div>
|
|
<div id="fontSize" class="buttonExtOn">
|
|
<img src="images/font-size.png"/>
|
|
</div>
|
|
<div id="fontBold" class="buttonOn">
|
|
<img src="images/font-bold.png"/>
|
|
</div>
|
|
<div id="fontItalic" class="buttonOn">
|
|
<img src="images/font-italic.png"/>
|
|
</div>
|
|
<div id="fontColor" class="buttonExtOn" style="padding-top:4px">
|
|
<img src="images/font-color.png"/>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="headerNotifier"></div>
|
|
</div>
|
|
|
|
<div id="mindplot" onselectstart="return false;"></div>
|
|
</body>
|
|
</html>
|