df177b8016ac draft — Arnaud Campeas[arnaud.campeas@pythonian.fr] a month ago
headers: change title and remove unnecessary CDNs
M rework_ui/rui_templates/rui_base.html +1 -1
@@ 1,7 1,7 @@ 
 <!doctype html>
 <html>
     <head>
-        <title>Rework Monitor</title>
+        <title>Tasks</title>
         <link rel="stylesheet" href="{{ url_for('reworkui.static', filename='style.css') }}">
     </head>
 

          
M rework_ui/rui_templates/taskerror.html +15 -4
@@ 1,6 1,16 @@ 
-{% extends "rui_base.html" %}
-{% block body %}
-
+<!doctype html>
+<html>
+  <head>
+    <title>Task Error</title>
+    <link
+        href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
+        rel="stylesheet"
+        integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
+        crossorigin="anonymous">
+    <link href="{{ url_style_menu_css}}" rel="stylesheet"/>
+    <script src="{{ url_js_menu_elm }}"></script>
+</head>
+<body>
 <style>
  {{css}}
 </style>

          
@@ 42,5 52,6 @@ 
  }
  menuapp.ports.loadMenuData.send(incache);
 </script>
+</body>
+</html>
 
-{% endblock %}

          
M rework_ui/rui_templates/taskinfo.html +1 -11
@@ 1,22 1,12 @@ 
 <!doctype html>
 <html>
     <head>
-        <title>"Rework Task Information"</title>
-        <script
-          src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
-          integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
-          crossorigin="anonymous">
-        </script>
+        <title>Task Info</title>
         <link
             href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
             rel="stylesheet"
             integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
             crossorigin="anonymous">
-        <script
-            src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
-            integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
-            crossorigin="anonymous">
-        </script>
         <link href="{{ url_style_menu_css}}" rel="stylesheet"/>
         <script src="{{ url_js_menu_elm }}"></script>
     </head>

          
M rework_ui/rui_templates/tasklogs.html +1 -11
@@ 1,22 1,12 @@ 
 <!doctype html>
 <html>
     <head>
-        <title>"Rework Task Log"</title>
-        <script
-          src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
-          integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
-          crossorigin="anonymous">
-        </script>
+        <title>Task Log</title>
         <link
             href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
             rel="stylesheet"
             integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
             crossorigin="anonymous">
-        <script
-            src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
-            integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
-            crossorigin="anonymous">
-        </script>
         <link href="{{ url_style_menu_css}}" rel="stylesheet"/>
         <script src="{{ url_js_menu_elm }}"></script>
     </head>