2 Copyright (C)
2011 Pau Escrich
<pau@dabax.net
>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version
2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA
02110-
1301 USA.
19 The full GNU General Public License is included in this distribution in
20 the file called
"COPYING".
24 luci.http.prepare_content(
"text/html")
26 local location = { unpack(luci.dispatcher.context.path) }
27 location[#location] =
"topology"
32 <button id=
"redraw" onclick=
"redraw();">  redraw  
</button>
34 <div id=
"wait" style=
"text-align: center">
36 <img src=
"<%=resource%>/icons/loading.gif" />
37 <%:Collecting data...%
>
41 <div id=
"canvas" style=
"min-width:1024px; min-height:1024px"></div>
43 <script type=
"text/javascript" src=
"<%=resource%>/jquery/jquery-1.4.js"></script>
44 <script type=
"text/javascript" src=
"<%=resource%>/dracula/raphael-min.js"></script>
45 <script type=
"text/javascript" src=
"<%=resource%>/dracula/dracula_graffle.js"></script>
46 <script type=
"text/javascript" src=
"<%=resource%>/dracula/dracula_graph.js"></script>
47 <script type=
"text/javascript" src=
"<%=resource%>/bmx6/js/bmx6-graph.js"></script>