From 06dcd0c2b73dbe66b3d77314fe50c479c5918429 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Sun, 18 Nov 2018 18:48:23 +0100 Subject: [PATCH] admin: Refactor exercice page to include regexp validator --- admin/index.go | 6 +- admin/static/index.html | 34 ++++----- admin/static/views/exercice.html | 117 +++++++++++++++++-------------- 3 files changed, 87 insertions(+), 70 deletions(-) diff --git a/admin/index.go b/admin/index.go index 989831c6..daa9691e 100644 --- a/admin/index.go +++ b/admin/index.go @@ -8,12 +8,14 @@ const indextpl = ` diff --git a/admin/static/index.html b/admin/static/index.html index 4e5b1f2a..b4c33e5b 100644 --- a/admin/static/index.html +++ b/admin/static/index.html @@ -6,21 +6,23 @@ - +