From e7f37351a70702ca3495d04d6c491ad67f231f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Thu, 18 Aug 2016 18:26:58 +0200 Subject: [PATCH] Annulations sur K-Psul MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ajout de l'annulation depuis l'historique - La view kpsul_perform_operations envoie le statut cof pour le websocket. Cela sert à l'affichage de l'historique --- kfet/static/kfet/css/kpsul.css | 12 +++++++++ kfet/templates/kfet/kpsul.html | 45 ++++++++++++++++++++++++++++------ kfet/views.py | 3 ++- 3 files changed, 51 insertions(+), 9 deletions(-) diff --git a/kfet/static/kfet/css/kpsul.css b/kfet/static/kfet/css/kpsul.css index c3e248b8..3a427c23 100644 --- a/kfet/static/kfet/css/kpsul.css +++ b/kfet/static/kfet/css/kpsul.css @@ -320,3 +320,15 @@ input[type=number]::-webkit-outer-spin-button { background-color:#C8102E; color:#FFF; } + +/* History */ + +#history div.general.ui-selected, #history div.general.ui-selecting, +#history div.ope.ui-selected, #history div.ope.ui-selecting { + background-color:#C8102E; + color:#FFF; +} + +#history .canceled { + text-decoration:line-through; +} diff --git a/kfet/templates/kfet/kpsul.html b/kfet/templates/kfet/kpsul.html index 37ba3e5b..9ecaf342 100644 --- a/kfet/templates/kfet/kpsul.html +++ b/kfet/templates/kfet/kpsul.html @@ -88,7 +88,7 @@
-
+
@@ -98,8 +98,6 @@