From 9f3e140b2972dda38c0060876a6f822e3b3e1a3a Mon Sep 17 00:00:00 2001 From: TimZ99 Date: Thu, 26 Sep 2019 12:47:55 +0200 Subject: [PATCH] Changed file path to new path Moved to src/templates/default/static. Should have been in b0ea45a. --- manifest.json | 2 +- service-worker.js | 14 +++---- src/templates/default/main/body.tpl.html | 40 +++++++++---------- .../default/module/install/main.tpl.html | 2 +- .../default/module/server/history.tpl.html | 6 +-- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/manifest.json b/manifest.json index 28ca7456..060285ba 100755 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "PHP Server Monitor", "short_name": "PSM", "icons": [{ - "src": "static/phpservermon.png", + "src": "phpservermon.png", "sizes": "128x128", "type": "image/png" }, { diff --git a/service-worker.js b/service-worker.js index f887bf12..3d0a4edb 100755 --- a/service-worker.js +++ b/service-worker.js @@ -3,13 +3,13 @@ var cacheName = 'PSM-PWA-final-1'; var filesToCache = [ '/', 'index.php', - 'static/js/history.js', - 'static/js/scripts.js', - 'static/js/search.js', - 'static/css/bootstrap.min.css', - 'static/css/search.min.css', - 'static/css/style.min.css', - 'static/phpservermon.png' + 'src/templates/default/static/js/history.js', + 'src/templates/default/static/js/scripts.js', + 'src/templates/default/static/js/search.js', + 'src/templates/default/static/css/bootstrap.min.css', + 'src/templates/default/static/css/search.min.css', + 'src/templates/default/static/css/style.min.css', + 'phpservermon.png' ]; self.addEventListener('install', function(e) { diff --git a/src/templates/default/main/body.tpl.html b/src/templates/default/main/body.tpl.html index 64de846b..35168a6d 100644 --- a/src/templates/default/main/body.tpl.html +++ b/src/templates/default/main/body.tpl.html @@ -12,8 +12,8 @@ - - + + @@ -21,9 +21,9 @@ - - - + + + @@ -75,21 +75,21 @@ {% endblock %} {% endif %} - - - - - - - - - - {% if html_modal|raw %}{% endif %} - - - - - + + + + + + + + + + {% if html_modal|raw %}{% endif %} + + + + + \ No newline at end of file diff --git a/src/templates/default/module/install/main.tpl.html b/src/templates/default/module/install/main.tpl.html index bdb96f88..61664db3 100644 --- a/src/templates/default/module/install/main.tpl.html +++ b/src/templates/default/module/install/main.tpl.html @@ -1,7 +1,7 @@
- PHPServerMonitor - home + PHPServerMonitor - home

 PHP Server Monitor

diff --git a/src/templates/default/module/server/history.tpl.html b/src/templates/default/module/server/history.tpl.html index 61e602ad..7f76bc69 100644 --- a/src/templates/default/module/server/history.tpl.html +++ b/src/templates/default/module/server/history.tpl.html @@ -1,5 +1,5 @@ - - + + {% for graph in graphs %}
Your browser does not support the canvas element. @@ -146,7 +146,7 @@ \ No newline at end of file