|
|
@@ -1,30 +1,33 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html ng-app="App">
|
|
|
<head>
|
|
|
- <title>IoT Control Panel</title>
|
|
|
+ <title locale="locale/iot-control-panel-title">IoT Control Panel</title>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
|
|
|
<link rel="stylesheet" href="../../script/semantic/semantic.min.css">
|
|
|
<script type="text/javascript" src="../../script/jquery.min.js"></script>
|
|
|
<script type="text/javascript" src="../../script/semantic/semantic.min.js"></script>
|
|
|
+ <script type="text/javascript" src="../../script/applocale.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="ui container">
|
|
|
<div class="ui basic segment">
|
|
|
<h3 class="ui header">
|
|
|
- IoT Hub
|
|
|
- <div class="sub header">List of supported IoT protocol scanners for this Host</div>
|
|
|
+ <span locale="locale/iot-hub-title">IoT Hub</span>
|
|
|
+ <div class="sub header" locale="locale/iot-hub-description">List of supported IoT protocol scanners for this Host</div>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<div>
|
|
|
<table class="ui celled very basic compact table">
|
|
|
<thead>
|
|
|
- <tr><th>Protocol Name</th>
|
|
|
- <th>Description</th>
|
|
|
- <th>Version (Protocol)</th>
|
|
|
- <th>Author</th>
|
|
|
- <th>Release Date</th>
|
|
|
- </tr></thead>
|
|
|
+ <tr>
|
|
|
+ <th locale="locale/protocol-name">Protocol Name</th>
|
|
|
+ <th locale="locale/description">Description</th>
|
|
|
+ <th locale="locale/version-protocol">Version (Protocol)</th>
|
|
|
+ <th locale="locale/author">Author</th>
|
|
|
+ <th locale="locale/release-date">Release Date</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
<tbody id="protocolScannerList">
|
|
|
<tr>
|
|
|
<td data-label="">Home Dynamic v2</td>
|
|
|
@@ -40,6 +43,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<script>
|
|
|
+ applocale.init("../locale/system_info_iot.json", function(){
|
|
|
+ applocale.translate();
|
|
|
+ });
|
|
|
+
|
|
|
initScannerHandlerList();
|
|
|
function initScannerHandlerList(){
|
|
|
$.get("../../system/iot/listScanner", function(data){
|
|
|
@@ -69,4 +76,4 @@
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|