-
Notifications
You must be signed in to change notification settings - Fork 3
/
import_codes.html
52 lines (46 loc) · 1.72 KB
/
import_codes.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>RM Bridge - Export Codes</title>
<link href="css/styles.css" rel="stylesheet" type="text/css">
<script src="js/angular.min.js"></script>
<script src="js/import.js"></script>
</head>
<body ng-app="app">
<a href="index.html"><div style="background: #6d85a7; text-align: center"><img src="images/title.png" /></div></a>
<div id="header">
<h2>RM Bridge - Export Codes</h2>
<p>
Use this page to import code shortcuts to add them to the RM Bridge.
</p>
</div>
<div id="content">
<div ng-controller="RMController" id="RMController">
<div ng-show="working == true || error_message != undefined" class ="status_output">
<img ng-show="working == true" src="images/rm_bridge_loader.gif" style="float: right;"/>
<div ng-show="error_message != undefined" style="color: red; float: right">{{error_message}}</div>
</div>
<h3>Step 1: Set RM Bridge Address</h3>
<p>Enter the address displayed by the <i>Android RM Bridge</i> app.</p>
<div>
http:// <input ng-model="bridge_ip" /> : <input ng-model="bridge_port" size="3"/>
</div>
<p><hr/></p>
<h3>Step 2: Import Codes</h3>
<p>
Inser the JSON string to import into the textarea and press the <i><b>Import Codes</b></i> button.
</p>
<p>
<textarea ng-model="codes_json" style="width: 90%" rows="20"></textarea>
</p>
<p>
<button class="button" ng-click="setBridgeHost();addCodes()">Import Codes</button>
</p>
</div>
</div>
<script>
init();
</script>
</body>
</html>