forked from IDLabResearch/TurtleValidator
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
39 lines (39 loc) · 1.6 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
<html>
<head>
<title>Turtle Web Editor</title>
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/ttl.js"></script>
<script src="js/codemirror.js"></script>
<script src="js/turtle.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/codemirror.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
.CodeMirror {
border: 1px solid #eee;
height: 70%;
}
</style>
</head>
<body>
<div class="container">
<h1>Turtle Web Editor</h1>
<p>Online text editor with <a href="https://en.wikipedia.org/wiki/Turtle_(syntax)">Turtle</a> syntax highlighting and validation. This is a remix of <a href="https://github.com/IDLabResearch/TurtleValidator">IDLab Turtle Validator</a> using <a href="https://codemirror.net">Codemirror</a>. The code is <a href="https://github.com/felixlohmeier/turtle-web-editor">on GitHub</a>.
<form>
<div class="form-group">
<textarea class="area" id="ta_turtle"></textarea>
</div>
<div class="form-group">
<input type="button" id="btn_example" class="btn btn-default" value="Load Example"/>
<input type="button" id="btn_validate" class="btn btn-default" value="Validate!"/>
<input type="button" id="btn_download" class="btn btn-default" value="Download"/>
</div>
</form>
<ul id="errors"></ul>
<ul id="warnings"></ul>
<p id="results"></p>
<script src="js/app.js"></script>
</div>
</body>
</html>