diff --git a/Management.Web/Pages/Course.razor b/Management.Web/Pages/Course.razor
index 79647ea..3014d4c 100644
--- a/Management.Web/Pages/Course.razor
+++ b/Management.Web/Pages/Course.razor
@@ -12,6 +12,7 @@
@inject YamlManager yamlManager
@inject CanvasService canvas
@inject CoursePlanner planner
+@inject NavigationManager navigtion
@code {
[Parameter]
@@ -30,6 +31,12 @@
loading = false;
}
+ private void selectNewCourse()
+ {
+ planner.Clear();
+ navigtion.NavigateTo("/");
+ }
+
}
@if(loading)
@@ -42,7 +49,7 @@
-
}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Management.Web/Shared/Components/AssignmentForm/SubmissionTypeSelector.razor b/Management.Web/Shared/Components/AssignmentForm/SubmissionTypeSelector.razor
index 056b616..cc43cea 100644
--- a/Management.Web/Shared/Components/AssignmentForm/SubmissionTypeSelector.razor
+++ b/Management.Web/Shared/Components/AssignmentForm/SubmissionTypeSelector.razor
@@ -56,7 +56,7 @@
var isDiscussion = submissionType == SubmissionType.DISCUSSION_TOPIC;
var allowedToBeChecked = !discussionIsSelected || isDiscussion;
-
+
@Assignment.Name
-
+
diff --git a/Management.Web/Shared/Semester/Day/Day.razor b/Management.Web/Shared/Semester/Day/Day.razor
index 287d9e1..8beec7c 100644
--- a/Management.Web/Shared/Semester/Day/Day.razor
+++ b/Management.Web/Shared/Semester/Day/Day.razor
@@ -112,16 +112,16 @@
ondragover="event.preventDefault();"
>
@(isWeekDay ? date?.Day : "")
-
- @foreach (var assignment in TodaysAssignments)
- {
- @* Console.WriteLine($"assignment: {assignment.Name}"); *@
-
- }
+
+ @foreach (var assignment in TodaysAssignments)
+ {
+ @* Console.WriteLine($"assignment: {assignment.Name}"); *@
+
+ }
- @foreach(var quiz in todaysQuizzes)
- {
-
- }
-
+ @foreach(var quiz in todaysQuizzes)
+ {
+
+ }
+
diff --git a/Management.Web/Shared/Semester/Day/QuizInDay.razor b/Management.Web/Shared/Semester/Day/QuizInDay.razor
index 61c0137..f7dd9d2 100644
--- a/Management.Web/Shared/Semester/Day/QuizInDay.razor
+++ b/Management.Web/Shared/Semester/Day/QuizInDay.razor
@@ -18,7 +18,7 @@
}
}
-
@Quiz.Name
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/Management/Models/Local/LocalAssignment.cs b/Management/Models/Local/LocalAssignment.cs
index ffd2cf7..f54e88c 100644
--- a/Management/Models/Local/LocalAssignment.cs
+++ b/Management/Models/Local/LocalAssignment.cs
@@ -14,24 +14,24 @@ public static class SubmissionType
public static readonly string ONLINE_TEXT_ENTRY = "online_text_entry";
public static readonly string ONLINE_UPLOAD = "online_upload";
public static readonly string ONLINE_QUIZ = "online_quiz";
- public static readonly string ON_PAPER = "on_paper";
+ // public static readonly string ON_PAPER = "on_paper";
public static readonly string DISCUSSION_TOPIC = "discussion_topic";
- public static readonly string EXTERNAL_TOOL = "external_tool";
+ // public static readonly string EXTERNAL_TOOL = "external_tool";
public static readonly string ONLINE_URL = "online_url";
- public static readonly string MEDIA_RECORDING = "media_recording";
- public static readonly string STUDENT_ANNOTATION = "student_annotation";
+ // public static readonly string MEDIA_RECORDING = "media_recording";
+ // public static readonly string STUDENT_ANNOTATION = "student_annotation";
public static readonly string NONE = "none";
public static readonly IEnumerable
AllTypes = new string[]
{
ONLINE_TEXT_ENTRY,
ONLINE_UPLOAD,
ONLINE_QUIZ,
- ON_PAPER,
+ // ON_PAPER,
DISCUSSION_TOPIC,
- EXTERNAL_TOOL,
+ // EXTERNAL_TOOL,
ONLINE_URL,
- MEDIA_RECORDING,
- STUDENT_ANNOTATION,
+ // MEDIA_RECORDING,
+ // STUDENT_ANNOTATION,
NONE,
};
}