mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-28 21:03:57 +00:00
Convert to ES5, add web server
* No compilation step * Beginnings of web interface * Simple express server; React-based frontend * CommonJS style across codebase; auto-converts to RequireJS for browser * Using diffsync for realtime UI * "Provider" -> "Plugin" * Plugins expose one or more Providers
This commit is contained in:
41
public/index.html
Normal file
41
public/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>homebridge</title>
|
||||
|
||||
<!-- no favicon -->
|
||||
<link rel="icon" type="image/png" href="">
|
||||
|
||||
<!-- jquery -->
|
||||
<script src="/public/vendor/jquery.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="/public/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="/public/vendor/bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<!-- Open Sans -->
|
||||
<link href='/public/vendor/opensans/opensans.css' rel='stylesheet'>
|
||||
|
||||
<!-- socket.io -->
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
|
||||
<!-- react -->
|
||||
<script src="/public/vendor/react-with-addons.js"></script>
|
||||
|
||||
<!-- react router -->
|
||||
<script src="/public/vendor/ReactRouter.js"></script>
|
||||
|
||||
<!-- diffsync -->
|
||||
<script src="/public/vendor/diffsync.js"></script>
|
||||
|
||||
<!-- requirejs -->
|
||||
<script src="/public/vendor/require.js"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
require(['/public/js/app.jsx']);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user