admin: update public screen presets
authorPierre-Olivier Mercier <nemunaire@nemunai.re>
Sun, 9 Dec 2018 21:46:17 +0000 (22:46 +0100)
committerPierre-Olivier Mercier <nemunaire@nemunai.re>
Sun, 9 Dec 2018 23:31:29 +0000 (00:31 +0100)
admin/static/js/app.js

index 5cae4d4..29ead55 100644 (file)
@@ -609,8 +609,8 @@ angular.module("FICApp")
                        params: { kind: "public" },
                    },
                    {
-                       type: "themes",
-                       params: { color: "light", title: "Présentation des entreprises ciblées"},
+                       type: "carousel",
+                       params: { color: "info", kind: "themes", title: "Présentation des entreprises ciblées"},
                    },
                ];
            else if (scene == "start")
@@ -628,11 +628,11 @@ angular.module("FICApp")
                $scope.scenes = [
                    {
                        type: "table",
-                       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 },
+                       params: { kind: "levels", levels: [1,2,3,4,5], themes: $scope.themes.map(function(z, i) { return z.id; }), total: true },
                    },
                    {
                        type: "rank",
-                       params: { limit: 5, which: "general" },
+                       params: { limit: 10, which: "general" },
                    },
                ];
            }