
This moves the npm components that were loading the json file to go so that it can be handled as messages over the websocket This should serve as an example how to communicate with the backend Change-Id: I9fdeb420123034a549333ddb3aad45eea663cb09
39 lines
1.3 KiB
HTML
Executable File
39 lines
1.3 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Airship UI</title>
|
|
<meta name="description"
|
|
content="Airship User Interface. Copyright (c) 2020 AT&T. All Rights Reserved. SPDX-License-Identifier: Apache-2.0">
|
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
|
|
<script src="js/websocket.js"></script>
|
|
<script src="js/common.js"></script>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="HeaderDiv" class="topnav">
|
|
<div id="HeaderNameDiv" class="topnavsuite"></div>
|
|
<a href="index.html" id="AirshipUIHome">Airship UI</a>
|
|
<div class="dropdown">
|
|
<button class="dropbtn">Dropdown</button>
|
|
<div id="PluginDropdown" class="dropdown-content">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container" id="MainDiv" style="width:98%"></div>
|
|
<div id="dashboard">
|
|
<webview class="webview" id="DashView" autosize="on" style="height:92vh;display:none"></webview>
|
|
</div>
|
|
<div id="FooterDiv">
|
|
</br>
|
|
<center><img src="images/airship-color.png" width="100px" height="67px"></center>
|
|
<center>
|
|
<p>© <a href="http://www.att.com/" title="www.att.com">The Airship Authors.</a> All Rights
|
|
Reserved.</p>
|
|
</center>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |