Commit bdf66d49 authored by Franco Fichtner's avatar Franco Fichtner

firewall: pimp schedule layout

parent a818fb3f
...@@ -114,11 +114,10 @@ $main_buttons = array( ...@@ -114,11 +114,10 @@ $main_buttons = array(
<div class="row"> <div class="row">
<?php if (isset($savemsg)) print_info_box($savemsg); ?> <?php if (isset($savemsg)) print_info_box($savemsg); ?>
<section class="col-xs-12"> <section class="col-xs-12">
<div class="content-box content-box-main "> <div class="content-box tab-content">
<form action="firewall_schedule.php" method="post" name="iform" id="iform"> <form action="firewall_schedule.php" method="post" name="iform" id="iform">
<input type="hidden" id="id" name="id" value="" /> <input type="hidden" id="id" name="id" value="" />
<input type="hidden" id="action" name="act" value="" /> <input type="hidden" id="action" name="act" value="" />
<div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
...@@ -246,13 +245,13 @@ $main_buttons = array( ...@@ -246,13 +245,13 @@ $main_buttons = array(
<?php <?php
$i++; $i++;
endforeach; ?> endforeach; ?>
<tr>
<td colspan="4">
<?=gettext("Schedules act as placeholders for time ranges to be used in Firewall Rules.");?>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div>
<div class="container-fluid">
<span class="text-danger"><strong><?=gettext("Note:");?><br /></strong></span>
<?=gettext("Schedules act as placeholders for time ranges to be used in Firewall Rules.");?>
</div>
</form> </form>
</div> </div>
</section> </section>
......
...@@ -780,10 +780,9 @@ function removeRow(el) { ...@@ -780,10 +780,9 @@ function removeRow(el) {
<div class="row"> <div class="row">
<?php if (isset($input_errors) && count($input_errors) > 0) print_input_errors($input_errors); ?> <?php if (isset($input_errors) && count($input_errors) > 0) print_input_errors($input_errors); ?>
<section class="col-xs-12"> <section class="col-xs-12">
<div class="content-box content-box-main"> <div class="content-box tab-content">
<form action="firewall_schedule_edit.php" method="post" name="iform" id="iform"> <form action="firewall_schedule_edit.php" method="post" name="iform" id="iform">
<input type="hidden" name="schedlabel" value="<?=$pconfig['schedlabel'];?>"/> <input type="hidden" name="schedlabel" value="<?=$pconfig['schedlabel'];?>"/>
<div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">
<tbody> <tbody>
<tr> <tr>
...@@ -991,18 +990,8 @@ function removeRow(el) { ...@@ -991,18 +990,8 @@ function removeRow(el) {
</td> </td>
</tr> </tr>
<tr> <tr>
<td></td> <th colspan="2" valign="top" class="listtopic"><?=gettext("Schedule repeat");?></td>
<td></td>
</tr> </tr>
</tbody>
</table>
<table class="table table-striped">
<thead>
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Schedule repeat");?></td>
</tr>
</thead>
<tbody>
<tr> <tr>
<td><?=gettext("Configured Ranges");?></td> <td><?=gettext("Configured Ranges");?></td>
<td> <td>
...@@ -1170,7 +1159,6 @@ function removeRow(el) { ...@@ -1170,7 +1159,6 @@ function removeRow(el) {
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</form> </form>
</div> </div>
</section> </section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment