-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
95 lines (94 loc) · 4.82 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Automata</title>
<link rel="icon" type="image/png" href="images/layer-shape-curve.png" />
<link href='site/css/style.css' rel='stylesheet' />
<link href='site/css/runner.css' rel='stylesheet' />
<link href='site/css/share.css' rel='stylesheet' />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ t_id }}', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<header>
<h1>Automata editor</h1>
<noscript>
<h2>Hello time traveller!</h2>
<p>It's lovely to see someone from 1998 on our web application! Thanks for visiting.</p>
<p>Unfortunately, <em>automata</em> is a web application that requires Javascript to run properly.</p>
<p>Please <a href='https://support.google.com/adsense/bin/answer.py?hl=en&answer=12654'>Enable Javascript</a>
and try again.</p>
</noscript>
<ol class='toolbar'>
<li class='selected move button'><a href=''><span></span>Move states</a></li>
<li class='transition button'><a href=''><span></span>Create transition</a></li>
<li class='run button'><a href=''><span></span>Run</a></li>
<li class='share button'><a href=''><span></span>Share</a></li>
<li class='update button' style="display:none"><a href=''><span></span>Update</a></li>
<li class='delete button' style="display:none"><a href=''><span></span>Delete</a></li>
</ol>
<div>
<ol class="account" id="profile" style="display: none;">
<li id="user">
<img id="uimage" src="" class="avatar" width="27" height="27" />
</li>
<a href="api/logout">Sign out</a>
</ol>
<ol class="account" id="login" style="display: none;">
<a href="api/login">Sign in with Google</a>
</ol>
</div>
<div class='eof'></div>
</header>
<div class='runner'>
<div class='window'>
<a href='' class='close' title='Stop automaton execution'></a>
<h2 id='runstatus'>Running</h2>
<ol id='runinput'></ol>
<ol>
<li class='first button'><a href='' title='Restart automaton'><span></span></a></li>
<li class='previous button'><a href='' title='Step backward'><span></span></a></li>
<li class='last button' title='Finish execution'><a href=''><span></span></a></li>
<li class='next button'><a href='' title='Step forward'><span></span></a></li>
</ol>
</div>
</div>
<div id='editor'>
<label for="insertError" style="position:absolute; height:10px; color:red; font:bold 14px Georgia, serif; width:100px; left:200px; top:200px; display: none" id="errorSymbol">Wrong symbol!</label>
<input type="text" size='8' style='height:20px;width:80px;left:0px;top:0px;display:none' id="inputSymbol" />
<input type="text" size='8' style='height:30px;width:30px;left:0px;top:0px;display:none' id="changeStateName" />
<canvas width='800' height='800'></canvas>
</div>
<div id='sharer'>
<span class='icon'>▲</span>
<div id='share'>
<a href='' class='close' title='Close'></a>
<label>Link to your automaton</label>
<div class=''>
<input type='text' id='url' />
</div>
</div>
</div>
<script src='site/js/debug.js'></script>
<script src='site/js/object.js'></script>
<script src='site/js/eventemitter.js'></script>
<script src='site/js/server.js'></script>
<script src='site/js/math.js'></script>
<script src='site/js/geometry.js'></script>
<script src='site/js/automaton.js'></script>
<script src='site/js/automatonview.js'></script>
<script src='site/js/render.js'></script>
<script src='site/js/editor.js'></script>
<script src='site/js/test.js'></script>
<script src='site/js/jquery-1.7.2.min.js'></script>
<script src='site/js/hidpi-canvas.min.js'></script>
<script src='site/js/runner.js'></script>
<script src='site/js/ui.js'></script>
</body>