modules/admin-full: improve layout of uci changes pages
[project/luci.git] / modules / admin-full / luasrc / view / admin_uci / changes.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
16 <%+header%>
17
18 <h2><a id="content" name="content"><%:config%></a></h2>
19 <p><strong><%:changes%>:</strong></p>
20
21 <div class="cbi-section">
22         <code><%=changes%></code>
23 </div>
24
25 <div class="cbi-page-actions">
26         <div style="float:left">
27                 <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>">
28                         <input class="cbi-button" style="float:left; margin:0" type="submit" value="« <%:back%>" />
29                 </form>
30         </div>
31
32         <div style="text-align:right">
33                 <form class="inline" method="get" action="<%=controller%>/admin/uci/apply">
34                         <input class="cbi-button cbi-button-apply" type="submit" value="<%:apply%>" />
35                 </form>
36                 <form class="inline" method="get" action="<%=controller%>/admin/uci/saveapply">
37                         <input class="cbi-button cbi-button-save" type="submit" value="<%:saveapply%>" />
38                 </form>
39                 <form class="inline" method="get" action="<%=controller%>/admin/uci/revert">
40                         <input class="cbi-button cbi-button-reset" type="submit" value="<%:revert%>" />
41                 </form>
42         </div>
43 </div>
44
45 <%+footer%>