From 13ff304369cd2f46ee437694ea8e9ca5e56108f6 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 1 Feb 2023 22:50:04 +0400 Subject: [PATCH] #84 -- change page content --- .../controller/RecommendationController.java | 2 +- src/main/resources/templates/assessments.html | 21 ++++++++++++++----- src/main/resources/templates/default.html | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/main/java/ru/ulstu/extractor/recommendation/controller/RecommendationController.java b/src/main/java/ru/ulstu/extractor/recommendation/controller/RecommendationController.java index cb53532..750ef57 100644 --- a/src/main/java/ru/ulstu/extractor/recommendation/controller/RecommendationController.java +++ b/src/main/java/ru/ulstu/extractor/recommendation/controller/RecommendationController.java @@ -26,7 +26,7 @@ public class RecommendationController { } @GetMapping(ASSESSMENTS) - public String getRecommendations(Model model, @RequestParam Optional branchId) { + public String getAssessments(Model model, @RequestParam Optional branchId) { model.addAttribute("branches", branchService.findAll()); if (branchId.isPresent()) { model.addAttribute("assessments", fuzzyInferenceService.getAssessments(branchId.get())); diff --git a/src/main/resources/templates/assessments.html b/src/main/resources/templates/assessments.html index 7d43881..c2cbb47 100644 --- a/src/main/resources/templates/assessments.html +++ b/src/main/resources/templates/assessments.html @@ -7,7 +7,7 @@
-
+
Репозиторий-ветка @@ -26,17 +26,28 @@ ]) ; $('#select-branch').selectpicker('refresh'); -
-
Выбрерите ветку для получения рекомендаций
+
Выбрерите ветку для получения оценки репозитория
-
-
+
+

Состояние репозитория описывается следующими выражениями:

+
+
+ вследствие тенденции +
+ показателя +
+ и тенденции +
+ показателя +
+ и +
diff --git a/src/main/resources/templates/default.html b/src/main/resources/templates/default.html index d118ca8..45c036d 100644 --- a/src/main/resources/templates/default.html +++ b/src/main/resources/templates/default.html @@ -41,7 +41,7 @@ Link