diff --git a/views/index.ejs b/views/index.ejs index e0bb897..565439b 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -21,7 +21,7 @@ </script> </head> <body> -<% include navbar %> +<%- include('navbar.ejs') -%> <div class="container"> <h2>Cronjobs</h2> <div class="form-group"> @@ -99,7 +99,7 @@ </tbody> </table> </div> -<% include popup.ejs %> +<%- include('popup.ejs') -%> <script> jQuery(function($) { $('#main_table').DataTable({ diff --git a/views/restore.ejs b/views/restore.ejs index fa8aeb7..6947578 100644 --- a/views/restore.ejs +++ b/views/restore.ejs @@ -17,7 +17,7 @@ </script> </head> <body> -<% include navbar %> +<%- include('navbar.ejs') -%> <div class="container"> <h2><%= db %></h2> <table class="table"> @@ -60,6 +60,6 @@ <a class="btn btn-primary" onclick="restore_backup('<%= db %>')"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span> Restore</a> <a class="btn btn-danger" onclick="delete_backup('<%= db %>')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Delete</a> </div> -<% include popup.ejs %> +<%- include('popup.ejs') -%> </body> </html>