* luci-0.8: merge template changes from trunk
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 29 Oct 2008 18:54:56 +0000 (18:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 29 Oct 2008 18:54:56 +0000 (18:54 +0000)
58 files changed:
applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.lua
applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.lua
applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm
applications/luci-olsr/luasrc/view/status-olsr/hna.htm
applications/luci-olsr/luasrc/view/status-olsr/index.htm
applications/luci-olsr/luasrc/view/status-olsr/mid.htm
applications/luci-olsr/luasrc/view/status-olsr/routes.htm
applications/luci-olsr/luasrc/view/status-olsr/topology.htm
applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.lua
applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.xml
applications/luci-splash/luasrc/view/splash/splash.htm
applications/luci-statistics/luasrc/view/admin_statistics/index.htm
applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
applications/luci-statistics/luasrc/view/public_statistics/graph.htm
i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.lua
libs/cbi/htdocs/luci-static/resources/cbi.js
libs/cbi/luasrc/view/cbi/button.htm
libs/cbi/luasrc/view/cbi/dynlist.htm
libs/cbi/luasrc/view/cbi/fvalue.htm
libs/cbi/luasrc/view/cbi/lvalue.htm
libs/cbi/luasrc/view/cbi/map.htm
libs/cbi/luasrc/view/cbi/mvalue.htm
libs/cbi/luasrc/view/cbi/simpleform.htm
libs/cbi/luasrc/view/cbi/tvalue.htm
libs/cbi/luasrc/view/cbi/value.htm
libs/sgi-webuci/boa-patches/210-accept_fix.patch [new file with mode: 0644]
libs/web/root/etc/config/luci
modules/admin-core/luasrc/view/about.htm
modules/admin-core/luasrc/view/error404.htm
modules/admin-core/luasrc/view/error500.htm
modules/admin-core/luasrc/view/sysauth.htm
modules/admin-full/luasrc/view/admin_index/index.htm
modules/admin-full/luasrc/view/admin_services/index.htm
modules/admin-full/luasrc/view/admin_status/index.htm
modules/admin-full/luasrc/view/admin_status/syslog.htm
modules/admin-full/luasrc/view/admin_system/applyreboot.htm
modules/admin-full/luasrc/view/admin_system/backup.htm
modules/admin-full/luasrc/view/admin_system/packages.htm
modules/admin-full/luasrc/view/admin_system/reboot.htm
modules/admin-full/luasrc/view/admin_system/upgrade.htm
modules/admin-full/luasrc/view/admin_uci/apply.htm
modules/admin-full/luasrc/view/admin_uci/changes.htm
modules/admin-full/luasrc/view/admin_uci/revert.htm
modules/admin-mini/luasrc/view/mini/applyreboot.htm
modules/admin-mini/luasrc/view/mini/backup.htm
modules/admin-mini/luasrc/view/mini/index.htm
modules/admin-mini/luasrc/view/mini/reboot.htm
modules/admin-mini/luasrc/view/mini/uci_apply.htm
modules/admin-mini/luasrc/view/mini/uci_changes.htm
modules/admin-mini/luasrc/view/mini/uci_revert.htm
modules/admin-mini/luasrc/view/mini/upgrade.htm
modules/freifunk/luasrc/view/freifunk/contact.htm
modules/freifunk/luasrc/view/freifunk/index.htm
themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm
themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm

index 856523a..a1d253d 100644 (file)
@@ -1,7 +1,7 @@
 disk = 'Disco'
 enable_debug = 'Habilitar debug'
-hd_idle = 'hd-idle'
-hd_idle_desc = 'hd-idle é um programa utilitário para ativar o modo &quot;economia de energia&quot; (spinning-down) de discos externos após um período de ociosidade.'
+hd_idle = 'Hd-idle'
+hd_idle_desc = 'Hd-idle é um programa utilitário para ativar o modo &quot;economia de energia&quot; (spinning-down) de discos externos após um período de ociosidade.'
 idle_time_interval = 'Tempo de ociosidade'
 idle_time_unit = 'Unidade do tempo de ociosidade'
 settings = 'Configurações'
index 9831948..f6e3d5d 100644 (file)
@@ -1,5 +1,5 @@
 initmgr = 'Scripts de Inicialização'
-initmgr_desc = 'Você pode ativar ou desativar os scripts de inicialização instalados aqui. As mudanças serão aplicadas após a reinicialização do equipamento.<br /><strong>Aviso: Se você desativar algum script de inicialização essencial &quot;rede/network&quot;, o dispositivo poderá tornar-se inacessível!</strong>'
+initmgr_desc = 'Você pode ativar ou desativar os scripts de inicialização instalados aqui. As mudanças serão aplicadas após a reinicialização do equipamento.<br /><strong>Aviso: Se você desativar algum script de inicialização essencial como por exemplo &quot;rede/network&quot;, o dispositivo poderá tornar-se inacessível!</strong>'
 initmgr_index = 'Prioridade de inicialização'
 initmgr_name = 'Script de inicialização'
 initmgr_enabled = 'Ativar/Desativar'
index f401603..c23f52b 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:olsrd%></h1>
+<h2><a id="content" name="content"><%:olsrd%></a></h2>
 <p class="error"><%:olsrd_error%></p>
 <p><%:olsrd_error_desc%></p>
 <%+footer%>
index 5757e84..e0ec884 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:olsrd_hna2%></h1>
+<h2><a id="content" name="content"><%:olsrd_hna2%></a></h2>
 <p><%:olsrd_hna_desc%></p>
 <br />
 <table class="smalltext" cellspacing="0" cellpadding="6">
index 291e3a4..3dc56f9 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:olsrd_links%></h1>
+<h2><a id="content" name="content"><%:olsrd_links%></a></h2>
 <p><%:olsrd_links_desc%></p>
 <br />
 <table class="smalltext" cellspacing="0" cellpadding="6">
index 1d0bef7..2c3b703 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:olsrd_mid%></h1>
+<h2><a id="content" name="content"><%:olsrd_mid%></a></h2>
 <p><%:olsrd_mid_desc%></p>
 <br />
 <table class="smalltext" cellspacing="0" cellpadding="6">
index c5cce76..1f42964 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:olsrd_routes%></h1>
+<h2><a id="content" name="content"><%:olsrd_routes%></a></h2>
 <p><%:olsrd_routes_desc%></p>
 <br />
 <table class="smalltext" cellspacing="0" cellpadding="6">
index 3ce16a4..d919aa9 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:olsrd_topology%></h1>
+<h2><a id="content" name="content"><%:olsrd_topology%></a></h2>
 <p><%:olsrd_topology_desc%></p>
 <br />
 <table class="smalltext" cellspacing="0" cellpadding="6">
index 3ec3ec0..71e4acb 100644 (file)
@@ -1,4 +1,4 @@
-p910nd = 'p910nd - Servidor de impressão'
+p910nd = 'P910nd - Servidor de impressão'
 p910nd_desc = 'Primeiro você deve instalar os pacotes para obter suporte USB (kmod-usb-printer) ou porta paralela (kmod-lp).'
 bidirectional = 'Modo bidirecional'
 port_help = 'p910nd escuta na porta 910+N. Ex. 9100 para a primeira impressora.'
index bed614d..2936115 100644 (file)
@@ -2,7 +2,7 @@
 
 <i18n:msgs xmlns:i18n="http://luci.freifunk-halle.net/2008/i18n#" xmlns="http://www.w3.org/1999/xhtml">
 
-<i18n:msg xml:id="910nd">P910nd - Servidor de impressão</i18n:msg>
+<i18n:msg xml:id="p910nd">P910nd - Servidor de impressão</i18n:msg>
 <i18n:msg xml:id="p910nd_desc">Primeiro você deve instalar os pacotes para obter suporte USB (kmod-usb-printer) ou porta paralela (kmod-lp).</i18n:msg>
 <i18n:msg xml:id="bidirectional">Modo bidirecional</i18n:msg>
 <i18n:msg xml:id="port_help">p910nd escuta na porta 910+N. Ex. 9100 para a primeira impressora.</i18n:msg>
index 28a0384..659d4f0 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <% local c = luci.model.uci.cursor():get_all("freifunk", "community") %>
 
-<h1>Willkommen!</h1>
+<h2><a id="content" name="content">Willkommen!</a></h2>
 <p>
 Du bist jetzt mit dem freien Funknetz 
 <a href="<%=c.homepage%>"><%=c.name%></a> verbunden.<br />
index 4a0c924..dfeb062 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 
-<h1><%:stat_statistics Statistics%></h1>
+<h2><a id="content" name="content"><%:stat_statistics Statistics%></a></h2>
 
 <p><%:stat_desc The statistics package is based on <a href="http://collectd.org/index.shtml">Collectd</a>
 and uses <a href="http://oss.oetiker.ch/rrdtool/">RRD Tool</a> to render diagram images from collected data.%></p>
index 34d62b2..e29d97c 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 
-<h1><%:stat_networkplugins Network plugins%></h1>
+<h2><a id="content" name="content"><%:stat_networkplugins Network plugins%></a></h2>
 
 <p><%:stat_networkplugins_desc Network plugins are used to collect information
 about open tcp connections, interface traffic, iptables rules etc.%></p>
index c8d18f9..d230109 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 
-<h1><%:stat_outputplugins Output plugins%></h1>
+<h2><a id="content" name="content"><%:stat_outputplugins Output plugins%></a></h2>
 
 <p><%:stat_outputplugins_desc Output plugins provide different possibilities to store collected data.
 It is possible to enable multiple plugin at one, for example to store collected data in rrd databases
index 4fdfec1..bb63228 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 
-<h1><%:stat_systemplugins System plugins%></h1>
+<h2><a id="content" name="content"><%:stat_systemplugins System plugins%></a></h2>
 
 <p><%:stat_systemplugins_desc System plugins collecting values about system state and ressource usage on the device.:%>
        <ul>
index ff058b8..bf304c7 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 
-<h1><%:stat_statistics Statistics%></h1>
+<h2><a id="content" name="content"><%:stat_statistics Statistics%></a></h2>
 
 <form action="" method="get">
        <select name="timespan">
index 4dd9091..de6a31d 100644 (file)
@@ -37,7 +37,7 @@ a_s_changepw = 'Senha do Admin'
 a_s_p_ipkg = 'Configuração-IPKG'
 a_s_sshkeys = 'Chaves-<abbr title="Shell Seguro">SSH</abbr>'
 a_s_fstab = 'Pontos de Montagem'
-a_s_flash = 'Gravar Firmware'
+a_s_flash = 'Atualizar Firmware'
 a_s_i_system1 = 'Altera as configurações relacionadas com o sistema em si, sua identificação, hardware e software instalados, autenticação ou pontos de montagem.'
 a_s_i_system2 = 'Essas configurações definem a base do seu sistema.'
 a_s_i_system3 = 'Preste atenção de que qualquer configuração errada aqui pode impedir o seu equipamento de inicilizar ou talvez bloquear seu acesso de fora à ele.'
@@ -53,7 +53,7 @@ a_s_packages_updatelist = 'Atualizar listas de pacotes'
 a_s_packages_upgrade = 'Atualizar os pacotes instalados'
 a_s_p_ipkg_pkglists = 'Listas de pacotes'
 a_s_p_ipkg_targets = 'Destino de Instalação'
-a_s_changepw1 = 'Alterar a senha do administrador do sistema (Usuário <code>root</code>)'
+a_s_changepw1 = 'Altera a senha do administrador do sistema (Usuário <code>root</code>)'
 a_s_changepw_changed = 'Senha alterada com sucesso'
 a_s_changepw_nomatch = 'Erro: As senhas estão diferentes'
 a_s_sshkeys1 = 'Aqui você pode colar suas Chaves-<abbr title="Shell Seguro">SSH</abbr> públicas (uma por linha) para a autenticação <abbr title="Shell Seguro">SSH</abbr> por chave-pública.'
@@ -69,15 +69,15 @@ a_s_fstab_swap1 = 'Se a sua memória física for insuficiente, os dados poderão
 a_s_flash_flashed = 'Firmware gravado com sucesso. Reiniciando o equipamento...'
 a_s_flash_flasherr = 'Falha na gravação'
 a_s_flash_fwimage = 'Imagem do firmware'
-a_s_flash_received = 'Imagem recebida. Durante o processo de gravação, NAO DESLIGUE O EQUIPAMENTO!'
+a_s_flash_received = 'Imagem recebida. Durante o processo de gravação, NÃO DESLIGUE O EQUIPAMENTO!'
 a_s_flash_inprogress = 'Gravando firmware...'
 a_s_flash_fwupgrade = 'Atualizar Firmware'
 a_s_flash_keepcfg = 'Manter arquivos de configuração'
 a_s_flash_notimplemented = 'Desculpe, esta função não está (ainda) disponível para sua plataforma.'
 a_s_flash_upgrade1 = 'Substitui o firmware instalado por um mais novo. O formato do firmware depende da plataforma.'
-a_s_reboot1 = 'Reinicia o sistema operacional do seu equipamento'
+a_s_reboot1 = 'Reinicia o seu equipamento'
 a_s_reboot_do = 'Executar reinicialização'
-a_s_reboot_running = 'Por favor aguarde: Esquipamento reiniciando...'
+a_s_reboot_running = 'Por favor aguarde: Equipamento reiniciando...'
 a_s_reboot_u = 'Aviso: Existem alterações não salvas que serão perdidas durante a reinicialização!'
 a_s_applyreboot1 = 'Alterações aplicadas.'
 a_s_backup = 'Backup / Restauração'
@@ -98,7 +98,7 @@ a_srv_http_config1 = 'padrão é <code>/etc/httpd.conf</code>'
 a_srv_http_root = 'Diretório raiz'
 a_srv_dropbear1 = 'Dropbear oferece um acesso shell seguro à rede <abbr title="Shell Seguro">(SSH)</abbr> e um servidor <abbr title="Cópia Segura">SCP</abbr> integrado'
 a_srv_d_pwauth = 'Autenticação por senha'
-a_srv_d_pwauth1 = 'Permitir <abbr title="Shell Seguro">SSH</abbr> autenticação por senha'
+a_srv_d_pwauth1 = 'Permitir autenticação <abbr title="Shell Seguro">SSH</abbr> por senha'
 a_w_channel = 'Canal'
 a_w_wifi1 = 'Nesta página você encontrará opções de configuração <abbr title="Wireless Local Area Network">WLAN</abbr> baseada em redes sem fio.'
 a_w_wifi2 = 'Você pode facilmente integrar seus equipamentos 802.11a/b/g/n com sua rede física e usar o adaptador virtual para construir repetidoras wireless ou oferecer várias redes com um equipamento.'
index 2c7f99f..d7bc74b 100644 (file)
@@ -19,7 +19,7 @@ function cbi_d_add(field, dep, next) {
                                "deps": []
                        };
                        cbi_d.unshift(entry);
-               }       
+               }
                entry.deps.push(dep)
        }
 }
