diff options
author | Colin Fleming <cj_fleming@sky.com> | 2015-12-01 12:08:17 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2015-12-01 12:08:17 +0000 |
commit | 7a058bd969acc6f26bdfa84ba08f18337ccc7cb0 (patch) | |
tree | d1c9e154e29b88c9b99e09590335b9bbdbf2d4e7 /src | |
parent | 1c2b6edfcae2d943858d54370a53ca851a316bad (diff) | |
download | pfsense-7a058bd969acc6f26bdfa84ba08f18337ccc7cb0.zip pfsense-7a058bd969acc6f26bdfa84ba08f18337ccc7cb0.tar.gz |
Tidy up "firewall_nat_npt.php"
Remove stray double quote on disabled statement
Add type and CDATA section to SCRIPT
Swap closing DIV and FORM tags
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/firewall_nat_npt.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_nat_npt.php b/src/usr/local/www/firewall_nat_npt.php index e63fb30..6f6c426 100644 --- a/src/usr/local/www/firewall_nat_npt.php +++ b/src/usr/local/www/firewall_nat_npt.php @@ -174,21 +174,22 @@ endforeach; ?> </tbody> </table> -</div> +</form> <nav class="action-buttons"> <a href="firewall_nat_npt_edit.php" class="btn btn-sm btn-success"> <i class="fa fa-plus icon-embed-btn"></i> <?=gettext("Add")?> </a> - <button type="submit" id="order-store" class="btn btn-primary btn-sm" value="store changes" disabled"> + <button type="submit" id="order-store" class="btn btn-primary btn-sm" value="store changes" disabled> <i class="fa fa-save icon-embed-btn"></i> <?=gettext("Save")?> </button> </nav> -</form> -<script> +</div> +<script type="text/javascript"> +//<![CDATA[ events.push(function() { // Make rules draggable/sortable $('table tbody.user-entries').sortable({ @@ -198,6 +199,7 @@ events.push(function() { } }); }); +//]]> </script> <?php |