modules/admin-full: use firewall picker in interface config pages
[project/luci.git] / modules / admin-full / luasrc / view / admin_status / iptables.htm
index b0153b7..b8f664c 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 %>
@@ -99,14 +99,14 @@ $Id$
                                                                <td><%=rule.index%></td>
                                                                <td><%=rule.packets%></td>
                                                                <td><%=wba.byte_format(rule.bytes)%></td>
-                                                               <td><%=link_target(tbl, rule.target)%></td>
+                                                               <td><%=rule.target and link_target(tbl, rule.target) or "-"%></td>
                                                                <td><%=rule.protocol%></td>
                                                                <td><%=rule.flags%></td>
                                                                <td><%=link_iface(rule.inputif)%></td>
                                                                <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 luci.util.pcdata(table.concat(rule.options, " ")) or "-"%></small></td>
                                                        </tr>
                                                <% end %>