Skip to content

Commit b042cd7

Browse files
committedNov 11, 2015
Heroku
Now at http://o-lang.herokuapp.com, again. The old one is at http://o-lang-old.herokuapp.com for legacy...?
1 parent c282611 commit b042cd7

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed
 

‎.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ dependency-reduced-pom.xml
88
build/
99
__pycache__/
1010
*.exe
11-
*.gch
11+
*.gch
12+
# For `heroku` and `heroku.pub`
13+
heroku*

‎app.json

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"keywords": [
55
"o",
66
"c",
7-
"java",
87
"esoteric",
98
"codegolf"
109
],

‎requirements.txt

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Flask==0.9
2-
Jinja2==2.6
3-
Werkzeug==0.8.3
4-
gunicorn==0.17.2
1+
Flask==0.10.1
2+
itsdangerous==0.24
3+
Jinja2==2.8
4+
MarkupSafe==0.23
5+
Werkzeug==0.11

‎templates/primary.html

+14-10
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,34 @@
99
<div class="container">
1010
<div class="row">
1111
<div class="col-xs-6">
12-
<h1>O Online IDE</h1>
13-
<p>This is an IDE for the <a href="http://o.readthedocs.org/">O programming language</a>.
14-
O and this site were made by <a href="https://github.com/phase">Phase</a>!</p>
12+
<h1><a href="https://github.com/phase/o">O</a> Interpreter</h1>
1513
<br/>
1614
<p id="byteCount">0 bytes and 0 chars long.</p>
17-
<form id="o" action="" method="post">
18-
<fieldset>
19-
<input type="submit" value="Run!">
20-
</fieldset>
21-
</form>
2215
<p>Code</p>
2316
<textarea rows="4" cols="50" name="code" id="code" form="o">{{ code }}</textarea>
2417
<p>Input (each line is a different input)</p>
2518
<textarea rows="4" cols="50" name="input" id="input" form="o">{{ input }}</textarea>
2619
<br/>
2720
{% block body %}{% endblock %}
28-
<input id="permalink" type="submit" value="Permalink"/>
21+
<div class="row">
22+
<div class="col-xs-6 previous">
23+
<form id="o" action="" method="post">
24+
<fieldset>
25+
<input type="button" class="btn btn-success" type="submit" value="Run!">
26+
</fieldset>
27+
</form>
28+
</div>
29+
<div class="col-xs-6 next">
30+
<input type="button" class="btn btn-info" id="permalink" type="submit" value="Permalink"/>
31+
</div>
32+
</div>
2933
</div>
3034
<div class="col-xs-6">
3135
<h3>Utilities</h3>
3236
<p>These are some utilities that can be used when coding in O.</p>
3337
<p id="stripped"></p>
3438
<br/>
35-
<button id="util.genuni" onclick="genUni()">Generate Unicode</button>
39+
<button type="button" class="btn btn-warning btn-sm" id="util.genuni" onclick="genUni()">Generate Unicode</button>
3640
<br/>
3741
<h4>General Explanation <small>(not always correct)</small>:</h4>
3842
<div class="container" style="margin-top: 5%;margin-right: 5%;">

0 commit comments

Comments
 (0)