added styles for tables
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
<?php
|
|
||||||
@@ -44,4 +44,26 @@ h1 {
|
|||||||
|
|
||||||
h1 span{
|
h1 span{
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.table-div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.table-div table{
|
||||||
|
table-layout: flex;
|
||||||
|
display: block;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.table-div th,td {
|
||||||
|
border: 1px solid;
|
||||||
|
padding-left: 2.5vw;
|
||||||
|
padding-right: 2.5vw;
|
||||||
|
padding-bottom: 0.5vw;
|
||||||
}
|
}
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
<header>
|
<header>
|
||||||
<section>
|
<section>
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<img src="Bilder/Jugendfeuerwehr-Altdorf.gif" alt="">
|
Punktesystem-KSP
|
||||||
Punktesystem-KSP</div>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="index.php">Home</a>
|
<a href="index.php">Home</a>
|
||||||
<a href="mannschaft.php">Mannschaftsverwaltung</a>
|
<a href="mannschaft.php">Mannschaftsverwaltung</a>
|
||||||
|
|||||||
16
app/scripts/database_queries.php
Normal file
16
app/scripts/database_queries.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
function get_Station() {
|
||||||
|
try {
|
||||||
|
$dbh = new PDO('mysql:host=mysql;dbname=ksp', 'grisu', 'secret');
|
||||||
|
foreach($dbh->query('SELECT * from Station') as $row) {
|
||||||
|
print_r($row);
|
||||||
|
}
|
||||||
|
$dbh = null;
|
||||||
|
} catch(PDOException $e) {
|
||||||
|
print "Error!: " . $e->getMessage() . "<br/>";
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -7,6 +7,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
|
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
|
||||||
- ./app:/app
|
- ./app:/app
|
||||||
|
links:
|
||||||
|
- php
|
||||||
|
- mysql
|
||||||
php:
|
php:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|||||||
Reference in New Issue
Block a user