@@ -27,17 +27,17 @@ function cbi_d_add(field, dep, next) {
 function cbi_d_checkvalue(target, ref) {
        var t = document.getElementById(target);
        var value;
-       
+
        if (!t || !t.value) {
                value = "";
        } else {
                value = t.value;
-               
+
                if (t.type == "checkbox") {
                        value = t.checked ? value : "";
                }
        }
-       
+
        return (value == ref)
 }
 
@@ -50,7 +50,7 @@ function cbi_d_check(deps) {
                if (istat) {
                        return true
                }
-       }               
+       }
 }
 
 function cbi_d_update() {
@@ -69,7 +69,7 @@ function cbi_d_update() {
                                parent.appendChild(entry.node);
                        } else {
                                next.parentNode.insertBefore(entry.node, next);
-                       }               
+                       }
                        state = (state || (node && node.parentNode))
                }
        }
@@ -100,16 +100,17 @@ function cbi_bind(obj, type, callback, mode) {
 }
 
 function cbi_combobox(id, values, def, man) {
-       var selid = "cbi.combobox." + id
+       var selid = "cbi.combobox." + id;
        if (document.getElementById(selid)) {
                return
        }
 
        var obj = document.getElementById(id)
        var sel = document.createElement("select");
-       sel.id = selid
+       sel.id = selid;
+       sel.className = 'cbi-input-select';
        if (obj.nextSibling) {
-               obj.parentNode.insertBefore(sel, obj.nextSibling);      
+               obj.parentNode.insertBefore(sel, obj.nextSibling);
        } else {
                obj.parentNode.appendChild(sel);
        }
@@ -165,4 +166,4 @@ function cbi_combobox_init(id, values, def, man) {
                cbi_combobox(id, values, def, man)
        });
        cbi_combobox(id, values, def, man);
