mobile fix + new screnshots

This commit is contained in:
Jokob-sk
2022-12-27 12:42:40 +11:00
parent ca8042c2e9
commit b34a2d60e3
37 changed files with 50 additions and 33 deletions

View File

@@ -100,6 +100,24 @@
color: gray;
}
.header-server-time
{
padding:8px;
color: white;
}
.header-status
{
padding:0px;
}
.header-status:hover
{
background-color: rgba(0, 0, 0, 0);
}
.navbar-nav > li > a
{
line-height: 30px;
}
/* -----------------------------------------------------------------------------
Customized Main Menu
----------------------------------------------------------------------------- */

View File

@@ -215,8 +215,6 @@ if ($_SESSION["login"] != 1)
</div>
</div>
<div style="width: 100%; height: 20px;"></div>
</section>
<!-- /.content -->
</div>

View File

@@ -417,13 +417,6 @@ if (submit && isset($_POST['skinselector_set'])) {
</div>
<div style="width: 100%; height: 20px;"></div>
<!-- ----------------------------------------------------------------------- -->
</section>
<!-- /.content -->

View File

@@ -68,7 +68,7 @@
$str_tab_header = '<li class="'.$activetab.'">
<a href="#'.str_replace(":", "_", $node_mac).'" data-toggle="tab">'
<a href="#'.str_replace(":", "_", $node_mac).'" data-toggle="tab" >'
.$node_name.' ' .$str_port.$node_badge.
'</a>
</li>';
@@ -98,10 +98,10 @@
<table class="table table-striped" style="width:200px;">
<tbody>
<tr>
<td>
<td >
<b>MAC:</b>
</td>
<td>'
<td class="anonymize">'
.$node_mac.
'</td>
</tr>
@@ -127,7 +127,7 @@
</td>
<td>
<a href="./deviceDetails.php?mac='.$node_parent_mac.'">
<b>'.$node_parent_mac.'</b>
<b class="anonymize">'.$node_parent_mac.'</b>
</a>
</td>
</tr>
@@ -218,10 +218,10 @@
'</td>
<td style="padding-left: 10px;">
<a href="./deviceDetails.php?mac='.$row['mac'].'">
<b>'.$row['name'].'</b>
<b class="anonymize">'.$row['name'].'</b>
</a>
</td>
<td>'
<td class="anonymize">'
.$row['last_ip'].
'</td>
</tr>';
@@ -407,7 +407,7 @@
'</td>
<td style="padding-left: 10px;">
<a href="./deviceDetails.php?mac='.$row['mac'].'">
<b>'.$row['name'].'</b>
<b class="anonymize">'.$row['name'].'</b>
</a>
</td>
<td>'

View File

@@ -10,6 +10,7 @@
// External files
require '/home/pi/pialert/front/php/templates/timezone.php';
require '/home/pi/pialert/front/php/templates/language/lang.php';
require '/home/pi/pialert/front/php/server/db.php';
require '/home/pi/pialert/front/php/server/util.php';

View File

@@ -137,9 +137,19 @@ if ($ENABLED_DARKMODE === True) {
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Server Status -->
<li><a onclick="setCache('activeMaintenanceTab', 'tab_Logging_id')" href="/maintenance.php#tab_Logging"><code id="state"></code></a></li>
<li>
<a onclick="setCache('activeMaintenanceTab', 'tab_Logging_id')" href="/maintenance.php#tab_Logging">
<div class="header-status">
<code id="state"></code>
</div>
</a>
</li>
<!-- Server Name -->
<li><a style="pointer-events:none;"><?php echo gethostname();?> <span id="PIA_Servertime_place"></span></a></li>
<li>
<div class="header-server-time small">
<div><?php echo gethostname();?></div> <div><span id="PIA_Servertime_place"></span></div>
</div>
</li>
<!-- Header right info -->
<li class="dropdown user user-menu">