applications/olsr: fix link targets in overview
authorManuel Munz <freifunk@somakoma.de>
Mon, 7 Jan 2013 10:01:46 +0000 (10:01 +0000)
committerManuel Munz <freifunk@somakoma.de>
Mon, 7 Jan 2013 10:01:46 +0000 (10:01 +0000)
applications/luci-olsr/luasrc/view/status-olsr/overview.htm

index d57da7cfe30b1eb3b2b77f4fb29bc59979260adf..294af7b3a6332f2f29fb26481836bd893fa6f212 100644 (file)
@@ -168,7 +168,7 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 },
                        </div>
                        <div class="cbi-value-field">
                                <div style="width: 6em; float:left;">
-                                       <a href="<%=luci.dispatcher.build_url("freifunk", "olsr", "interfaces")%>">
+                                       <a href="<%=REQUEST_URI%>/interfaces">
                                                <span id="nr_ifaces">
                                                        <%=nr_ifaces%>
                                                <span>
@@ -189,7 +189,7 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 },
                        </div>
                        <div class="cbi-value-field">
                                <div style="width: 6em; float:left;">
-                                       <a href="<%=luci.dispatcher.build_url("freifunk", "olsr", "neighbors")%>">
+                                       <a href="<%=REQUEST_URI%>/neighbors">
                                                <span id="nr_neigh">
                                                        <%=nr_neigh%>
                                                </span>
@@ -210,7 +210,7 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 },
                        </div>
                        <div class="cbi-value-field">
                                <div style="width: 6em; float:left;">
-                                       <a href="<%=luci.dispatcher.build_url("freifunk", "olsr", "topology")%>">
+                                       <a href="<%=REQUEST_URI%>/topology">
                                                <span id="nr_nodes">
                                                        <%=nr_nodes%>
                                                </span>
@@ -226,7 +226,7 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 },
                        </div>
                        <div class="cbi-value-field">
                                <div style="width: 6em; float:left;">
-                                       <a href="<%=luci.dispatcher.build_url("freifunk", "olsr", "hna")%>">
+                                       <a href="<%=REQUEST_URI%>/hna">
                                                <span id="nr_hna">
                                                        <%=nr_hna%>
                                                </span>
@@ -242,7 +242,7 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 },
                        </div>
                        <div class="cbi-value-field">
                                <div style="width: 6em; float:left;">
-                                       <a href="<%=luci.dispatcher.build_url("freifunk", "olsr", "topology")%>">
+                                       <a href="<%=REQUEST_URI%>/topology">
                                                <span id="nr_topo">
                                                        <%=nr_topo%>
                                                </span>