luci2: wrap luci2.network.ifup and luci2.network.ifdown calls as LuCI2.network.setUp...
[project/luci2/ui.git] / luci2 / htdocs / luci2.html
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3     <head>
4         <title>LuCI2</title>
5
6         <link rel="stylesheet" href="/luci2/bootstrap/cascade.css">
7
8         <!--[if lt IE 9]><script src="/luci2/bootstrap/html5.js"></script><![endif]-->
9
10         <script type="text/javascript" src="/luci2/jquery-1.9.1.js"></script>
11         <script type="text/javascript" src="/luci2/jquery-ui-1.10.3.custom.js"></script>
12         <script type="text/javascript" src="/luci2/luci2.js"></script>
13
14         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
15
16         <script type="text/javascript">
17             $(function() {
18                 var L = new LuCI2();
19
20                 L.ui.login().then(function() {
21                     L.ui.init();
22                 });
23             });
24         </script>
25     </head>
26     <body>
27         <header>
28             <div class="fill">
29                 <div class="container">
30                     <a id="hostname" class="brand" href="#">&nbsp;</a>
31                     <div id="mainmenu"></div>
32
33                     <div class="pull-right" id="changes"></div>
34     <!--
35                     <div class="pull-right">
36                         <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
37                             <span class="label success" id="xhr_poll_status_on">Auto Refresh on</span>
38                             <span class="label" id="xhr_poll_status_off" style="display:none">Auto Refresh off</span>
39                         </span>
40                     </div>
41     -->
42                 </div>
43             </div>
44         </header>
45
46         <div id="viewmenu"></div>
47
48         <div id="maincontent" class="container">
49
50         </div>
51 <!--
52         <footer>
53             <a href="http://luci.subsignal.org/">Powered by LuCI Trunk (git-8b6d8db)</a>
54             OpenWrt Barrier Breaker r37529
55         </footer>
56 -->
57     </body>
58 </html>