summaryrefslogtreecommitdiffstats
path: root/src/index.html
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-12-05 12:42:48 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:20:13 +0100
commit9a25f5f94900b0474b6c5f2fff254a3418ca7f38 (patch)
treee4e252d0f5a7d289fed6db04fca3d32534426ab4 /src/index.html
parent20e04b702f96bf05ff957a8e3c4296d76a2e7656 (diff)
FUNCT Add bootstrap support
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html167
1 files changed, 1 insertions, 166 deletions
diff --git a/src/index.html b/src/index.html
index 20de554..7bd906b 100644
--- a/src/index.html
+++ b/src/index.html
@@ -21,171 +21,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
- <div class="page" id="main">
- <h1 class="header">
- Settings
- </h1>
- <div class="container">
- <a href="#" class="entry" onclick="window.show('datetime');">
- <div class="icon">
- <i class="fa fa-clock"></i>
- </div>
- <div class="label">
- Date & Time
- </div>
- <div class="control">
- </div>
- </a>
- <a href="#" class="entry">
- <div class="icon">
- <i class="fab fa-bluetooth-b"></i>
- </div>
- <div class="label" onclick="window.show('bluetooth');">
- Bluetooth
- </div>
- <div id="BluetoothControl" class="control enabled" onclick="window.toggle_bluetooth();">
- <span class="fa fa-toggle-on on"></span>
- <span class="fa fa-toggle-off off"></span>
- </div>
- </a>
- <a href="#" class="entry" onclick="window.show('wifi');">
- <div class="icon">
- <i class="fas fa-wifi"></i>
- </div>
- <div class="label">
- Wifi
- </div>
- <div class="control">
- <!-- <span class="fa fa-toggle-on on"></span> -->
- <span class="fa fa-toggle-off off"></span>
- </div>
- </a>
- <a href="#" class="entry" onclick="window.show('wired');">
- <div class="icon">
- <i class="fas fa-network-wired"></i>
- </div>
- <div class="label">
- Wired
- </div>
- </a>
- <a href="#" class="entry" onclick="window.show('version');">
- <div class="icon"></div>
- <div class="icon">
- <i class="fas fa-tachometer-alt"></i>
- </div>
- <div class="label">
- Version info
- </div>
- </a>
- </div>
- </div>
-
- <div class="secondary page hide" id="datetime">
- <h1 class="header">
- <a href="#" class="backButton" onclick="window.hide('datetime')">
- <i class="fas fa-chevron-left"></i>
- </a>
- Date & Time
- </h1>
- <div class="entry">
- <h2>
- Date
- </h2>
- </div>
- <div class="entry">
- <h2>
- Time
- </h2>
- </div>
- </div>
-
- <div class="secondary page hide" id="bluetooth">
- <h1 class="header">
- <a href="#" class="backButton" onclick="window.hide('bluetooth')">
- <i class="fas fa-chevron-left"></i>
- </a>
- Bluetooth
- </h1>
- <div id="BluetoothContainer" class="container"></div>
- <div class="footer">
- <a href="#" filter="available" class="button active" onclick="window.setFilter_bluetooth(this)">
- Available
- </a>
- <a href="#" filter="paired" class="button" onclick="window.setFilter_bluetooth(this)">
- Paired
- </a>
- <a href="#" filter="connected" class="button" onclick="window.setFilter_bluetooth(this)">
- Connected
- </a>
- </div>
- <script id="bluetooth-device-template" type="x-tmpl-mustache">
- <div class="entry" deviceId="{{device}}">
- <div class="icon">
- <span class="fab fa-bluetooth"></span>
- </div>
- <div class="label" onclick="window.manage_bluetooth('{{device}}', {{properties.paired}}, {{ properties.connected }})">
- <div class="title">
- {{ properties.name }}
- </div>
- <div class="subtitle">
- {{ properties.address }}
- </div>
- </div>
- <div class="control" onclick="window.remove_device_bluetooth('{{device}}')">
- <span class="fa fa-trash"></span>
- </div>
- </div>
- </script>
- </div>
-
- <div class="secondary page hide" id="wifi">
- <h1 class="header">
- <a href="#" class="backButton" onclick="window.hide('wifi')">
- <i class="fas fa-chevron-left"></i>
- </a>
- Wifi
- </h1>
- <div id="WifiContainer" class="container"></div>
- <script id="wifi-device-template" type="x-tmpl-mustache">
- <div class="entry" service="{{service}}">
- <div class="icon">
- <span class="fas fa-wifi"></span>
- </div>
- <div class="label" onclick="window.manage_bluetooth('{{device}}', {{properties.paired}}, {{ properties.connected }})">
- <div class="title">
- {{ properties.name }}
- </div>
- <div class="subtitle">
- {{ properties.ethernet.address }}
- </div>
- </div>
- <div class="control">
- {{ properties.strength }}%
- </div>
- </div>
- </script>
- </div>
-
- <div class="secondary page hide" id="wired">
- <h1 class="header">
- <a href="#" class="backButton" onclick="window.hide('wired')">
- <i class="fas fa-chevron-left"></i>
- </a>
- Wired
- </h1>
- </div>
-
- <div class="secondary page hide" id="version">
- <h1 class="header">
- <a href="#" class="backButton" onclick="window.hide('version')">
- <i class="fas fa-chevron-left"></i>
- </a>
- Version info
- </h1>
- </div>
-
- <div class="log" id="log">
-
- </div>
+
</body>
</html> \ No newline at end of file