-}
\ No newline at end of file
+}
index c2a0d43..c660662 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+cbi/valueheader%>
        <% if self:cfgvalue(section) ~= false then %>
-               <input<% if self.inputstyle then %> class="cbi-input-<%=self.inputstyle%>"<% end %> type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.title)%> />
+               <input class="cbi-input-<% self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.title)%> />
        <% else %>
                -
        <% end %>
index 6068314..a23a4eb 100644 (file)
@@ -18,11 +18,11 @@ $Id$
        for i=1, #vals + 1 do
                local val = vals[i]
 %>
-       <input value="<%=val%>" onchange="cbi_d_update(this.id)" type="text"<%= attr("id", cbid .. "." .. i) .. attr("name", cbid) .. ifattr(self.size, "size")%> />
+       <input class="cbi-input-text" value="<%=val%>" onchange="cbi_d_update(this.id)" type="text"<%= attr("id", cbid .. "." .. i) .. attr("name", cbid) .. ifattr(self.size, "size")%> />
        <% if i <= #vals then %>
-               <input type="image" value="<%:cbi_del%>" name="cbi.rle.<%=section .. "." .. self.option .. "." .. i%>" alt="<%:cbi_del%>" title="<%:cbi_del%>" src="<%=resource%>/cbi/remove.gif" />
+               <input class="cbi-input-image" type="image" value="<%:cbi_del%>" name="cbi.rle.<%=section .. "." .. self.option .. "." .. i%>" alt="<%:cbi_del%>" title="<%:cbi_del%>" src="<%=resource%>/cbi/remove.gif" />
        <% else %>
