forked from ethanchewy/PythonBuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (78 loc) · 3.38 KB
/
index.html
File metadata and controls
80 lines (78 loc) · 3.38 KB
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
<!DOCTYPE HTML>
<html>
<head>
<!-- Meta Data -->
<meta name="description" content="Online Python Editor With Live Syntax Checking">
<meta name="keywords" content="Lint,Online,Editor,Python,Syntax-Checking">
<meta name="author" content="Ethan Chiu">
<title>PythonBuddy</title>
<!-- Favicon -->
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css">
<!-- Scripts -->
<script src="/static/js/jquery.js" type="text/javascript"></script>
<script src="/static/codemirror/lib/codemirror.js"></script>
<script src="/static/codemirror/lib/python.js"></script>
<script src="/static/codemirror/lib/lint.js"></script>
<script src="/static/js/cm-validator-remote.js" type="text/javascript"></script>
<!--Codemirror Addons-->
<script src="/static/codemirror/addon/search.js"></script>
<script src="/static/codemirror/addon/searchcursor.js"></script>
<script src="/static/codemirror/addon/dialog.js"></script>
<!--Style -->
<link rel="stylesheet" href="/static/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="/static/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="/static/codemirror/lib/lint.css">
<link rel="stylesheet" href="/static/codemirror/addon/dialog.css">
<link rel="stylesheet" href="/static/css/style.css" type="text/css">
</head>
<body>
<a href="https://github.com/ethanchewy/OnlinePythonLinterSyntaxChecker"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<div class="text-center" id ="info">
<h1>Python Linter Online</h1>
<i>Live Syntax Checking Using Pylint while Running Python </i>
<br>
<i>This Live Version has extra security and will not execute some Python Code due to security risks. Please check out the master branch in the github repo for a more flexible version of this online Python editor. </i>
<p>
Examples:
<a href="#" id="codeexample1">1</a>
<a href="#" id="codeexample2">2</a>
<a href="#" id="codeexample3">3</a>
<a href="#" id="codeexample4">4</a>
<a href="#" id="codeexample5">5</a>
<a href="#" id="codeexample6">6</a>
<a href="#" id="codeexample7">7</a>
</p>
</div>
<br>
<div class="container">
<textarea id="txt">
print "hello world"
</textarea>
<br>
<button type="button" id="run" class="btn btn-success">Run</button>
<br>
<br>
<div id="output" >
<pre></pre>
</div>
<br>
<div id="append_text">
<h2>Pylint Output Info</h2>
<table id="errorslist" class="table" style="display: inline-block;">
<tr>
<th>Line</th>
<th>Severity</th>
<th>Error</th>
<th>More Info</th>
</tr>
</table>
</div>
</div>
<br>
<footer>
Created by <a href="https://github.com/ethanchewy">Ethan Chiu</a>
</footer>
</body>
<script src="/static/js/javascript.js" type="text/javascript"></script>
</html>