Merge pull request #82 from phl0/devel

Use monospaced font for tables
This commit is contained in:
Kim - DG9VH 2017-01-18 09:21:32 +01:00 committed by GitHub
commit 3ef43d7e2c
6 changed files with 20 additions and 3 deletions

14
css/monospacetables.css Normal file
View file

@ -0,0 +1,14 @@
.localTx {
font-family: monospace;
font-size: 14px;
}
.lastHeard {
font-family: monospace;
font-size: 14px;
}
.curTx {
font-family: monospace;
font-size: 14px;
}

View file

@ -375,6 +375,7 @@ function getHeardList($logLines, $onlyLast) {
$target = substr($logLine, $topos + 3); $target = substr($logLine, $topos + 3);
$target = preg_replace('/\s/', ' ', $target);
$source = "RF"; $source = "RF";
if (strpos($logLine,"network") > 0 ) { if (strpos($logLine,"network") > 0 ) {
$source = "Net"; $source = "Net";

View file

@ -6,7 +6,7 @@ $totalLH = count($lastHeard);
<div class="panel-heading">Last Heard List of today's <?php echo $totalLH; ?> callsigns.</div> <div class="panel-heading">Last Heard List of today's <?php echo $totalLH; ?> callsigns.</div>
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="lastHeard" class="table table-condensed table-striped table-hover"> <table id="lastHeard" class="table lastHeard table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Time (<?php echo TIMEZONE;?>)</th> <th>Time (<?php echo TIMEZONE;?>)</th>

View file

@ -6,7 +6,7 @@ $totalLH = count($lastHeard);
<div class="panel-heading">Today's local transmissions</div> <div class="panel-heading">Today's local transmissions</div>
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="localTx" class="table table-condensed table-striped table-hover"> <table id="localTx" class="table localTx table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Time (<?php echo TIMEZONE;?>)</th> <th>Time (<?php echo TIMEZONE;?>)</th>

View file

@ -3,7 +3,7 @@
<div class="panel-heading">Currently TXing</div> <div class="panel-heading">Currently TXing</div>
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="currtx" class="table table-condensed table-striped table-hover"> <table id="currtx" class="table curTx table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Time (<?php echo TIMEZONE;?>)</th> <th>Time (<?php echo TIMEZONE;?>)</th>

View file

@ -23,6 +23,8 @@ include "version.php";
<meta name="viewport" content="width=device-width, initial-scale=0.6,maximum-scale=1, user-scalable=yes"> <meta name="viewport" content="width=device-width, initial-scale=0.6,maximum-scale=1, user-scalable=yes">
<!-- CSS for tooltip display --> <!-- CSS for tooltip display -->
<link rel="stylesheet" href="css/tooltip.css"> <link rel="stylesheet" href="css/tooltip.css">
<!-- CSS for monospaced fonts in tables -->
<link rel="stylesheet" href="css/monospacetables.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script>
<!-- Das neueste kompilierte und minimierte CSS --> <!-- Das neueste kompilierte und minimierte CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">