forked from chilipeppr/widget-terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.html
103 lines (84 loc) · 4.38 KB
/
widget.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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>
<!--(auto-fill by runme.js-->
</title>
<!-- ChiliPeppr is based on bootstrap CSS. -->
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Customized version of require.js for ChiliPeppr. Please see require.js docs for how
ChiliPeppr's dependency system works as it's based on require.js. -->
<script type='text/javascript' src="//i2dcui.appspot.com/js/require.js"></script>
<!-- widget.css DON'T REMOVE -->
<style type='text/css'>
/* widget.css will get inlined here by runme.js. don't remove this comment or inlining will fail. */
</style>
<link rel="stylesheet" type="text/css" href="widget.css">
<!-- DON'T REMOVE end widget.css -->
<!-- widget.js DON'T REMOVE -->
<script type='text/javascript'>
//<![CDATA[
/* widget.js will get inlined here by runme.js. don't remove this comment or inlining will fail. */
//]]>
</script>
<script type='text/javascript' src="widget.js"></script>
<!-- DON'T REMOVE end widget.js -->
</head>
<body>
<div id="com-chilipeppr-widget-terminal" class="panel panel-default">
<div class="panel-heading ">
<div class="btn-toolbar pull-right" role="toolbar">
<div class="btn-group">
<img class="hidden img-raspi" src="//i2dcui.appspot.com/img/raspberry_pi1.png" height="20" data-delay="1000" data-animation="true" data-placement="auto"
data-container="body" data-trigger="hover" data-title="Raspberry Pi" data-content="You are running a Raspberry Pi.">
</div>
<div class="btn-group">
<button type="button" class="btn btn-xs btn-default btn-clear" data-delay="1000" data-animation="true" data-placement="auto"
data-container="body" data-trigger="hover" data-title="Clear" data-content="Clear the terminal window">Clear
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-xs btn-default hidebody"><span class="glyphicon glyphicon-chevron-up"></span>
</button>
</div>
<div class="btn-group">
<div class="dropdown">
<button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu"></ul>
</div>
</div>
</div> <span class="panel-title" data-toggle="popover">Terminal</span>
</div>
<div class="panel-body">
<div class="alert alert-danger hidden alert-badversion" style="margin-bottom:0;">
Serial Port JSON Server 1.87 or higher is needed for this Terminal window to operate. Your version is <span class="yourspjsversion">x</span>.
</div>
<div class="alert alert-danger hidden alert-notconnected" style="margin-bottom:0;">
You don't seem to be connected to any Serial Port JSON Server. Connect to a Serial Port JSON Server to use the Terminal.
</div>
<div class="console-log">
<pre></pre>
</div>
<div class="console-input">
<form class="console-form">
<div class="input-group">
<span class="input-group-btn dropup">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
</ul>
</span>
<input type="text" class="form-control" placeholder="Type terminal command" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit">Go!</button>
</span>
</div>
</form>
</div>
</div>
</div>
</body>
</html>