From 323563cedae50dad25c531e90fcda17f9e459feb Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 8 Jul 2019 14:54:52 +0400 Subject: =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=B4=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=BF=D0=BE=D0=BB=D0=B5=D0=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- day9/task5/static/js/editForm.js | 86 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) (limited to 'day9/task5/static/js/editForm.js') diff --git a/day9/task5/static/js/editForm.js b/day9/task5/static/js/editForm.js index f3f2bd8..8107159 100644 --- a/day9/task5/static/js/editForm.js +++ b/day9/task5/static/js/editForm.js @@ -1,3 +1,89 @@ +const baseFormFields = `
+
+
service_id
+
+
+ +
+
servtype
+
+ +
+
+ +
+
subtype
+
+ +
+
+ +
+
user_id
+
+ +
+
+ +
+
referrer_user_id
+
+ +
+
+ +
+
state
+
+ +
+
+ +
+
creation_date
+
+ +
+
+
+
creation_time
+
+ +
+
+ +
+
creation_request_sent_date
+
+ + +
+
+ +
+
notified_about_expiration
+
+ +
+
+
`; + +const formCreateButtons = `
+ + +
`; + +const formEditButtons = `
+ + +
`; + function showContentBox() { let elem = document.getElementById('backgroundTint'); elem.classList.remove('hidden'); -- cgit v1.2.3