forked from Krautspace/webseite-krautspace
ersten php-code in index.html eingebaut, in index.php umbenannt
This commit is contained in:
parent
2048026c27
commit
8a1dab5d15
1 changed files with 17 additions and 4 deletions
|
@ -1,6 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
|
||||
<?php
|
||||
try {
|
||||
include_once '../src/getContent.php';
|
||||
require_once '../src/getEvent.php';
|
||||
} catch (Exception $ex) {
|
||||
print_r($ex)
|
||||
}
|
||||
?>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="keywords" content="Hackspace, Jena, Technik, Elektronik,
|
||||
|
@ -38,9 +45,10 @@
|
|||
<div id="headline" class="flex-box row">
|
||||
<div id="header-left" class="flex-box row center">
|
||||
<div id="status-icon" class="icon">
|
||||
<img class="icon-img"
|
||||
<?php getKrautButton($status); ?>
|
||||
<!-- <img class="icon-img"
|
||||
alt="Raumstatus Icon - Raum ist geschlossen"
|
||||
src="./images/user-times.svg" />
|
||||
src="./images/icons/user-times.svg" /> -->
|
||||
</div>
|
||||
<div id="banner-div" class="flex-box column">
|
||||
<a id="banner" href="#"
|
||||
|
@ -161,6 +169,11 @@
|
|||
<li>Jitsi: <a
|
||||
href="https://kraut.space/lug">https://kraut.space/lug</a></li>
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
printEventList();
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<aside class="sidebar">
|
||||
|
@ -362,7 +375,7 @@
|
|||
title="Springe zum Seitenanfang">
|
||||
<img class="icon-img"
|
||||
alt="Pfeil nach oben"
|
||||
src="./images/arrow-up.svg" />
|
||||
src="./images/icons/arrow-up.svg" />
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in a new issue