modules/admin-full: style fixes for iptables status page, restrict options column...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:37:07 +0000 (13:37 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:37:07 +0000 (13:37 +0000)
modules/admin-full/luasrc/view/admin_status/iptables.htm

index 2b8f12ccc2c0f2ad3fc5e554ef81056ca4a5585a..60a498fad0e77e264a7a5fde60045ffef314a875 100644 (file)
@@ -91,7 +91,7 @@ $Id$
                                                        <th class="cbi-section-table-cell"><%:a_s_ipt_outputif Out%></th>
                                                        <th class="cbi-section-table-cell"><%:a_s_ipt_source Source%></th>
                                                        <th class="cbi-section-table-cell"><%:a_s_ipt_destination Destination%></th>
-                                                       <th class="cbi-section-table-cell"><%:a_s_ipt_options Options%></th>
+                                                       <th class="cbi-section-table-cell" style="width:30%"><%:a_s_ipt_options Options%></th>
                                                </tr>
 
                                                <% for _, rule in ipairs(ipt:find({table=tbl, chain=chain})) do %>
@@ -106,7 +106,7 @@ $Id$
                                                                <td><%=link_iface(rule.outputif)%></td>
                                                                <td><%=rule.source%></td>
                                                                <td><%=rule.destination%></td>
-                                                               <td><small><%=#rule.options > 0 and table.concat(rule.options, " ") or "-"%></small></td>
+                                                               <td style="width:30%"><small><%=#rule.options > 0 and table.concat(rule.options, " ") or "-"%></small></td>
                                                        </tr>
                                                <% end %>