Add PathPrefix column to the server list

This commit is contained in:
Isaac Connor 2018-07-09 14:36:46 -04:00
parent e98578b2d7
commit 0b4d76f931
1 changed files with 12 additions and 10 deletions

View File

@ -206,6 +206,7 @@ foreach( array_map( 'basename', glob('skins/'.$current_skin.'/css/*',GLOB_ONLYDI
<tr>
<th class="colName"><?php echo translate('Name') ?></th>
<th class="colHostname"><?php echo translate('Hostname') ?></th>
<th class="colPathPrefix"><?php echo translate('PathPrefix') ?></th>
<th class="colStatus"><?php echo translate('Status') ?></th>
<th class="colMonitorCount"><?php echo translate('Monitors') ?></th>
<th class="colCpuLoad"><?php echo translate('CpuLoad') ?></th>
@ -224,6 +225,7 @@ foreach( array_map( 'basename', glob('skins/'.$current_skin.'/css/*',GLOB_ONLYDI
<tr>
<td class="colName"><?php echo makePopupLink('?view=server&amp;id='.$row['Id'], 'zmServer', 'server', validHtmlStr($row['Name']), $canEdit) ?></td>
<td class="colHostname"><?php echo makePopupLink('?view=server&amp;id='.$row['Id'], 'zmServer', 'server', validHtmlStr($row['Hostname']), $canEdit) ?></td>
<td class="colPathPrefix"><?php echo makePopupLink('?view=server&amp;id='.$row['Id'], 'zmServer', 'server', validHtmlStr($row['PathPrefix']), $canEdit) ?></td>
<td class="colStatus
<?php if ( $row['Status'] == 'NotRunning' ) { echo 'danger'; } ?>
"><?php echo makePopupLink('?view=server&amp;id='.$row['Id'], 'zmServer', 'server', validHtmlStr($row['Status']), $canEdit) ?></td>