-               <input type="image" value="<%:cbi_add%>" name="cbi.ale.<%=section .. "." .. self.option%>" alt="<%:cbi_add%>" title="<%:cbi_add%>" src="<%=resource%>/cbi/add.gif" />
+               <input class="cbi-input-image" type="image" value="<%:cbi_add%>" name="cbi.ale.<%=section .. "." .. self.option%>" alt="<%:cbi_add%>" title="<%:cbi_add%>" src="<%=resource%>/cbi/add.gif" />
        <% end %>
        <% if #self.keylist > 0 then -%>
                <script type="text/javascript">
index 4c977e2..b46817c 100644 (file)
@@ -13,5 +13,5 @@ $Id$
 
 -%>
 <%+cbi/valueheader%>
-       <input onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr(self:cfgvalue(section) == self.enabled, "checked", "checked") %> value="1" />
+       <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr(self:cfgvalue(section) == self.enabled, "checked", "checked") %> value="1" />
 <%+cbi/valuefooter%>
index 6d658c2..c6b5412 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+cbi/valueheader%>
 <% if self.widget == "select" then %>
-       <select onchange="cbi_d_update(this.id)"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr(self.size, "size") %>>
+       <select class="cbi-input-select" onchange="cbi_d_update(this.id)"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr(self.size, "size") %>>
        <% for i, key in pairs(self.keylist) do -%>
                <option id="cbi-<%=self.config.."-"..section.."-"..self.option.."-"..key%>"<%= attr("value", key) .. ifattr(self:cfgvalue(section) == key, "selected", "selected") %>><%=striptags(self.vallist[i])%></option>
        <%- end %>
