The follow fixes the zonebadge issue.
1) When you select the firewall subsection in a interface the
zonebadge height makes it impossible to see anything you type. Setting
it to a value of 2em instead of 1 in cascade.css fixes it.
2) The Bootstrap menu makes it difficult to use due to the menu being
hyperlinked repeated to the first child.
The patch in header.htm removes the hyperlink and the patch in
cascade.css restores the original pointer behaviour.
Tested and Debugged on Linux Firefox 22 64bit.

Index: trunk/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm
===================================================================
--- trunk/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm      (trunk)
+++ trunk/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm      (working
copy)
@@ -154,7 +154,7 @@ You may obtain a copy of the License at
                 if #grandchildren > 0 then
        %>
         <li class="dropdown">
-            <a class="menu"
href="<%=pcdata(href)%>"><%=pcdata(striptags(translate(nnode.title)))%></a>
+            <a
class="menu">"><%=pcdata(striptags(translate(nnode.title)))%></a>
             <%- submenu("/" .. category .. "/" .. r .. "/", nnode) %>
         </li>
        <%          else %>
Index: trunk/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
===================================================================
--- trunk/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css     (trunk)
+++ trunk/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css     (working
copy)
@@ -814,6 +814,7 @@ header div > ul > li, .nav > li {
 }

 header div > ul a, .nav a {
+       cursor: pointer;
        display: block;
        float: none;
        padding: 10px 10px 11px;
@@ -1848,7 +1849,7 @@ table.cbi-section-table td.cbi-section-t

 .zonebadge input {
        width: 6em;
-       height: 1em;
+       height: 2em;
 }

 .zonebadge-empty {
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to