projects
/
VSoRC
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xterm
[VSoRC/.git]
/
src
/
views
/
starter.ejs
diff --git
a/src/views/starter.ejs
b/src/views/starter.ejs
index 01b83278f1dd3d2eb4a99485b82be695da6886a8..ead4f5f564506cbc4feb707ffb1dc031122d8bce 100644
(file)
--- a/
src/views/starter.ejs
+++ b/
src/views/starter.ejs
@@
-3,7
+3,9
@@
<head>
<title></title>
<head>
<title></title>
- <!-- <link rel="stylesheet" type="text/css" href="/styles/main.css" /> -->
+ <!-- these are for the terminal -->
+ <link rel="stylesheet" href="node_modules/xterm/css/xterm.css" />
+ <script src="node_modules/xterm/lib/xterm.js"></script>
<%include ../../partials/head%>
<style media="screen">
body {
<%include ../../partials/head%>
<style media="screen">
body {
@@
-132,9
+134,15
@@
</script>
</main>
<aside class="">
</script>
</main>
<aside class="">
- <div class="statuscontroller">
+ <div class="terminal"></div>
+ <script>
+ var term = new Terminal();
+ term.open(document.getElementById('terminal'));
+ term.write('Hello from \x1B[1;3;31mxterm.js\x1B[0m $ ');
+ </script>
+
+
- </div>
<div class="statusproyect">
</div>
<div class="statusproyect">
</div>
@@
-145,4
+153,4
@@
</footer>
</footer>
-</html>
\ No newline at end of file
+</html>