@@ -24,7 +24,7 @@ $Id$
        for i, key in pairs(self.keylist) do
        c = c + 1
 %>
-       <input onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="radio"<%= attr("id", cbid..c) .. attr("name", cbid) .. attr("value", key) .. ifattr(self:cfgvalue(section) == key, "checked", "checked") %> />
+       <input class="cbi-input-radio" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="radio"<%= attr("id", cbid..c) .. attr("name", cbid) .. attr("value", key) .. ifattr(self:cfgvalue(section) == key, "checked", "checked") %> />
        <label<%= attr("for", cbid..c) %>><%=self.vallist[i]%></label><br />
 <% if c == self.size then c = 0 %><br />
 <% end end %>
index 6378f72..949edea 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 
 <div class="cbi-map" id="cbi-<%=self.config%>">
-       <h1><%=self.title%></h1>
+       <h2><a id="content" name="content"><%=self.title%></a></h2>
        <div class="cbi-map-descr"><%=self.description%></div>
        <%- if self._apply then -%>
                <fieldset class="cbi-section">
index 414089f..3812a3f 100644 (file)
@@ -17,7 +17,7 @@ local v = self:valuelist(section) or {}
 %>
 <%+cbi/valueheader%>
 <% if self.widget == "select" then %>
-       <select multiple="multiple"<%= attr("name", cbid) .. ifattr(self.size, "size") %>>
+       <select class="cbi-input-select" multiple="multiple"<%= attr("name", cbid) .. ifattr(self.size, "size") %>>
        <% for i, key in pairs(self.keylist) do -%>
                <option<%= attr("value", key) .. ifattr(luci.util.contains(v, key), "selected", "selected") %>><%=striptags(self.vallist[i])%></option>
        <%- end %>
@@ -27,7 +27,7 @@ local v = self:valuelist(section) or {}
        for i, key in pairs(self.keylist) do
        c = c + 1
 %>
