Remove unmaintained components: lucid, fastindex, niu
[project/luci.git] / modules / niu / luasrc / view / niu / dashboard.htm
diff --git a/modules/niu/luasrc/view/niu/dashboard.htm b/modules/niu/luasrc/view/niu/dashboard.htm
deleted file mode 100644 (file)
index 7c387ed..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<% 
-local dsp = require "luci.dispatcher"
-local utl = require "luci.util"
-
-include("header")
-local function cmp(a, b)
-       return (nodes[a].order or 100) < (nodes[b].order or 100)
-end
-for k, v in utl.spairs(nodes, cmp) do
-       if v.niu_dbtemplate or v.niu_dbtasks then
-       %>
-       <fieldset class="dbbox">
-               <h2<% if v.niu_dbicon then %> style="background-image: url(<%=resource%>/<%=v.niu_dbicon%>)"<% end %>><%=v.title%></h2>
-               <% if v.niu_dbtemplate then tpl.render(v.niu_dbtemplate) end %>
-               <% if v.niu_dbtasks then %>
-               <h4>Tasks:</h4>
-               <ul>
-                       <%
-                       local nodes = dsp.node("niu", k).nodes
-                       local function cmp(a, b)
-                               return (nodes[a].order or 100) < (nodes[b].order or 100)
-                       end
-                       for k2, v2 in utl.spairs(nodes, cmp) do
-                       %>
-                       <li><a href="<%=dsp.build_url("niu", k, k2)%>"><%=v2.title%></a></li>
-                       <%
-                       end
-                       %>
-               </ul>
-               <% end %>
-       </fieldset>
-       <%
-       end
-end
-
-%>
-
-<%+footer%>
\ No newline at end of file