-
+
-
Bienvenue au challenge forensic !
+ Bienvenue au {{ challenge.title }} !
@@ -574,11 +576,9 @@
-
- Avec le parrainage du commandement de la cyberdéfense
-
+
-
+
diff --git a/dashboard/static/js/dashboard.js b/dashboard/static/js/dashboard.js
index 2dfd1f3c..7febf69f 100644
--- a/dashboard/static/js/dashboard.js
+++ b/dashboard/static/js/dashboard.js
@@ -102,6 +102,14 @@ angular.module("FICApp", ["ngSanitize", "ngAnimate"])
refreshSettings();
var refreshSettingsInterval = $interval(refreshSettings, 4200);
+ var refreshChallengeInfo = function() {
+ $http.get("../challenge.json").then(function(response) {
+ $rootScope.challenge = response.data;
+ });
+ }
+ refreshChallengeInfo();
+ var refreshChallengeInfoInterval = $interval(refreshChallengeInfo, 900000);
+
$rootScope.refresh = function() {
$http.get("../my.json").then(function(response) {