diff --git a/static/css/style.css b/static/css/style.css index 184b46d..9d37241 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -8,7 +8,7 @@ padding-left: 1.5rem; } -.deleted { +.deleted * { font-style: italic; - color: darkgrey; + color: darkgrey !important;; } \ No newline at end of file diff --git a/templates/job.html b/templates/job.html index 0faa4db..8142030 100644 --- a/templates/job.html +++ b/templates/job.html @@ -2,10 +2,13 @@ <% block content %>
-
-

Job '{{job.name}}'

+
+

+ Job '{{job.name}}' + Job '{{job.name}}' DELETED +

-
+
@@ -58,7 +61,11 @@ var action = message.action; if (action == "init_job" || action == "update_job") { + data.deleted = false; app.job = data; + } else if (action == "delete_job") { + Vue.set(app.job, "deleted", true); + Vue.set(app.job, "state", "deleted"); } }; })()
State{{job.state}}