Commit 0b3e9df0 authored by Jos Schellevis's avatar Jos Schellevis

index changes

parent 04f5d72a
...@@ -276,7 +276,6 @@ function addWidget(selectedDiv){ ...@@ -276,7 +276,6 @@ function addWidget(selectedDiv){
container.show(); container.show();
showSave(); showSave();
state.val('show'); state.val('show');
} }
function configureWidget(selectedDiv){ function configureWidget(selectedDiv){
...@@ -324,7 +323,6 @@ function closeWidget(selectedDiv){ ...@@ -324,7 +323,6 @@ function closeWidget(selectedDiv){
state = $('#'+selectedDiv+'-config'); state = $('#'+selectedDiv+'-config');
showSave(); showSave();
widget.hide(); widget.hide();
state.val('close'); state.val('close');
} }
...@@ -431,8 +429,7 @@ echo $jscriptstr; ...@@ -431,8 +429,7 @@ echo $jscriptstr;
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<form action="<?=$_SERVER['REQUEST_URI'];?>" method="post" id="iform">
<input type="hidden" value="" name="sequence" id="sequence" />
<?php <?php
/* Print package server mismatch warning. See https://redmine.pfsense.org/issues/484 */ /* Print package server mismatch warning. See https://redmine.pfsense.org/issues/484 */
if (!verify_all_package_servers()) if (!verify_all_package_servers())
...@@ -533,7 +530,8 @@ echo $jscriptstr; ...@@ -533,7 +530,8 @@ echo $jscriptstr;
?> ?>
<section class="col-xs-12 col-md-6 widgetdiv" id="<?php echo $widgetname;?>" style="display:<?php echo $divdisplay; ?>;"> <section class="col-xs-12 col-md-6 widgetdiv" id="<?php echo $widgetname;?>" style="display:<?php echo $divdisplay; ?>;">
<div class="content-box"> <div class="content-box">
<form action="<?=$_SERVER['REQUEST_URI'];?>" method="post" id="iform">
<input type="hidden" value="" name="sequence" id="sequence" />
<header class="content-box-head container-fluid"> <header class="content-box-head container-fluid">
<ul class="list-inline __nomb"> <ul class="list-inline __nomb">
...@@ -564,6 +562,7 @@ echo $jscriptstr; ...@@ -564,6 +562,7 @@ echo $jscriptstr;
} }
?> ?>
</h3></li> </h3></li>
<li class="pull-right"> <li class="pull-right">
<div class="btn-group"> <div class="btn-group">
<button type="button" class="btn btn-default btn-xs" title="minimize" id="<?php echo $widgetname;?>-min" onclick='return minimizeWidget("<?php echo $widgetname;?>",true)' style="display:<?php echo $mindiv; ?>;"><span class="glyphicon glyphicon-minus"></span></button> <button type="button" class="btn btn-default btn-xs" title="minimize" id="<?php echo $widgetname;?>-min" onclick='return minimizeWidget("<?php echo $widgetname;?>",true)' style="display:<?php echo $mindiv; ?>;"><span class="glyphicon glyphicon-minus"></span></button>
...@@ -578,10 +577,11 @@ echo $jscriptstr; ...@@ -578,10 +577,11 @@ echo $jscriptstr;
</li> </li>
</ul> </ul>
</header> </header>
</form>
<div class="content-box-main collapse in" id="<?php echo $widgetname;?>-container" style="display:<?=$mindiv;?>"> <div class="content-box-main collapse in" id="<?php echo $widgetname;?>-container" style="display:<?=$mindiv;?>">
<input type="hidden" value="<?php echo $inputdisplay;?>" id="<?php echo $widgetname;?>-config" name="<?php echo $widgetname;?>-config" /> <input type="hidden" value="<?php echo $inputdisplay;?>" id="<?php echo $widgetname;?>-config" name="<?php echo $widgetname;?>-config" />
<?php if ($divdisplay != "block") { ?> <?php if ($divdisplay != "block") { ?>
<div id="<?php echo $widgetname;?>-loader" style="display:<?php echo $display; ?>;" align="center"> <div id="<?php echo $widgetname;?>-loader" style="display:<?php echo $display; ?>;" align="center">
<br /> <br />
...@@ -599,8 +599,9 @@ echo $jscriptstr; ...@@ -599,8 +599,9 @@ echo $jscriptstr;
</div> </div>
</div> </div>
</section> </section>
<? } //end foreach ?> <? } //end foreach ?>
</form>
</div> </div>
</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