summaryrefslogtreecommitdiff
path: root/prolog.html
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-08-24 19:17:43 +0200
committerAleš Smodiš <aless@guru.si>2015-08-24 19:17:43 +0200
commit21d213dcff1367c16dc0c3f6585b8e35d7c2f0c7 (patch)
treeea7164cde0b4ad7ab42b94b291f690813c22b65b /prolog.html
parent42ee67384fa52bc3db4716ffb9aff2cd0dda3f5e (diff)
Introduced the Q promises library, created a basic login page to test prolog examples, and started tying the terminal and editor activity to the REST services.
Diffstat (limited to 'prolog.html')
-rw-r--r--prolog.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/prolog.html b/prolog.html
index 190ccc3..7bda6e9 100644
--- a/prolog.html
+++ b/prolog.html
@@ -16,7 +16,7 @@
<!-- App -->
<link rel="stylesheet" href="css/codeq.css" type="text/css">
</head>
- <body onload="start();">
+ <body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
@@ -64,9 +64,9 @@
<div class="col-lg-3 col-md-6 col-sm-12 block">
<nav class="navbar navbar-default" id="block-toolbar">
<div class="container-fluid">
- <button type="button" class="btn btn-default navbar-btn">Run</button>
- <button type="button" class="btn btn-default navbar-btn">Break</button>
- <button type="button" class="btn btn-default navbar-btn">Hint</button>
+ <button type="button" class="btn btn-default navbar-btn" id="btn_code_run">Run</button>
+ <button type="button" class="btn btn-default navbar-btn" id="btn_code_break">Break</button>
+ <button type="button" class="btn btn-default navbar-btn" id="btn_code_hint">Hint</button>
</div>
</nav>
<div id="code_editor"></div>
@@ -85,8 +85,10 @@
<!-- jQuery stuff -->
<script src="js/jquery/jquery-1.11.3.js"></script>
- <!--script src="js/jquery/jquery.terminal-0.8.8.js"></script-->
- <script src="js/jquery/jquery.console.js"></script>
+ <script src="js/jquery/jquery.terminal-0.8.8.js"></script>
+ <!--script src="js/jquery/jquery.console.js"></script>
+ <!-- Q promise library -->
+ <script src="js/q.js"></script>
<!-- Bootstrap -->
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- Cordova/PhoneGap -->
@@ -98,6 +100,7 @@
<script src="js/codemirror/show-hint.js"></script>
<!-- codeq app -->
<script src="js/codeq.js"></script>
+ <script src="js/codeq/comms.js"></script>
<script src="js/def_parser.js"></script>
<script src="js/prolog.js"></script>
</body>