3
0
mirror of http://git.frickel.earth/Tysox/BOS-Pinneberg.git synced 2025-12-15 22:34:22 +01:00

[+] fixed Bugs ins FrontEnd

This commit is contained in:
2018-03-02 11:50:13 +01:00
parent b4569550f0
commit a1ed1d6c80
8 changed files with 49 additions and 81 deletions

View File

@@ -1,5 +1,4 @@
<?php
include 'admin/config/config.inc.php';
$data = new Config();
@@ -43,8 +42,7 @@ if ($result->num_rows > 0) {
}
?>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
<div class="mdl-card mdl-cell mdl-cell--12-col">
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
<h4 style="text-align: center"><?php echo $row['Ort'] . " [" . $row['id']; ?>]</h4>
<table style="margin-left: auto; margin-right: auto"
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
@@ -62,16 +60,26 @@ if ($result->num_rows > 0) {
while ($frow = $fahrzeuge->fetch_assoc()) {
?>
<tr>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Fahrzeugtyp'] ?></td>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Fahrzeugtyp'] ?></td>
<?php if ($frow['Fahrzeugkennung'] == 0) {
?>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Organistationskennung'] ?></td>
<?php } else if ($frow['Fahrzeugkennung'] > 0) { ?>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Organistationskennung'] . " " . $row['id'] . "-" . $frow['Fahrzeugkennung'] ?></td>
</tr>
<?php
}
<?php }
} ?>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</section>
<?php }
<?php
}
} ?>

View File

@@ -6,7 +6,7 @@
* Time: 18:09
*/
?>
<?php include("../config/config.php");?>
<?php include("admin/config/config.inc.php");?>
<!doctype html>
<!--
Material Design Lite
@@ -62,6 +62,7 @@
</div>
<div class="mdl-layout--large-screen-only mdl-layout__header-row">
<h3>BOS Funk Pinneberg</h3>
</div>
<div class="mdl-layout--large-screen-only mdl-layout__header-row">
</div>
@@ -71,5 +72,9 @@
<a href="#polizei" class="mdl-layout__tab">Polizei</a>
<a href="#thw" class="mdl-layout__tab">THW</a>
<a href="#bos" class="mdl-layout__tab">BOS Funk</a>
<div class="mdl-layout-spacer"></div>
<button onclick="window.location.href='admin/login.php'" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon mdl--right" id="hdrbtn">
<i class="material-icons">exit_to_app</i>
</button>
</div>
</header>

View File

@@ -21,8 +21,7 @@ if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
?>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
<div class="mdl-card mdl-cell mdl-cell--12-col">
<div class="mdl-card__supporting-text">
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card__supporting-text">
<h4 style="text-align: center"><?php echo $row['Ort'] ." [". $row['id'];?>]</h4>
<table style="margin-left: auto; margin-right: auto" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
<thead>

View File

@@ -21,8 +21,7 @@ if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
?>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
<div class="mdl-card mdl-cell mdl-cell--12-col">
<div class="mdl-card__supporting-text">
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card__supporting-text">
<h4 style="text-align: center"><?php echo $row['Ort'] ." [". $row['id'];?>]</h4>
<table style="margin-left: auto; margin-right: auto" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
<thead>

View File

@@ -18,8 +18,7 @@ if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
?>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
<div class="mdl-card mdl-cell mdl-cell--12-col">
<div class="mdl-card__supporting-text">
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card__supporting-text">
<h4 style="text-align: center"><?php echo $row['Ort'] ." [". $row['id'];?></h4>
<table style="margin-left: auto; margin-right: auto" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
<thead>