-       <input type="checkbox"<%= attr("id", cbid..c) .. attr("name", cbid) .. attr("value", key) .. ifattr(luci.util.contains(v, key), "checked", "checked") %> />
+       <input class="cbi-input-checkbox" type="checkbox"<%= attr("id", cbid..c) .. attr("name", cbid) .. attr("value", key) .. ifattr(luci.util.contains(v, key), "checked", "checked") %> />
        <label<%= attr("for", cbid..c) %>><%=self.vallist[i]%></label><br />
 <% if c == self.size then c = 0 %><br />
 <% end end %>
index 1106e8b..2a80723 100644 (file)
@@ -19,7 +19,7 @@ $Id$
                <input type="hidden" name="cbi.submit" value="1" />
        </div>
        <div class="cbi-map" id="cbi-<%=self.config%>">
-               <h1><%=self.title%></h1>
+               <h2><a id="content" name="content"><%=self.title%></a></h2>
                <div class="cbi-map-descr"><%=self.description%></div>
                <% self:render_children() %>
                <br />
index 4d92545..36782d8 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+cbi/valueheader%>
-       <textarea<% if not self.size then %> style="width: 100%"<% else %> cols="<%=self.size%>"<% end %> onchange="cbi_d_update(this.id)"<%= attr("name", cbid) .. attr("id", cbid) .. ifattr(self.rows, "rows") .. ifattr(self.wrap, "wrap") %>>
+       <textarea class="cbi-input-textarea" <% if not self.size then %> style="width: 100%"<% else %> cols="<%=self.size%>"<% end %> onchange="cbi_d_update(this.id)"<%= attr("name", cbid) .. attr("id", cbid) .. ifattr(self.rows, "rows") .. ifattr(self.wrap, "wrap") %>>
        <%-=luci.util.pcdata(self:cfgvalue(section))-%>
        </textarea>
 <%+cbi/valuefooter%>
