-
Notifications
You must be signed in to change notification settings - Fork 1
/
mg-client.html
193 lines (181 loc) · 9.43 KB
/
mg-client.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html style="height:100%;overflow:none;">
<head>
<link rel="stylesheet" type="text/css" href="css/morgengrauen.css" media="screen">
<link rel="stylesheet" type="text/css" href="css/WebTelnet.css" media="screen">
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<title>MorgenGrauen - mg.mud.de - das größte deutsche textbasierte, kostenlose Online-Rollenspiel</title>
<link rel="stylesheet" type="text/css" href="css/startseite.css" media="screen">
<link type="text/css" href="css/jquery-ui.css" rel="stylesheet"/>
<style type="text/css">
<!--
#nav .secnav { display: block;}
#nav #nav_start { color:#043341;}
.ui-menu { width: 200px; position: absolute; }
*[badge]:after { content:" ("attr(badge)")"; color:#080; }
*[badge] { color: #080; }
.topmost { z-index: 2000; }
-->
</style>
<style type="text/css">
.bg_green { background-color : #90ee90;}
.bg_yellow { background-color : #fafad2;}
.bg_red { background-color : #f08080;}
.gilde_abenteurer { background-color : #deb887;}
.gilde_klerus { background-color : #fafad2;}
.gilde_katzenkrieger { background-color : #90ee90;}
.gilde_kaempfer { background-color : #b0c4de;}
.gilde_karate { background-color : #ee82ee;}
.gilde_chaos { background-color : orange;}
.gilde_zauberer { background-color : red;}
.teamlead { border : 2px solid green;}
.table_bottom div { display: inline;}
.table_top div { display: inline;}
.table_toolbar { display: inline;}
.ui-popup { z-index: 5000; }
</style>
<script type="text/javascript">
function fixConsole() {
if (typeof(window.console) == undefined || !window.console) {
window.console = { log : function() {}}
}
if (typeof(console) == undefined || !console) {
console = { log : function() {}}
}
}
fixConsole();
</script>
<script type="text/javascript" src="js/coffeescript/coffee-script.js"></script>
<script type="text/javascript" src="js/jquery/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/socket.io/socket.io.min.js"></script>
<script type="text/javascript" src="js/mg_client/base.js"></script>
<script type="text/javascript" src="js/mg_client/ansi.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_script.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_hooks.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_trigger.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_ui.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_io.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_player.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_history.js"></script>
<script type="text/coffeescript" src="js/mg_client/mg_client_neu.coffee"></script>
<script type="text/coffeescript" src="js/mg_client/mg_client_mpa.coffee"></script>
<script type="text/coffeescript" src="js/mg_client/mg_client_chat.coffee"></script>
<script type="text/javascript" src="js/mg_client/mg_client_config.js"></script>
<script type="text/javascript" src="js/persist/persist-min.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_persist.js"></script>
<script type="text/javascript" src="js/datatables/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="js/edit_area/edit_area_full.js"></script>
<script type="text/javascript" src="js/mg_client/mg_client_test.js"></script>
<script type="text/javascript">
$(document).ready(startUp);
</script>
</head>
<body style="font-size:10px;height:100%;width:90%;overflow: hidden;">
<div id="mg-logo" style="z-index:0; position:absolute; left:97%; right:5px;top:150px;-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);"> </div>
<div id="ie-hack"> </div>
<div id="doc" style="width:95%;height:85%;margin: auto 5px;">
<div id="left-box" style="float:left;height:90%;max-height:100%;width:150px;margin-top:-40px;margin-left:-100px;">
<div id="people"></div>
<select id="online" size="20" style="margin-top: 3px; display:none;width:100%;"></select>
</div>
<div id="compass" style="position:absolute;left:30px;bottom:50px;">
</div>
<div id="main-box" style="float:left;margin-top:-40px;margin-left:10px;height:100%;">
<div id="mgbox" style="overflow-x:hidden;overflow-y:auto; height:98%;width:48em;line-height:1.2em;font-size:12px;" class="mudtext">
<pre id="out" aria-live="polite"></pre>
</div>
<div style="margin-top:5px;">
<div id="toolbar" class="ui-corner-all"> <!--ui-widget-header -->
</div>
<div id="hidden_form2" style="display:none">
<input type="password" id="password" style="width:40em;font-family:monospace;font-size:12px;display:none;"/>
</div>
<form id="form" method="post" style="margin: 5px;" onsubmit="try { sendInput()} catch(e) { alert(e); };return false;" autocomplete="off">
<input type="text" id="input" style="width:40em;font-family:monospace;font-size:12px;"/>
<button id="b_submit">Senden</button>
</form>
</div>
</div>
<div id="windows" style="height:40px;margin-left:650px;margin-top:-40px;">
<button icon="ui-icon-comment" onclick="$('#Chat').toggle(); return false;">Chat</button>
<button icon="ui-icon-info" onclick="$('#mpa').toggle(); return false;">MPA</button>
<button icon="ui-icon-copy">Fenster</button>
<ul id="nav_mud">
<li><a href="#" onclick="playerBox(Player.id); return false;">Status</a></li>
</ul>
<button icon="ui-icon-help">Dokumentation</button>
<ul id="nav_doc">
<li><a href="#" onclick="$('#docs').toggle();return false;">Dokumentation</a></li>
<li><a href="#" onclick="$('#docs').toggle();showTab('docs','bugs');return false;">Bekannte Fehler</a></li>
<li><a target="_blank" href="http://mg.mud.de/newweb/hilfe/tutorial/inhalt.shtml">MG-Tutorial</a></li>
<li><a target="_blank" href="http://github.com/jexp/mg_client">Source auf GitHub</a></li>
<li><a target="_blank" href="https://github.com/jexp/mg_client/issues">BugTracker auf GitHub</a></li>
<li><a target="_blank" href="http://wiki.morgengrauen.info/index.php?n=MorgenGrauen.MG-Client">Docs im MG-Wiki</a></li>
</ul>
<button icon="ui-icon-play">Makros</button>
<ul id="nav_macro">
<li><a href="#" onclick="scriptDialog('edit'); return false;">Edit</a></li>
<li><a href="#" onclick="editScript('startup'); return false;">Startup</a></li>
<li><a href="#" onclick="editScript('connect'); return false;">Connect</a></li>
</ul>
<button icon="ui-icon-wrench">Debug</button>
<ul id="nav_debug">
<li><a href="#" onclick="toggleDialog('source'); return false;">Source</a></li>
<li><a href="#" onclick="toggleDialog('debug_trigger'); return false;">Debug Trigger</a></li>
<li><a href="#" onclick="runTestSuite(); return false;">Run Tests</a></li>
</ul>
<button id="b_login" icon="ui-icon-power" class="ui-priority-primary" onclick="showLoginDialog(); return false;">Anmelden</button>
</div>
<div class="ie-hack2"> </div>
</div>
<div style="height:0px">
<textarea id="script_editor" cols="80" style="display:none"></textarea>
<div id="disclaimer"><span style="text-align:center;">© MorgenGrauen. Alle Rechte vorbehalten.</span></div>
<form id="script_dialog" onsubmit="scriptDialogSubmit();return false;" style="display:none">
<input type="text" name="new_script_name" style="width:100px;"/><br/>
<select name="script_name" size="10" style="width:100px;">
</select><br/>
<input type="submit" value="Save">
</form>
<div id="debug_trigger">
<textarea rows="10" cols="78" id="debug_trigger_test"></textarea>
<input type="submit" value="test" onClick="showText($('#debug_trigger_test').val());false;">
</div>
<div id="docs" style="width:550px;height:250px;right:60px;top:200px;position:absolute">
<ul></ul>
</div>
<div id="mpa" style="width:550px;height:250px;right:60px;top:300px;position:absolute">
<ul>
<li><a href="#tab-mpa-rubriken">Rubriken</a></li>
<li><a id="mpa_rubrik_tab_name" href="#tab-mpa-rubrik">Allgemein</a></li>
<li><a id="mpa_artikel_tab_name" href="#tab-mpa-artikel">Artikel</a></li>
</ul>
<div id="tab-mpa-rubriken">
<input type="submit" onClick="writeArticle()" value="Verfassen"/>
<input type="submit" onClick="send('zeilen 0');send('rubriken');" value="Aktualisieren"/>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="mpa_rubriken"></table>
</div>
<div id="tab-mpa-rubrik">
<input type="submit" onClick="writeArticle($('#mpa_rubrik_tab_name').text())" value="Verfassen"/>
<input type="submit" onClick="send('zeilen 0');send('inhalt '+$('#mpa_rubrik_tab_name').text())" value="Aktualisieren"/>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="mpa_rubrik"></table>
</div>
<div id="tab-mpa-artikel">
Rubrik: <span id="mpa_artikel_rubrik"></span>
Nummer: <span id="mpa_artikel_id"></span>
Titel: <span id="mpa_artikel_titel"></span>
Autor: <span id="mpa_artikel_autor"></span>
Datum: <span id="mpa_artikel_date"></span>
<input type="submit" onClick="writeArticle($('#mpa_artikel_rubrik').text(), -1)" value="Antworten"/>
<pre style="overflow-x:none;overflow-y:auto" id="mpa_artikel_text"></pre>
</div>
</div>
</div>
</body>
</html>