From 644893ded8ea1823cd67c5d973e55a0401985f36 Mon Sep 17 00:00:00 2001 From: Qais Yousuf Date: Tue, 30 Apr 2024 21:27:33 +0200 Subject: [PATCH] survey analyzer completed for all types of questions --- .../Views/SurveyAnalysis/Analysis.cshtml | 170 +++++++++++++----- .../Admin/Views/SurveyAnalysis/Index.cshtml | 11 +- .../Admin/Views/UserResponse/Index.cshtml | 6 +- .../Views/UserResponse/ViewResponse.cshtml | 49 +++-- 4 files changed, 169 insertions(+), 67 deletions(-) diff --git a/Web/Areas/Admin/Views/SurveyAnalysis/Analysis.cshtml b/Web/Areas/Admin/Views/SurveyAnalysis/Analysis.cshtml index d3f21d2..2d15fb8 100644 --- a/Web/Areas/Admin/Views/SurveyAnalysis/Analysis.cshtml +++ b/Web/Areas/Admin/Views/SurveyAnalysis/Analysis.cshtml @@ -91,22 +91,11 @@ - @*
- @foreach (var question in Model.Questions) - { - - -
- -
-
- } - -
*@
@foreach (var question in Model.Questions) {
+
@@ -119,8 +108,8 @@ }
-
+ @section Scripts { } +@* @section Scripts { +// +// +// } + + @* @section Scripts { diff --git a/Web/Areas/Admin/Views/SurveyAnalysis/Index.cshtml b/Web/Areas/Admin/Views/SurveyAnalysis/Index.cshtml index 34cc846..9d8013e 100644 --- a/Web/Areas/Admin/Views/SurveyAnalysis/Index.cshtml +++ b/Web/Areas/Admin/Views/SurveyAnalysis/Index.cshtml @@ -16,14 +16,13 @@
- +
- - + @@ -33,9 +32,9 @@ - - } diff --git a/Web/Areas/Admin/Views/UserResponse/Index.cshtml b/Web/Areas/Admin/Views/UserResponse/Index.cshtml index 8a3bcef..5637690 100644 --- a/Web/Areas/Admin/Views/UserResponse/Index.cshtml +++ b/Web/Areas/Admin/Views/UserResponse/Index.cshtml @@ -27,7 +27,7 @@ - + @@ -40,8 +40,8 @@ - } diff --git a/Web/Areas/Admin/Views/UserResponse/ViewResponse.cshtml b/Web/Areas/Admin/Views/UserResponse/ViewResponse.cshtml index bf3e75d..933ef97 100644 --- a/Web/Areas/Admin/Views/UserResponse/ViewResponse.cshtml +++ b/Web/Areas/Admin/Views/UserResponse/ViewResponse.cshtml @@ -106,8 +106,8 @@ background: #d3d3d3; /* Background of the slider */ outline: none; /* Removes the outline */ opacity: 0.7; /* Slider opacity */ - -webkit-transition: .2s; /* Smooth transitions */ - transition: opacity .2s; + + } .slider:disabled { @@ -141,8 +141,10 @@ -ms-flex-direction: column; flex-direction: row; word-wrap: break-word; - box-shadow: 0px 0px 8px -1px rgba(20,101,230,1); - -webkit-box-shadow: 0px 0px 8px -1px rgba(20,101,230,1); + box-shadow: 0px 0px 13px 0px rgb(20 101 230 / 35%); + -webkit-box-shadow: 0px 0px 13px 0px rgb(20 101 230 / 35%); + border-radius: 5px; + border-radius: 10px; background-color: transparent; height: auto; @@ -150,24 +152,37 @@ align-items: center; padding: 0 50px 0 50px; - color:white; + } .card{ margin-top:40px !important; + box-shadow: 0px 0px 13px 0px rgb(20 101 230 / 35%) !important; + -webkit-box-shadow: 0px 0px 13px 0px rgb(20 101 230 / 35%) !important; + border-radius: 5px; } - main{ + /* main{ background-attachment:fixed; background-repeat: no-repeat; background: linear-gradient(119deg, rgba(47, 82, 131, 1) 0%, rgba(29, 33, 59, 1) 34%, rgba(27, 54, 61, 1) 67%, rgba(58, 82, 116, 1) 100%) !important; } - + */ .card-header { padding: 0.75rem 1.25rem; margin-bottom: 0; - background-color: rgb(66 122 207 / 44%); - border-bottom: 1px solid rgba(0, 0, 0, 0.125); + background: #16283f; + color:white; + + } + + #HeaderForQuestionType{ + padding: 0.75rem 1.25rem; + background: #16283f; + color: white; + border-radius:5px; + box-shadow: 0px 0px 13px 0px rgb(20 101 230 / 35%) !important; + -webkit-box-shadow: 0px 0px 13px 0px rgb(20 101 230 / 35%) !important; } .badge { @@ -191,8 +206,18 @@
@*

Questionnaire: @Model.Questionnaire.Title

*@ -
Response Details for @Model.UserName (@Model.UserEmail)
-
Submitted on: @Model.SubmissionDate.ToString("yyyy-MM-ddTHH:mm:ss")
+
+
+ Respond from user +
+
+
Response Details for @Model.UserName (@Model.UserEmail)
+
+
+ Submitted on: @Model.SubmissionDate.ToString("yyyy-MM-ddTHH:mm:ss") +
+ +
Id QuestionnaireActionAction
@item.Id @item.Title - Details + + + Analyzer
UserName UserEmail Submission DateActionAction
@item.UserName @item.UserEmail @item.SubmissionDate - Details + + Details