index 9ffefc4..e6a7ab6 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+cbi/valueheader%>
-       <input type="<%=self.password and 'password" class="cbi-input-key' or "text"%>" onchange="cbi_d_update(this.id)"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self:cfgvalue(section)) .. ifattr(self.size, "size")%> />
+       <input type="<%=self.password and 'password" class="cbi-input-password' or 'text" class="cbi-input-text' %>" onchange="cbi_d_update(this.id)"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self:cfgvalue(section)) .. ifattr(self.size, "size")%> />
        <% if #self.keylist > 0 then -%>
        <script type="text/javascript">
                cbi_combobox_init('<%=cbid%>', {
diff --git a/libs/sgi-webuci/boa-patches/210-accept_fix.patch b/libs/sgi-webuci/boa-patches/210-accept_fix.patch
new file mode 100644 (file)
index 0000000..5a3bdf8
--- /dev/null
@@ -0,0 +1,15 @@
+Index: boa-0.94.13/src/request.c
+===================================================================
+--- boa-0.94.13.orig/src/request.c     2008-06-29 01:11:52.000000000 +0200
++++ boa-0.94.13/src/request.c  2008-10-07 18:10:59.000000000 +0200
+@@ -281,6 +281,10 @@
+     if (req->script_name)
+         free(req->script_name);
++#ifdef ACCEPT_ON
++    req->accept[0] = '\0';
++#endif
++
+     if ((req->keepalive == KA_ACTIVE) &&
+         (req->response_status < 500) && req->kacount > 0) {
+         int bytes_to_move;
index 1499015..bb90bde 100644 (file)
@@ -4,10 +4,10 @@ config core main
        option resourcebase /luci-static/resources
        
 config core brand
-       option title    "OpenWrt Kamikaze"
+       option title    "OpenWRT Kamikaze"
        option subtitle "Lua Configuration Interface"
-       option firmware "OpenWrt Kamikaze"
-       option distro   ""
+       option firmware "OpenWRT Kamikaze"
+       option distro   "Development Snapshot"
                
 config extern flash_keep
        option uci              "/etc/config/"
@@ -16,7 +16,8 @@ config extern flash_keep
        option passwd   "/etc/passwd"
        option opkg             "/etc/opkg.conf"
        option firewall "/etc/firewall.user"
-
+       option uploads  "/lib/uci/upload/"
+       
 config internal languages
        
 config internal sauth
index ca5a38e..ea20d1b 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:about%> LuCI</h1>
+<h2><a id="content" name="content"><%:about%> LuCI</a></h2>
 <p><%:c_lucidesc%></p>
 
 <p><strong><%:c_projecthome%>: </strong><a href="http://luci.freifunk-halle.net">luci.freifunk-halle.net</a></p>
index 956a685..4aa40f3 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1>404 Not Found</h1>
+<h2><a id="content" name="content">404 Not Found</a></h2>
 <p>Sorry, the object you requested was not found.</p>
 <tt>Unable to dispatch: <%=luci.http.request.env.PATH_INFO%></tt>
 <%+footer%>
\ No newline at end of file
index 8f3807d..982f9b9 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1>500 Internal Server Error</h1>
+<h2><a id="content" name="content">500 Internal Server Error</a></h2>
 <p>Sorry, the server encountered an unexpected error.</p>
 <pre class="error500"><%=message%></pre>
 <%+footer%>
index e48f414..4965240 100644 (file)
@@ -17,7 +17,7 @@ $Id$
 
 <form method="post" action="<%=REQUEST_URI%>">
        <div class="cbi-map">
-               <h1><%:sysauth_head%></h1>
+               <h2><a id="content" name="content"><%:sysauth_head%></a></h2>
                <div class="cbi-map-descr">
                        <%:sysauth_prompt%>
                        <%- if fuser then %>
@@ -35,7 +35,7 @@ $Id$
                        <div class="cbi-value">
                                <label class="cbi-value-title"><%:password%></label>
                                <div class="cbi-value-field">
-                                       <input class="cbi-input-key" type="password" name="password" />
+                                       <input class="cbi-input-password" type="password" name="password" />
                                </div>
                        </div>
                </fieldset></fieldset>
@@ -46,4 +46,4 @@ $Id$
                <input type="reset" value="<%:reset%>" class="cbi-button cbi-button-reset" />
        </div>
 </form>
-<%+footer%>
\ No newline at end of file
+<%+footer%>
index 4ea58c2..e6e963c 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:a_i_i_hello%></h1>
+<h2><a id="content" name="content"><%:a_i_i_hello%></a></h2>
 <p><%:a_i_i_admin1%></p>
 <p><%:a_i_i_admin2%><br />
 <%:a_i_i_admin3%></p>
index c0bd8b3..973e244 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:services%></h1>
+<h2><a id="content" name="content"><%:services%></a></h2>
 <p><%:a_srv_services1%></p>
 <p><%:a_srv_services2%></p>
 <%+footer%>
\ No newline at end of file
index e1f4b0e..e4c1cc4 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:status%></h1>
+<h2><a id="content" name="content"><%:status%></a></h2>
 <p><%:a_st_i_status1%></p>
 <p><%:a_st_i_status2%></p> 
 <%+footer%>
\ No newline at end of file
index f4873be..d5bf5d6 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:status%></h1>
-<h2><%:syslog%></h2>
+<h2><a id="content" name="content"><%:status%></a></h2>
+<h3><%:syslog%></h3>
 <div id="content_syslog">
 <textarea readonly="readonly" wrap="off" id="syslog"><%=luci.util.pcdata(syslog)%></textarea>
 </div>
index cbfa23d..1a1a24b 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
+<h2><a id="content" name="content"><%:system%></a></h2>
 <br />
 <p><% if msg then %><%=msg%><% else %><%:a_s_applyreboot1%><% end %></p>
 <p><%:a_s_reboot_running%></p>
index a288e0b..2db044d 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_backup%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:a_s_backup%></h3>
 <p><%:a_s_backup1%></p>
 <br />
 <div>
index 2794fd8..34b8212 100644 (file)
@@ -20,8 +20,8 @@ function rowstyle()
 end
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_packages%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:a_s_packages%></h3>
 
 <br />
 
index b7b10b5..f1656fb 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:reboot%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:reboot%></h3>
 <p><%:a_s_reboot1%></p>
 <%-
 local c = require("luci.model.uci").cursor():changes()
index a3d97d6..bbc5215 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_flash%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:a_s_flash%></h3>
 <p><%:a_s_flash_upgrade1%></p>
 <br />
 <% if sysupgrade and not ret then %>
index 9a9a063..8aa09c6 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:config%></h1>
+<h2><a id="content" name="content"><%:config%></a></h2>
 <p><%:uci_applied%>:</p>
 <code><%=(changes or "-")%>
 
index ab66b78..da0d9f1 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:config%></h1>
-<h2><%:changes%></h2>
+<h2><a id="content" name="content"><%:config%></a></h2>
+<h3><%:changes%></h3>
 <code><%=changes%></code>
 <br /><br />
 <form class="inline" method="get" action="<%=controller%>/admin/uci/apply">
index 7f98a04..553ec74 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:config%></h1>
+<h2><a id="content" name="content"><%:config%></a></h2>
 <p><%:uci_reverted%>:</p>
 <code><%=(changes or "-")%></code>
 <%+footer%>
\ No newline at end of file
index cbfa23d..1a1a24b 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
+<h2><a id="content" name="content"><%:system%></a></h2>
 <br />
 <p><% if msg then %><%=msg%><% else %><%:a_s_applyreboot1%><% end %></p>
 <p><%:a_s_reboot_running%></p>
index a288e0b..2db044d 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_backup%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:a_s_backup%></h3>
 <p><%:a_s_backup1%></p>
 <br />
 <div>
index c0b2080..127d36f 100644 (file)
@@ -12,7 +12,7 @@ You may obtain a copy of the License at
 $Id$
 
 -%>
-<h1><%:a_i_i_hello%></h1>
+<h2><a id="content" name="content"><%:a_i_i_hello%></a></h2>
 <p><%:a_i_i_admin1%></p>
 <p><%:a_i_i_admin2%><br />
 <%:a_i_i_admin3%></p>
index 9bf2d43..724e017 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:reboot%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:reboot%></h3>
 <p><%:a_s_reboot1%></p>
 <%-
 local c = require("luci.model.uci").cursor():changes()
index 9a9a063..8aa09c6 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:config%></h1>
+<h2><a id="content" name="content"><%:config%></a></h2>
 <p><%:uci_applied%>:</p>
 <code><%=(changes or "-")%>
 
index ae601aa..591ae69 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:config%></h1>
-<h2><%:changes%></h2>
+<h2><a id="content" name="content"><%:config%></a></h2>
+<h3><%:changes%></h3>
 <code><%=changes%></code>
 <br /><br />
 <form class="inline" method="get" action="<%=controller%>/mini/uci/apply">
index 7f98a04..553ec74 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:config%></h1>
+<h2><a id="content" name="content"><%:config%></a></h2>
 <p><%:uci_reverted%>:</p>
 <code><%=(changes or "-")%></code>
 <%+footer%>
\ No newline at end of file
index a3d97d6..bbc5215 100644 (file)
@@ -13,8 +13,8 @@ $Id$
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_flash%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:a_s_flash%></h3>
 <p><%:a_s_flash_upgrade1%></p>
 <br />
 <% if sysupgrade and not ret then %>
index 3596827..06177c2 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 <% local contact = luci.model.uci.cursor():get_all("freifunk", "contact") %>
-<h1><%:contact%></h1>
+<h2><a id="content" name="content"><%:contact%></a></h2>
 <table cellspacing="0" cellpadding="6">
        <tr><th><%:ff_nickname%>:</th><td><%=contact.nickname%></td></tr>
        <tr><th><%:ff_name%>:</th><td><%=contact.name%></td></tr>
index 2cf1f6f..49e8cd0 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 <% local ff = luci.model.uci.cursor():get_all("freifunk") %>
-<h1><%:ff_hellonet%> <%=ff.community.name or 'Freifunk Deutschland'%>!</h1>
+<h2><a id="content" name="content"><%:ff_hellonet%> <%=ff.community.name or 'Freifunk Deutschland'%>!</a></h2>
 <p><%:ff_public1%><br />
 <%:ff_public2%> <%=luci.sys.hostname()%>. <%:ff_public3%>
 <a href="<%=controller%>/public/index/contact"> <%=ff.contact.nickname%></a>.</p>
index 2c0004c..82d578f 100644 (file)
@@ -372,12 +372,19 @@ textarea#syslog {
        font-style: italic;
        font-family: Trebuchet MS, Verdana, sans-serif;
        color: #27408B;
+       background: url('../resources/cbi/arrow.gif') left no-repeat;
+    padding-left: 17px;
 }
 
 #maincontent p {
        margin-bottom: 1em;
 }
 
+#auth_buttons {
+       float: right;
+       padding-top: 0.5em;
+}
+
 .cbi-section {
        margin-bottom: 0.5em;
        padding: 0.5em 1em;
index c1d4dfc..f8ea5ad 100644 (file)
@@ -12,9 +12,10 @@ You may obtain a copy of the License at
 $Id$
 
 -%>
-               <br class="clear" />
-       </div>
+<div class="clear"></div>
+</div>
 
-       <div class="luci separator black whitetext bold"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " " .. luci.__version__%></a></div>
+<p class="luci"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " " .. luci.__version__%></a></p>
 </body>
 </html>
+