From 233286a0fead497f447be8447f7b73bcb8541b2d Mon Sep 17 00:00:00 2001 From: nemunaire Date: Tue, 23 Jan 2018 03:52:24 +0100 Subject: [PATCH] public front: can choose levels to display in levels table --- admin/static/js/app.js | 2 +- admin/static/views/public.html | 8 ++++++++ frontend/static/public.html | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/admin/static/js/app.js b/admin/static/js/app.js index 4a04e8a0..9b38bb86 100644 --- a/admin/static/js/app.js +++ b/admin/static/js/app.js @@ -606,7 +606,7 @@ angular.module("FICApp") $scope.scenes = [ { type: "table", - params: { kind: "levels", themes: $scope.themes.map(function(z, i) { return z.id; }), total: true }, + params: { kind: "levels", levels: [1,2,3,4,5,6,7,8,9,10], themes: $scope.themes.map(function(z, i) { return z.id; }), total: true }, }, { type: "rank", diff --git a/admin/static/views/public.html b/admin/static/views/public.html index 2274433f..7df19be7 100644 --- a/admin/static/views/public.html +++ b/admin/static/views/public.html @@ -137,6 +137,14 @@ +
+ +
+ +
+
+
diff --git a/frontend/static/public.html b/frontend/static/public.html index 5556eb92..c6b843b5 100644 --- a/frontend/static/public.html +++ b/frontend/static/public.html @@ -119,7 +119,7 @@ - + Niveau {{ lvl }}