forked from leangjia/mymind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html~
235 lines (211 loc) · 6.79 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0" />
<title>My Mind思维脑图在线版-自用一直想要的小众软件</title>
<link rel="icon" href="favicon.ico" />
<script src="js/my-mind.js"></script>
<script src="js/firebase-1-0-15.js"></script>
<script src="js/firebase-simple-login.js"></script>
<link rel="stylesheet" href="css/font.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/print.css" media="print" />
<base target="_blank" />
</head>
<body>
<ul id="port">
<div id="tip">用法:按 ‘Tab’跳格键插入子级,按 ‘Enter’回车皱起这插入同级。更多帮助请点击右上角Help帮助菜单。</div>
</ul>
<div class="ui">
<h3>My Mind脑图</h3>
<p>
<button data-command="New" title="新建"><img src="icons/new.png" alt="新建" /></button>
<button data-command="Load" title="打开"><img src="icons/open.png" alt="打开" /></button>
<button data-command="Save" title="保存"><img src="icons/save.png" alt="保存" /></button>
<button data-command="SaveAs" title="另存为"><img src="icons/save-as.png" alt="另存为" /></button>
</p>
<p>
<span>Layout</span>
<select id="layout">
<option value="">(Inherit)</option>
</select>
</p>
<p>
<span>Shape</span>
<select id="shape">
<option value="">(Automatic)</option>
</select>
</p>
<p>
<span>Value</span>
<select id="value">
<option value="">(None)</option>
<option value="num">Number</option>
<optgroup label="Formula">
<option value="sum">Sum</option>
<option value="avg">Average</option>
<option value="min">Minimum</option>
<option value="max">Maximum</option>
</optgroup>
</select>
</p>
<p>
<span>Status</span>
<select id="status">
<option value="">None</option>
<option value="yes">Yes</option>
<option value="no">No</option>
<option value="computed">Autocompute</option>
</select>
</p>
<p>
<span>Color</span>
<span id="color">
<a data-color="" title="Inherit" href="#"></a>
<a data-color="#000" title="Black" href="#"></a>
<a data-color="#e33" title="Red" href="#"></a>
<a data-color="#3e3" title="Green" href="#"></a>
<a data-color="#33e" title="Blue" href="#"></a>
<a data-color="#dd3" title="Yellow" href="#"></a>
<a data-color="#3dd" title="Cyan" href="#"></a>
<a data-color="#d3d" title="Magenta" href="#"></a>
<a data-color="#fa3" title="Orange" href="#"></a>
</span>
</p>
<a id="github" href="https://github.com/leangjia/my-mind" title="GitHub project page"><img src="github.png" alt="GitHub project page" /></a>
<button id="toggle" title="Toggle UI"></button>
<button data-command="Help" title="帮助"><img src="icons/help.png" alt="帮助" /></button>
<div id="throbber"></div>
</div>
<div id="io" class="ui">
<h3></h3>
<p>
<span>Storage</span>
<select id="backend"></select>
</p>
<div id="file">
<p class="desc">本地文档即别的脑图应用程序的文档啦。</p>
<p data-for="save">
<span>格式</span>
<select class="format"></select>
</p>
<p data-for="save load">
<button class="go"></button><button class="cancel">取消</button>
</p>
</div>
<div id="image">
<p class="desc">导出您在这里设计好的脑图为PNG图像文档。</p>
<p data-for="save">
<button class="go"></button><button class="cancel">取消</button>
</p>
</div>
<div id="local">
<p class="desc">Your browser's localStorage can handle many mind maps and creates a permalink, but this URL cannot be shared.</p>
<p data-for="load">
<span>Saved maps</span>
<select class="list"></select>
</p>
<p data-for="save load">
<button class="go"></button><button class="cancel">取消</button>
</p>
<p data-for="load">
<button class="remove">删除</button>
</p>
</div>
<div id="firebase">
<p class="desc">Firebase offers real-time synchronization for true multi-user collaboration.</p>
<p data-for="save load">
<span>第三方服务器</span>
<input type="text" class="server" />
</p>
<p data-for="save load">
<span>Auth</span>
<select class="auth">
<option value="">(None)</option>
<option value="facebook">Facebook</option>
<option value="twitter">Twitter</option>
<option value="github">GitHub</option>
<option value="persona">Persona</option>
</select>
</p>
<p data-for="load">
<span>Saved maps</span>
<select class="list"></select>
</p>
<p data-for="save load">
<button class="go"></button><button class="cancel">取消</button>
</p>
<p data-for="load">
<button class="remove">删除</button>
</p>
</div>
<div id="webdav">
<p class="desc">Use this to access a generic DAV-like REST API.</p>
<p data-for="save load">
<span>URL</span>
<input type="text" class="url" />
</p>
<p data-for="save load">
<button class="go"></button><button class="cancel">取消</button>
</p>
</div>
<div id="gdrive">
<p class="desc">Maps stored in Google Drive have a permalink URL and can be shared with other users, if you allow this by setting proper permissions (inside Google Drive itself).</p>
<p data-for="save">
<span>Format</span>
<select class="format"></select>
</p>
<p data-for="save load">
<button class="go"></button><button class="cancel">取消</button>
</p>
</div>
</div>
<div id="help" class="ui">
<h3>Help</h3>
<p><span>Navigation</span></p>
<table class="navigation"></table>
<p><span>Manipulation</span></p>
<table class="manipulation"></table>
<p><span>Editing</span></p>
<table class="editing"></table>
<p><span>Other</span></p>
<table class="other"></table>
</div>
<div id="menu">
<button data-command="InsertChild" title="插入子级"></button>
<button data-command="InsertSibling" title="插入同级"></button>
<button data-command="Delete" title="删除"></button>
<span></span>
<button data-command="Edit" title="编辑"></button>
<button data-command="Value" title="参数值"></button>
<span></span>
<button data-command="Undo" title="撤消"></button>
<button data-command="Redo" title="重做"></button>
<button data-command="Center" title="居中"></button>
</div>
<script>
<!--
统计代码
-->
</script>
<script>
window.onload = function() {
MM.App.init();
MM.App.io.restore();
}
</script>
<!--
TODO:
shortterm:
longterm:
- firebase realtime
- (custom) icons
bugs:
only as a request:
- firebase multiserver
- l11n
- custom css
-->
</body>
</html>