-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
108 lines (64 loc) · 3.71 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>witchery</title>
<link rel="icon" type="image/png" href="img/favicon.png" />
<link rel="stylesheet" type="text/css" href="css/editor.css">
<link rel="stylesheet" type="text/css" href="css/animation.css">
<script src="js/globals.js"></script>
<script src="js/bitsy.js"></script>
<script src="js/bitsy-exit-generator.js"></script>
<script src="js/ui.js"></script>
<script src="js/ui-storage.js"></script>
<script src="js/globals-default-data.js"></script>
</head>
<body onload="start()">
<div id="appWindow">
<div id="toolPanel">
<button id="dataDialogButton" title="load game data" onmouseup="toggle(dataDialog);"><span class="icon">🖬︎</span> game data</button>
<button id="roomDialogButton" title="select rooms to place" onmouseup="toggle(roomDialog);"><span class="icon">▦︎</span> rooms</button>
<button id="aboutDialogButton"title="some infos about this tool" onmouseup="toggle(aboutDialog);"><span class="icon">✨︎</span> about</button>
<div id="title">no game data loaded</div>
</div>
<!-- <div id="listPanel">
</div> -->
<div id="mainPanel">
<!-- DIALOGS: GAME DATA -->
<div id="dataDialog" style="left:20px;display:none;" class="dialog">
<div class="title" onmousedown="startDrag(event);"><span class="icon">🖬︎</span> game data<button title="close window" class="close" onmouseup="hide(dataDialog);">✖</button></div>
<div class="content">
<textarea id="datafield" title="paste your raw game data here" placeholder="paste your game data here
remember to make a backup copy first! existing teleports will NOT be overwritten!" style="min-width:300px;height:400px;" onmouseup="dialogField(event);"></textarea>
<button title="game data" onmouseup="load();">📥︎ load data</button>
<button title="generate" onmouseup="metadata();">🎇︎ make connections</button>
</div>
</div>
<!-- DIALOGS: ROOMS -->
<div id="roomDialog" style="left:380px;display:none;" class="dialog">
<div class="title" onmousedown="startDrag(event);"><span class="icon">▦︎</span> rooms<button title="close window" class="close" onmouseup="hide(roomDialog);">✖</button></div>
<div class="content">
<div id="roomfield" class="field" onmouseup="dialogField(event);" style="min-width:164px;width:238px;height:400px;">
</div>
<div class="control">🔍︎ <input disabled id="searchfield" title="search rooms by name" placeholder="search rooms"></textarea></div>
</div>
</div>
<!-- DIALOGS: ABOUT -->
<div id="aboutDialog" style="left:674px;width:460px;display:none;" class="dialog">
<div class="title" onmousedown="startDrag(event);"><span class="icon">✨︎</span> about this tool<button title="close window" class="close" onmouseup="hide(aboutDialog);">✖</button></div>
<div class="content small">
<p><img src="img/cat.gif" style="float:left;margin-right:20px;">
</br><b>version <script>document.write(version);</script> BETA</b>
</br></br>
witchery is a small tool for connecting <a href="https://ledoux.itch.io/bitsy" target="_blank">bitsy</a> rooms.
</br></br>
for bug reports head over to
<a href="https://github.com/voec/witchery" target="_blank">github.com</a>. contributions are very welcome!
</br></p>
</div>
</div>
<div id="mapSpace">
</div>
</div>
</body>
</html>