Browse code

Diverse Änderungen im internen Bereich

Bernd Wurst authored on14/06/2020 18:17:06
Showing1 changed files
... ...
@@ -16,7 +16,7 @@
16 16
     <link href="assets/style.css" rel="stylesheet">
17 17
     <script src="assets/script.js"></script>
18 18
     <?php
19
-    $f = 'assets/'.str_replace('.php','.js', $_SERVER['PHP_SELF']);
19
+    $f = 'assets/'.str_replace('.php','.js', basename($_SERVER['PHP_SELF']));
20 20
     if (file_exists($f)) {
21 21
       echo '<script src="'.$f.'"></script>';
22 22
     }
Browse code

erster stub für internes Webinterface

Bernd Wurst authored on10/06/2020 18:22:57
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,40 @@
1
+<!DOCTYPE html>
2
+<html lang="de">
3
+  <head>
4
+    <meta charset="utf-8">
5
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+    <meta name="viewport" content="width=device-width, initial-scale=1">
7
+    <title>Mosterei Wurst - Arbeitsplatz</title>
8
+
9
+    <script src="/assets/jquery.js"></script>
10
+    <script src="/assets/jquery-ui/jquery-ui.min.js"></script>
11
+    <link href="/assets/jquery-ui/jquery-ui.min.css" rel="stylesheet">
12
+    <script src="/assets/fontawesome/svg-with-js/js/fontawesome-all.min.js"></script>
13
+    <link href="/assets/fontawesome/svg-with-js/css/fa-svg-with-js.css" rel="stylesheet">
14
+    <script src="/assets/bootstrap/js/bootstrap.min.js"></script>
15
+    <link href="/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
16
+    <link href="assets/style.css" rel="stylesheet">
17
+    <script src="assets/script.js"></script>
18
+    <?php
19
+    $f = 'assets/'.str_replace('.php','.js', $_SERVER['PHP_SELF']);
20
+    if (file_exists($f)) {
21
+      echo '<script src="'.$f.'"></script>';
22
+    }
23
+    ?>
24
+   </head>
25
+  <body>
26
+    <div id="banner" class="mb-3">
27
+        <div id="banner-back">
28
+<?php if (isset($previous)) { ?>
29
+       <a href="<?= $previous ?>"><img src="/assets/images/back.svg" width="65" height="65" alt="<"></a>
30
+<?php } ?>
31
+        </div>
32
+        <div id="banner-headline"><h1><?= $headline ?></h1></div>
33
+        <div id="banner-clear"></div>
34
+     </div>
35
+  <div class="container">
36
+    <?= $content ?>
37
+  </div>
38
+ 
39
+ </body>
40
+</html>