-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (34 loc) · 1.5 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
<html ng-app="jarvys">
<head>
<title></title>
<link href='http://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link href="dist/css/jarvys-terminal-styles.min.css" rel="stylesheet"></link>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular.min.js"></script>
<script src="dist/js/jarvys-terminal.js"></script>
</head>
<body>
<div id="terminal" ng-controller="TerminalController">
<div id="terminal-bar">
<div id="terminal-buttons">
<div id="terminal-close"></div>
<div id="terminal-minimize"></div>
<div id="terminal-fullscreen"></div>
</div>
</div>
<div id="terminal-body" ng-click="focusOnInput()" scroll-glue>
<form id="terminalForm" ng-enter="terminalSubmit()">
<div data-ng-repeat="input in inputs">
<span class="terminal-root">[root@jarvys ~]#</span>
<input class="terminal-input" ng-model="input.name" ng-disabled="input.disabled" focus-on="{{input.id}}" /><span class="terminal-input-display">{{input.name}}<span><span ng-class="cursor" ng-if="input.cursor == true"></span>
<p ng-bind-html="input.response | nl2br"></p>
<p ng-bind-html="input.response2 | nl2br"></p>
</div>
</form>
</div>
</div>
<div style="margin-top:40px;">
<p><strong>Step 1 - Copy and Paste this:</strong> curl -d '{"k":"myKey"}' https://my.jarvys.io/setup > jarvys-setup.sh && sh jarvys-setup.sh</p>
</div>
</body>
</html>