8aa09c641ec3bd5a024b435ba32e29df0aa67ea9
[project/luci.git] / modules / admin-mini / luasrc / view / mini / uci_apply.htm
1 <%#
2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 -%>
15 <%+header%>
16 <h2><a id="content" name="content"><%:config%></a></h2>
17 <p><%:uci_applied%>:</p>
18 <code><%=(changes or "-")%>
19
20 <%
21 local fp = reload()
22 local line = fp:read()
23 while line do 
24         write(line.."\n")
25         line = fp:read()
26 end
27 fp:close()
28 %></code>
29 <%+footer%>