forked from drichard/mindmaps
-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
213 lines (189 loc) · 6.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!doctype html>
<html manifest="cache.manifest">
<head>
<meta charset="utf-8">
<title>MindMapr</title>
<link rel="icon" type="image/png" href="img/favicon.png" />
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/Aristo/jquery-ui-1.8.7.custom.css" />
<link rel="stylesheet" href="css/minicolors/jquery.miniColors.css">
<script id="template-float-panel" type="text/x-jquery-tmpl">
<div class="ui-widget ui-dialog ui-corner-all ui-widget-content float-panel no-select">
<div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix">
<span class="ui-dialog-title">${title}</span>
<a class="ui-dialog-titlebar-close ui-corner-all" href="#" role="button">
<span class="ui-icon"></span>
</a>
</div>
<div class="ui-dialog-content ui-widget-content">
</div>
</div>
</script>
<script id="template-notification" type="text/x-jquery-tmpl">
<div class="notification">
{{if closeButton}}
<a href="#" class="close-button">x</a>
{{/if}}
{{if title}}
<h1 class="title">{{html title}}</h1>
{{/if}}
<div class="content">{{html content}}</div>
</div>
</script>
<script id="template-open-table-item" type="text/x-jquery-tmpl">
<tr>
<td><a class="title" href="#">${title}</a></td>
<td>${$item.format(dates.modified)}</td>
<td><a class="delete" href="#">delete</a></td>
</tr>
</script>
<script id="template-open" type="text/x-jquery-tmpl">
<div id="open-dialog" class="file-dialog" title="Open mind map">
<h1>Local Storage</h1>
<p>This is a list of all mind maps that are saved in your browser's local storage. Click on the title of a map to open it.</p>
<table class="localstorage-filelist">
<thead>
<tr>
<th class="title">Title</th>
<th class="modified">Last Modified</th>
<th class="delete"></th>
</tr>
</thead>
<tbody class="document-list"></tbody>
</table>
<div class="seperator"></div>
<h1>From file</h1>
<p>Choose a mind map from your computer's hard drive.</p>
<div class="file-chooser">
<input type="file" />
</div>
</div>
</script>
<script id="template-save" type="text/x-jquery-tmpl">
<div id="save-dialog" class="file-dialog" title="Save mind map">
<h1>Local Storage</h1>
<p>You can save your mind map in your browser's local storage. Be aware that this is still experimental: the space is limited and there is no guarantee that the browser will keep this document forever.</p>
<button id="button-save-localstorage">Save</button>
<div class="seperator"></div>
<h1>To file</h1>
<p>Save the mind map as a file on your computer.</p>
<div id="button-save-hdd">Save</div>
</div>
</script>
<script id="template-navigator" type="text/x-jquery-tmpl">
<div id="navigator">
<div class="active">
<div id="navi-content">
<div id="navi-canvas-wrapper">
<canvas id="navi-canvas"></canvas>
<div id="navi-canvas-overlay"></div>
</div>
<div id="navi-controls">
<span id="navi-zoom-level"></span>
<div class="button-zoom" id="button-navi-zoom-out"></div>
<div id="navi-slider"></div>
<div class="button-zoom" id="button-navi-zoom-in"></div>
</div>
</div>
</div>
<div class="inactive">
</div>
</div>
</script>
<script id="template-inspector" type="text/x-jquery-tmpl">
<div id="inspector">
<div id="inspector-content">
<table id="inspector-table">
<tr>
<td>Font size:</td>
<td><div
class="buttonset buttons-very-small buttons-less-padding">
<button id="inspector-button-font-size-decrease">A-</button>
<button id="inspector-button-font-size-increase">A+</button>
</div></td>
</tr>
<tr>
<td>Font style:</td>
<td><div
class="font-styles buttonset buttons-very-small buttons-less-padding">
<input type="checkbox" id="inspector-checkbox-font-bold" />
<label
for="inspector-checkbox-font-bold" id="inspector-label-font-bold">B</label>
<input type="checkbox" id="inspector-checkbox-font-italic" />
<label
for="inspector-checkbox-font-italic" id="inspector-label-font-italic">I</label>
<input
type="checkbox" id="inspector-checkbox-font-underline" />
<label
for="inspector-checkbox-font-underline" id="inspector-label-font-underline">U</label>
<input
type="checkbox" id="inspector-checkbox-font-linethrough" />
<label
for="inspector-checkbox-font-linethrough" id="inspector-label-font-linethrough">S</label>
</div>
</td>
</tr>
<tr>
<td>Font color:</td>
<td><input type="hidden" id="inspector-font-color-picker"
class="colorpicker" /></td>
</tr>
<tr>
<td>Branch color:</td>
<td><input type="hidden" id="inspector-branch-color-picker"
class="colorpicker" /></td>
</tr>
</table>
<!--<button id="inspector-button-apply-all" class="buttons-small">Apply
styles to children...</button>-->
</div>
</div>
</script>
<script id="template-export-map" type="text/x-jquery-tmpl">
<div id="export-map-dialog" title="Export mind map">
<h2 class='image-description'>To download the map right-click the
image and select "Save Image As"</h2>
<div id="export-preview"></div>
</div>
</script>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
</head>
<body>
<div id="print-area">
<p class="print-placeholder">Please use the print option from the
mind map menu</p>
</div>
<div id="container">
<div id="topbar">
<div id="toolbar">
<div id="logo" class="logo-bg">
<span>mindmapr</span>
</div>
<div class="buttons">
<span class="buttons-left"> </span> <span class="buttons-right">
</span>
</div>
</div>
</div>
<div id="canvas-container">
<div id="drawing-area"></div>
</div>
<div id="bottombar">
<div id="about">
<a href="https://github.com/manishchiniwalar/mindmaps" target="_blank">Download SourceCode for this ChromeApp</a> <span
style="padding: 0 4px;">or</span> <a style="font-weight: bold"
href="https://github.com/drichard/mindmaps"
target="_blank">Orignal source from Richard David</a>
</div>
<div id="statusbar">
<div
class="buttons buttons-right buttons-small buttons-less-padding"></div>
</div>
</div>
</div>
<script
src="js/jquery.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>