Commit 7a670d65 authored by Ad Schellevis's avatar Ad Schellevis

(dashboard, widget) spacing and small layout changes in ntp_status.widget.php,...

(dashboard, widget) spacing and small layout changes in ntp_status.widget.php, very anchient and unreadable code.... not spending more time on this now
parent b9333627
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
$nocsrf = true;
require_once("guiconfig.inc"); require_once("guiconfig.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("widgets/include/ntp_status.inc"); require_once("widgets/include/ntp_status.inc");
...@@ -125,7 +123,7 @@ if ($_REQUEST['updateme']) { ...@@ -125,7 +123,7 @@ if ($_REQUEST['updateme']) {
} }
?> ?>
<table class="table table-striped" width="100%" border="0" cellspacing="0" cellpadding="0" summary="clock"> <table >
<tbody> <tbody>
<tr> <tr>
<td width="40%" class="vncellt">Sync Source</td> <td width="40%" class="vncellt">Sync Source</td>
...@@ -465,7 +463,7 @@ function clockUpdate() ...@@ -465,7 +463,7 @@ function clockUpdate()
</script> </script>
<table class="table table-striped" width="100%" border="0" cellspacing="0" cellpadding="0" summary="clock"> <table class="table table-striped table-condensed">
<tbody> <tbody>
<tr> <tr>
<td width="40%" class="vncellt">Server Time</td> <td width="40%" class="vncellt">Server Time</td>
...@@ -475,20 +473,14 @@ function clockUpdate() ...@@ -475,20 +473,14 @@ function clockUpdate()
</div> </div>
</td> </td>
</tr> </tr>
</tbody>
</table>
<div id='ntpstatus'>
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="clock">
<tbody>
<tr> <tr>
<td width="100%" class="listr"> <td colspan="2" id="ntpstatus">
Updating... <?=gettext("Updating...");?>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
<script type="text/javascript"> <script type="text/javascript">
function ntp_getstatus() { function ntp_getstatus() {
......
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