-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (62 loc) · 3.24 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Origin Trial Token -->
<meta http-equiv="origin-trial" content="AtgOYVRO5xlsm/3qCzZ701Hx8qTUrCUbFVML9Z8E9vELP5w9K9E73YWGBQc4Ivy0hGd+++sh7JUtKx+3EuV3ngkAAABeeyJvcmlnaW4iOiAiaHR0cHM6Ly9ibHVlYXBwaW8uZ2l0aHViLmlvOjQ0MyIsICJmZWF0dXJlIjogIldlYkJsdWV0b290aCIsICJleHBpcnkiOiAxNDc2ODE1NjAyfQ==" />
<title>RN4020</title>
<link rel="stylesheet"
href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.0-rc4/angular-material.min.css">
<link rel="stylesheet" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-animate.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-aria.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-messages.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.0-rc4/angular-material.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-material-icons/0.7.1/angular-material-icons.min.js"></script>
<script src="https://blueappio.github.io/blueapp.io/blueapp.io.min.js"></script>
<script src="rn4020.js"></script>
<script src="app.js"></script>
</head>
<body ng-app="rn4020" class="thing">
<div ng-controller="mainController" md-theme-watch="true">
<div class="dialog-demo-content" style="position: absolute; right: 0px; top: 0px;">
<md-button class="md-icon-button md-primary" aria-label="Clear"
ng-click="onClear()"
ng-disabled="!rn4020.connected">
<ng-md-icon icon="clear"></ng-md-icon>
</md-button>
<md-button class="md-icon-button md-primary" aria-label="Settings"
ng-click="showSettingsDialog($event)"
ng-disabled="!rn4020.connected">
<ng-md-icon icon="settings"></ng-md-icon>
</md-button>
</div>
<div layout="row">
<div class="rn4020-textfield rn4020-textfiled-border" flex="100" style="top: 25px;">
<textarea readonly>{{terminaldata}}</textarea>
</div>
</div>
<div layout="row" layout-align="start start" ng-hide="!rn4020.connected">
<div layout="column" flex="85" flex-gt-md="90" flex-gt-lg="90" flex-xs="65" flex-sm="80">
<div class="rn4020-textfield" style="top: 20px;">
<input type="text" placeholder="Enter string command to send" class="rn4020-textfield" ng-model="inputData">
</div>
</div>
<div layout="column" flex="15" flex-gt-md="10" flex-gt-lg="10" flex-xs="35" flex-sm="20">
<md-button class="md-raised send-btn"
ng-click="onSend()"
style="top: 20px;">Send
</md-button>
</div>
</div>
<div layout="row" layout-align="start start" ng-hide="rn4020.connected">
<md-button class="md-raised connect-btn"
ng-click="onConnect()"
style="top: 20px;">Connect
</md-button>
</div>
</div>
</body>
</html>