diff --git a/IGP/Pages/Agile/AgilePage.razor b/IGP/Pages/Agile/AgilePage.razor deleted file mode 100644 index 989a107..0000000 --- a/IGP/Pages/Agile/AgilePage.razor +++ /dev/null @@ -1,117 +0,0 @@ -@implements IDisposable; -@inject IAgileService AgileService; - -@layout PageLayout -@inherits BasePage - -@page "/agile" - -@if (!AgileService.IsLoaded()) -{ - -} -else -{ - - Agile -
- @foreach (var sprint in AgileService.AgileSprintModels! - .OrderBy(e => e.EndDate).Reverse()) - { -
- -
@sprint.Name
-
-
-
- @if (sprint.StartDate != null) - { - Start: - @sprint.StartDate.Value.ToString("dd/MM/yyyy") - } -
-
- @if (sprint.EndDate != null) - { - End: - @sprint.EndDate.Value.ToString("dd/MM/yyyy") - } - -
-
-
- - -
- } - -
- -
Backlog
-
-
-
- -
-
-
- - - - - - - What is Agile? - - Agile is a work methodology for determing task assignment and release deadlines. -

- My agile practice will be creating tasks in a backlog. Assigning them to weekly sprints. And completing all tasks in the allotted time frame. -

- Any unfinished tasks are moved into the next sprint, or the sprint will be extended by a week. -
-
-
-
-} - - -@code { - private readonly List backlog = new(); - - protected override void OnInitialized() - { - base.OnInitialized(); - - AgileService.Subscribe(HasChanged); - HasChanged(); - } - - void IDisposable.Dispose() - { - AgileService.Unsubscribe(HasChanged); - } - - void HasChanged() - { - if (!AgileService.IsLoaded()) return; - - backlog.Clear(); - - foreach (var task in AgileService.AgileTaskModels!) - { - if (task.AgileSprintModelId == null) - { - backlog.Add(task); - } - } - - StateHasChanged(); - } - - protected override async Task OnInitializedAsync() - { - await AgileService.Load(); - } - -} \ No newline at end of file diff --git a/IGP/Pages/Agile/AgilePage.razor.css b/IGP/Pages/Agile/AgilePage.razor.css deleted file mode 100644 index 40ececc..0000000 --- a/IGP/Pages/Agile/AgilePage.razor.css +++ /dev/null @@ -1,66 +0,0 @@ - -.agileViewContainer { - display: flex; - gap: 12px; - flex-direction: column; -} - -.sprintDisplayContainer { - border: 4px solid var(--paper); - box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.2); - border-radius: 2px; - padding: 25px; - margin: auto; - width: 100%; - background-color: var(--paper); -} - -@media only screen and (max-width: 1025px) { - .sprintDisplayContainer { - padding: 2px; - } -} - -.sprintSummary { - display: flex; - width: 100%; -} - -.sprintDisplayContainer.current { - border-color: #042901; - background-color: var(--paper); -} - -.sprintDisplayContainer.planned { - border-color: #2a2000; - background-color: var(--paper); -} - -.sprintDisplayContainer.completed { - border-color: #2a2000; - background-color: var(--paper); -} - - -details .sprintSummary::before { - content: "+"; - font-weight: bolder; - font-size: 1.5rem; - padding-right: 8px; -} - -details[open] .sprintSummary::before { - content: "-"; -} - - -.sprintTitle { - width: 400px; - font-size: 1.6rem; - font-weight: 800; -} - -.sprintDates { - width: 160px; - text-align: right; -} diff --git a/IGP/Pages/Agile/Parts/BacklogComponent.razor b/IGP/Pages/Agile/Parts/BacklogComponent.razor deleted file mode 100644 index 0e292da..0000000 --- a/IGP/Pages/Agile/Parts/BacklogComponent.razor +++ /dev/null @@ -1,183 +0,0 @@ -
-
- @foreach (var task in Backlog) - { -
-
@task.Name
-
- - -
- Type: @task.Task.Replace("_", " ") -
-
- Status: @task.Status.Replace("_", " ") -
-
- Priority: @task.Priority -
-
- - @if (task.Finished != null) - { -
- Finished: @task.Finished -
- } -
- Created: @task.Created -
-
-
-
-
- Description: @task.Description -
-
- Notes: @task.Notes -
-
- } - -
-
- - - - -@code { - - [Parameter] - public List Backlog { get; set; } = default!; - -} \ No newline at end of file diff --git a/IGP/Pages/Agile/Parts/SprintComponent.razor b/IGP/Pages/Agile/Parts/SprintComponent.razor deleted file mode 100644 index 0f122d1..0000000 --- a/IGP/Pages/Agile/Parts/SprintComponent.razor +++ /dev/null @@ -1,224 +0,0 @@ -
-
- Status: @AgileSprint.GetSprintType() -
-
- Description: @AgileSprint.Description -
-
- Notes: @AgileSprint.Notes -
-
- @if (AgileSprint.AgileTaskModels.Count > 0) - { - @foreach (var task in AgileSprint.AgileTaskModels.OrderBy(x => x.OrderPriority)) - { -
-
@task.Name
-
- - -
- Type: @task.Task.Replace("_", " ") -
-
- Status: @task.Status.Replace("_", " ") -
-
- Priority: @task.Priority -
- -
- - @if (task.Finished != null) - { -
- Finished: @task.Finished.Value.ToString("dd/MM/yyyy") -
- } -
- Created: @task.Created!.Value.ToString("dd/MM/yyyy") -
-
-
-
-
- Description: @task.Description -
-
- Notes: @task.Notes -
-
- } - } - else - { -
Add Tasks...
- } -
-
- - - -@code { - - [Parameter] - public AgileSprintModel AgileSprint { get; set; } = default!; - -} \ No newline at end of file diff --git a/IGP/Pages/ChangeLogPage.razor b/IGP/Pages/ChangeLogPage.razor deleted file mode 100644 index 62c5611..0000000 --- a/IGP/Pages/ChangeLogPage.razor +++ /dev/null @@ -1,133 +0,0 @@ -@page "/changelog" -@implements IDisposable; -@inject IGitService GitService; - -@inherits BasePage - -@inject IDataCollectionService DataCollectionService - - -@layout PageLayout - - -@if (GitService.IsLoaded()) -{ - - Change Log - - - - - - - - - - @foreach (var patch in Patches.OrderBy(x => x.Date).Reverse()) - { - @if (!patch.Important.Equals("True") && isViewImportant) - { - continue; - } - - var daysAgo = Math.Floor(DateTime.Now.Subtract(patch.Date).TotalDays); - -
-
-
- @patch.Name -
-
- @if (daysAgo == 0) - { - Today - } - else if (daysAgo < 8) - { - @daysAgo days ago - } - else - { - @patch.Date.ToString("dd/MM/yyyy") - } - -
-
-
- @foreach (var change in Changes.FindAll(e => e.GitPatchModelId == patch.Id)) - { - @if (!change.Important.Equals("True") && isViewImportant) - { - continue; - } - -
-
-
- - - @change.Name - - @if (change.Commit != CommitType.None) - { - (@change.Commit) - } - : - @((MarkupString)change.Description) -
-
-
- } -
-
- } - -
-
-} -else -{ - -} - - -@code { - - private IEnumerable Patches => GitService.GitPatchModels; - - private List Changes => GitService.GitChangeModels; - - private bool isViewImportant = true; - - - protected override void OnInitialized() - { - base.OnInitialized(); - GitService.Subscribe(HasChanged); - } - - void IDisposable.Dispose() - { - GitService.Unsubscribe(HasChanged); - } - - - void OnChangeClicked(ChangeEventArgs changeEventArgs) - { - isViewImportant = (bool)changeEventArgs.Value!; - StateHasChanged(); - } - - void HasChanged() - { - StateHasChanged(); - } - - protected override async Task OnInitializedAsync() - { - await GitService.Load(); - } - -} \ No newline at end of file diff --git a/IGP/Pages/ChangeLogPage.razor.css b/IGP/Pages/ChangeLogPage.razor.css deleted file mode 100644 index 7ba378a..0000000 --- a/IGP/Pages/ChangeLogPage.razor.css +++ /dev/null @@ -1,13 +0,0 @@ -.patchContainer { - padding: 16px; -} - -@media only screen and (max-width: 1025px) { - .patchContainer { - border: none; - padding-left: 8px; - padding-right: 8px; - padding-top: 16px; - padding-bottom: 16px; - } -} diff --git a/IGP/Pages/Comparision/ComparisionPage.razor b/IGP/Pages/Comparision/ComparisionPage.razor deleted file mode 100644 index 8545166..0000000 --- a/IGP/Pages/Comparision/ComparisionPage.razor +++ /dev/null @@ -1,106 +0,0 @@ -@layout PageLayout -@inherits BasePage -@implements IDisposable - -@inject IToastService ToastService - -
- - -
- Comparision Loader - -
- -
- Sand - -
- - -
- Comparision Charts - -
- - -
- -@code { - - [Inject] - IKeyService KeyService { get; set; } = default!; - - [Inject] - IImmortalSelectionService FilterService { get; set; } = default!; - - [Inject] - IBuildOrderService BuildOrderService { get; set; } = default!; - - [Inject] - IEconomyService EconomyService { get; set; } = default!; - - - [Inject] - ITimingService TimingService { get; set; } = default!; - - - Dictionary> completedEntities = new(); - - - List entities = EntityModel.GetListOnlyHotkey(); - - protected override void OnInitialized() - { - base.OnInitialized(); - KeyService.Subscribe(HandleClick); - FilterService.Subscribe(StateHasChanged); - EconomyService.Subscribe(StateHasChanged); - TimingService.Subscribe(HandleTimingChanged); - EconomyService.Calculate(BuildOrderService, TimingService, 0); - } - - void IDisposable.Dispose() - { - KeyService.Unsubscribe(HandleClick); - FilterService.Unsubscribe(StateHasChanged); - TimingService.Unsubscribe(StateHasChanged); - EconomyService.Unsubscribe(StateHasChanged); - } - - - protected void HandleTimingChanged() - { - EconomyService.Calculate(BuildOrderService, TimingService, BuildOrderService.GetLastRequestInterval()); - } - - protected void HandleClick() - { - var hotkey = KeyService.GetHotkey(); - var hotkeyGroup = KeyService.GetHotkeyGroup(); - var isHoldSpace = KeyService.IsHoldingSpace(); - var faction = FilterService.GetFaction(); - var immortal = FilterService.GetImmortal(); - - if (hotkey == "`") - { - BuildOrderService.RemoveLast(); - EconomyService.Calculate(BuildOrderService, TimingService, BuildOrderService.GetLastRequestInterval()); - StateHasChanged(); - return; - } - - var entity = EntityModel.GetFrom(hotkey!, hotkeyGroup, isHoldSpace, faction, immortal); - if (entity == null) - { - return; - } - if (BuildOrderService.Add(entity, EconomyService)) - { - EconomyService.Calculate(BuildOrderService, TimingService, BuildOrderService.GetLastRequestInterval()); - } - } - -} \ No newline at end of file diff --git a/IGP/Pages/Comparision/Parts/BuildLoaderComponent.razor b/IGP/Pages/Comparision/Parts/BuildLoaderComponent.razor deleted file mode 100644 index 229efff..0000000 --- a/IGP/Pages/Comparision/Parts/BuildLoaderComponent.razor +++ /dev/null @@ -1,37 +0,0 @@ -@implements IDisposable - - -
- - -
- -
- -
- -@code { - string buildData = ""; - - [Inject] - IBuildComparisonService BuildComparisionService { get; set; } = default!; - - protected override void OnInitialized() - { - base.OnInitialized(); - BuildComparisionService.Subscribe(StateHasChanged); - } - - void IDisposable.Dispose() - { - BuildComparisionService.Unsubscribe(StateHasChanged); - } - - void OnLoad() - { - BuildComparisionService.LoadJson(buildData); - } - -} \ No newline at end of file diff --git a/IGP/Pages/Comparision/Parts/SandComponent.razor b/IGP/Pages/Comparision/Parts/SandComponent.razor deleted file mode 100644 index e8fac2b..0000000 --- a/IGP/Pages/Comparision/Parts/SandComponent.razor +++ /dev/null @@ -1,25 +0,0 @@ -@implements IDisposable - -
- -
- -@code { - - [Inject] - IBuildComparisonService BuildComparisonService { get; set; } = default!; - - protected override void OnInitialized() - { - base.OnInitialized(); - BuildComparisonService.Subscribe(StateHasChanged); - } - - void IDisposable.Dispose() - { - BuildComparisonService.Unsubscribe(StateHasChanged); - } - -} \ No newline at end of file diff --git a/IGP/Pages/Database/DatabaseSinglePage.razor b/IGP/Pages/Database/DatabaseSinglePage.razor index 0366525..0c629a1 100644 --- a/IGP/Pages/Database/DatabaseSinglePage.razor +++ b/IGP/Pages/Database/DatabaseSinglePage.razor @@ -11,7 +11,6 @@ - diff --git a/IGP/Pages/Documentation/DocumentationIndexPage.razor b/IGP/Pages/Documentation/DocumentationIndexPage.razor deleted file mode 100644 index 52b9588..0000000 --- a/IGP/Pages/Documentation/DocumentationIndexPage.razor +++ /dev/null @@ -1,117 +0,0 @@ -@layout PageLayout -@inherits BasePage - -@inject IDocumentationService DocumentationService -@implements IDisposable - -@page "/docs" - -@if (!DocumentationService.IsLoaded()) -{ - -} -else -{ - - - @foreach (var docSection in DocumentationService.DocSectionModels) - { -
-
@docSection.Name
-
- @foreach (var docContent in docSection.DocumentationModels) - { - -
@docContent.Name
-
@docContent.Description
-
- } -
-
- } -
-
-} - - - - -@code { - - [Parameter] - public string? Text { get; set; } - - protected override void OnInitialized() - { - base.OnInitialized(); - DocumentationService.Subscribe(StateHasChanged); - - DocumentationService.Load(); - } - - void IDisposable.Dispose() - { - DocumentationService.Unsubscribe(StateHasChanged); - } - -} \ No newline at end of file diff --git a/IGP/Pages/Documentation/DocumentationPage.razor b/IGP/Pages/Documentation/DocumentationPage.razor deleted file mode 100644 index cde5e63..0000000 --- a/IGP/Pages/Documentation/DocumentationPage.razor +++ /dev/null @@ -1,123 +0,0 @@ -@layout PageLayout -@inherits BasePage - -@inject IDocumentationService DocumentationService - -@implements IDisposable - -@page "/docs/{href1}/{href2?}/{href3?}/{href4?}/{href5?}" - -@if (!DocumentationService.IsLoaded()) -{ - -} -else -{ - - - - - - - @foreach (var doc in DocumentationService.DocContentModels) - { - if (!doc.Href.Equals(Href)) - { - continue; - } - - } - - - -} - - - -@code { - - [Parameter] - public string? Href1 { get; set; } - - [Parameter] - public string? Href2 { get; set; } - - [Parameter] - public string? Href3 { get; set; } - - [Parameter] - public string? Href4 { get; set; } - - [Parameter] - public string? Href5 { get; set; } - - private string Href => Href5 ?? Href4 ?? Href3 ?? Href2 ?? Href1 ?? ""; - - protected override void OnInitialized() - { - base.OnInitialized(); - DocumentationService.Subscribe(StateHasChanged); - - DocumentationService.Load(); - } - - void IDisposable.Dispose() - { - DocumentationService.Unsubscribe(StateHasChanged); - } - -} \ No newline at end of file diff --git a/IGP/Pages/Documentation/Parts/DocumentInnerNavComponent.razor b/IGP/Pages/Documentation/Parts/DocumentInnerNavComponent.razor deleted file mode 100644 index 6c46cf9..0000000 --- a/IGP/Pages/Documentation/Parts/DocumentInnerNavComponent.razor +++ /dev/null @@ -1,70 +0,0 @@ -@if (Document!.DocumentationModels.Count > 0) -{ -
- @foreach (var innerDoc in Document.DocumentationModels) - { - var linkStyle = $"docInnerNavButton inner_{Layers}"; - @innerDoc.Name - - } -
-} - - - -@code { - - [Parameter] - public DocContentModel? Document { get; set; } = default!; - - [Parameter] - public int Layers { get; set; } = 1; - - public int IncrementLayers() - { - return Layers + 1; - } - - - private string GetLink(DocContentModel doc) - { - return $"docs/{doc.Href}"; - } - -} \ No newline at end of file diff --git a/IGP/Pages/Documentation/Parts/DocumentNavComponent.razor b/IGP/Pages/Documentation/Parts/DocumentNavComponent.razor deleted file mode 100644 index 6db302a..0000000 --- a/IGP/Pages/Documentation/Parts/DocumentNavComponent.razor +++ /dev/null @@ -1,47 +0,0 @@ -
- @foreach (var doc in Documents) - { - if (doc.Parent == null) - { - @doc.Name - - } - } -
- - - -@code { - - [Parameter] - public List Documents { get; set; } = default!; - - [Parameter] - public List Connections { get; set; } = default!; - - private string GetLink(DocContentModel doc) - { - return $"docs/{doc.Href}"; - } - -} \ No newline at end of file diff --git a/IGP/Pages/Home/HomePage.razor b/IGP/Pages/Home/HomePage.razor index 67e08a6..8555931 100644 --- a/IGP/Pages/Home/HomePage.razor +++ b/IGP/Pages/Home/HomePage.razor @@ -48,14 +48,6 @@
- - - - Under Construction - Website is still being made. Check out Road Map for future plans, Agile for present tasks, and Change Log for past changes. - - - - -@code { - string accent = "#432462"; - string primary = "#4308a3"; - string primary_border = "#2c0b62"; - string primary_hover = "#5e00f7"; - string primary_border_hover = "#a168ff"; - string background = "#161618"; - string secondary = "#23133e"; - string secondary_hover = "#2a0070"; - string secondary_border_hover = "#a168ff"; - string paper = "#252526"; - string paper_border = "#151516"; - string info = "#451376"; - string info_border = "#210b36"; - string info_secondary = "#4c3e59"; - string info_secondary_border = "#7e58a2"; - - -} \ No newline at end of file diff --git a/IGP/Pages/MakingOf/Parts/MakingOfColours.razor.css b/IGP/Pages/MakingOf/Parts/MakingOfColours.razor.css deleted file mode 100644 index 8818efc..0000000 --- a/IGP/Pages/MakingOf/Parts/MakingOfColours.razor.css +++ /dev/null @@ -1,49 +0,0 @@ -.colorContainer { - display: flex; - flex-direction: column; -} - -.color { - padding: 12px; - display: flex; - flex-direction: row; - gap: 32px; - align-items: center; -} - -.accent { - background-color: var(--accent); -} - -.primary { - background-color: var(--primary); - border: 1px solid var(--primary-border); -} - -.primary:hover { - background-color: var(--primary-hover); - border-color: var(--primary-border-hover); -} - -.secondary { - background-color: var(--secondary); - border: 1px solid var(--secondary); -} - -.secondary:hover { - background-color: var(--secondary-hover); - border-color: var(--secondary-border-hover); -} - -.paper { - background-color: var(--paper); - border: 4px solid var(--paper-border); -} - -.background { - background-color: var(--background); -} - -.info { - background-color: var(--info); -} diff --git a/IGP/Pages/MakingOf/Parts/MakingOfDialogs.razor b/IGP/Pages/MakingOf/Parts/MakingOfDialogs.razor deleted file mode 100644 index 57a017f..0000000 --- a/IGP/Pages/MakingOf/Parts/MakingOfDialogs.razor +++ /dev/null @@ -1,16 +0,0 @@ - - Dialog - ... - - - - //TODO - - - //TODO - - - -@code { - -} \ No newline at end of file diff --git a/IGP/Pages/MakingOf/Parts/MakingOfDisplays.razor b/IGP/Pages/MakingOf/Parts/MakingOfDisplays.razor deleted file mode 100644 index 5e1772d..0000000 --- a/IGP/Pages/MakingOf/Parts/MakingOfDisplays.razor +++ /dev/null @@ -1,188 +0,0 @@ - - - Entity Display - - - Display element for holding entity information. - - - - -
- Example Entity Content -
- - @for (var i = 0; i < 1; i++) - { -
- -@i Example Entity Content -
- } - -
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -
-
- -
- Example Entity Content -
- - @for (var i = 0; i < 2; i++) - { -
- -@i Example Entity Content -
- } - -
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation. -
-
- -
- Example Entity Content -
- - @for (var i = 0; i < 1; i++) - { -
- -@i Example Entity Content -
- } - -
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -
-
-
-
- - - <LayoutRowComponent> - <EntityDisplayComponent Title="Example Entity Info"> - <div> - Example Entity Content - </div> - - @@for (var i = 0; i < 1; i++) { - <div> - -@@i Example Entity Content - </div> - } - - <div> - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - </div> - </EntityDisplayComponent> - <EntityDisplayComponent Title="Example Entity Info"> - <div> - Example Entity Content - </div> - - @@for (var i = 0; i < 2; i++) { - <div> - -@@i Example Entity Content - </div> - } - - <div> - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation. - </div> - </EntityDisplayComponent> - <EntityDisplayComponent Title="Example Entity Info"> - <div> - Example Entity Content - </div> - - @@for (var i = 0; i < 1; i++) { - <div> - -@@i Example Entity Content - </div> - } - - <div> - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - </div> - </EntityDisplayComponent> - </LayoutRowComponent> - - - - - <div class="entityDisplaySection"> - <div class="entityDisplayHeader"> - <div class="entityDisplayTitle"> - @@Title - </div> - <div class="entityDisplayBorder"> - </div> - </div> - @@ChildContent - </div> - - <style> - .entityDisplaySection { - position: relative; - padding: 8px; - display: flex; - gap: 12px; - flex-direction: column; - margin-top: 14px; - margin-top: 20px; - padding: 12px; - background-color: var(--info); - border-top-right-radius: 12px; - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; - } - - .entityDisplayHeader { - bottom: 100%; - position: absolute; - white-space: pre; - width: 100%; - line-height: 0px; - right: 0px; - top: -4px; - display: flex; - } - - .entityDisplayTitle { - font-weight: 800; - font-size: 1.4rem; - padding-right: 8px; - text-shadow: 3px 0 0 var(--info), -3px 0 0 var(--info), 0 3px 0 var(--info), 0 -3px 0 var(--info), 2px 2px var(--info), -2px -2px 0 var(--info), 2px -2px 0 var(--info), -2px 2px 0 var(--info); - } - - @@@@media only screen and (max-width: 1025px) { - .entityDisplayHeader { - position: inherit; - width: 100%; - margin: 0px; - } - - .entityDisplaySection { - position: inherit; - width: 100%; - margin: 0px; - max-width: none; - border-top-right-radius: 0px; - border-bottom-left-radius: 0px; - border-bottom-right-radius: 0px; - } - - .entityDisplayTitle { - position: inherit; - margin: 0px; - } - } - </style> - - @@code { - [Parameter] public RenderFragment ChildContent { get; set; } - [Parameter] public string Title { get; set; } - } - - -
\ No newline at end of file diff --git a/IGP/Pages/MakingOf/Parts/MakingOfFeedback.razor b/IGP/Pages/MakingOf/Parts/MakingOfFeedback.razor deleted file mode 100644 index d113dac..0000000 --- a/IGP/Pages/MakingOf/Parts/MakingOfFeedback.razor +++ /dev/null @@ -1,58 +0,0 @@ - - Feedback - - - - - Loading - - - Indicates a component is being loaded (a component that relies on JSON) - - -
- - -
-
- - Empty - - - Empty - -
- - - - Alert Message - Used to convey important information to the viewer. Comes in Yellow (Warning), Blue (Information), Red (Error), and Green (Success). Mostly used to warn viewers of pre-alpha or incomplete content being viewed. - - - Warning Alert Title - Warning Alert Message - - - Information Alert Title - Information Alert Message - - - Error Alert Title - Error Alert Message - - - Succsess Alert Title - Succsess Alert Message - - - - <AlertComponent Type=SeverityType.Warning>
<Title>Warning Alert Title</Title>
<Message>Warning Alert Message</Message>
</AlertComponent>
<AlertComponent Type=SeverityType.Information>
<Title>Information Alert Title</Title>
<Message>Information Alert Message</Message>
</AlertComponent>
<AlertComponent Type=SeverityType.Error>
<Title>Error Alert Title</Title>
<Message>Error Alert Message</Message>
</AlertComponent>
<AlertComponent Type=SeverityType.Success>
<Title>Succsess Alert Title</Title>
<Message>Succsess Alert Message</Message>
</AlertComponent>
-
- - @@using Components.Pages.Utils

<div class="alertContainer @@Type.ToString().ToLower()">
@@if (Title != null) {
<div class="alertTitle">
@@Title
</div>
}
@@if (Message != null) {
<div>
@@Message
</div>

}
</div>
<style>
.alertContainer {
border: 4px solid;
border-radius: 4px;
padding: 16px;
display: flex;
flex-direction: column;
justify-items: stretch;
width: 100%;
}

.alertContainer.@@SeverityType.Warning.ToString().ToLower() {
border-color: #2a2000;
background-color: #ffbf0029;
}

.alertContainer.@@SeverityType.Error.ToString().ToLower() {
border-color: #290102;
background-color: #4C2C33;
}

.alertContainer.@@SeverityType.Information.ToString().ToLower() {
border-color: #030129;
background-color: #2c3a4c;
}

.alertContainer.@@SeverityType.Success.ToString().ToLower() {
border-color: #042901;
background-color: #2E4C2C;
}

.alertTitle {
font-weight: 800;
}

</style>
@@code {
[Parameter] public RenderFragment? Title { get; set; }
[Parameter] public RenderFragment? Message { get; set; }
[Parameter] public SeverityType Type { get; set; } = SeverityType.Warning;
}
-
-
- -@code { - -} \ No newline at end of file diff --git a/IGP/Pages/MakingOf/Parts/MakingOfForms.razor b/IGP/Pages/MakingOf/Parts/MakingOfForms.razor deleted file mode 100644 index f032ff8..0000000 --- a/IGP/Pages/MakingOf/Parts/MakingOfForms.razor +++ /dev/null @@ -1,35 +0,0 @@ - - Form Text - Add Text Input - - - - - - - - //TODO - - - //TODO - - - - - - Form Area - Add Text Body Input - - - - - //TODO - - - //TODO - - - -@code { - -} \ No newline at end of file diff --git a/IGP/Pages/MakingOf/Parts/MakingOfNavigation.razor b/IGP/Pages/MakingOf/Parts/MakingOfNavigation.razor deleted file mode 100644 index abea360..0000000 --- a/IGP/Pages/MakingOf/Parts/MakingOfNavigation.razor +++ /dev/null @@ -1,80 +0,0 @@ - - - Nav Section with Nav Links - - - Group specfic webpages. Each webpage link is used to navigate to that specific webpage. If on the webpage, the link turns dark gray. It can be clicked again to leave the page and return to home. - - - { new() { Name = "Example Page", Href = "immortal-makingof", IsPrivate = "False" }, new() { Name = "Database", Href = "immortal-database", IsPrivate = "False" } })> - - - - - <DesktopNavSectionComponent Section=@@(new WebSectionModel{Name = "Example Section"}) - Children=@@(new List<WebPageModel>{new WebPageModel{Name="Example Page", Href = "immortal-makingof", IsPrivate = false}, new WebPageModel{Name="Database", Href = "immortal-database", IsPrivate = false}})> - </DesktopNavSectionComponent> - - - - - @@using Model.Website; - @@using Model.Website.Enums; - - <div class="sectionContainer"> - <div class="sectionHeader"> - <div class="sectionTitle"> - @@Section.Name - </div> - </div> - - @@foreach (var childPage in Children) { - if (childPage.IsPrivate) { - continue; - } - <NavLinkComponent Page=childPage></NavLinkComponent> - } - </div> - - <style> - .sectionContainer { - display: flex; - flex-direction: column; - gap: 4px; - justify-content: flex-start; - position: relative; - margin-top: 12px; - padding: 18px; - width: 300px; - margin-left: 4px; - } - - .sectionHeader { - bottom: 100%; - position: absolute; - top: 0px; - left: -8px; - padding-right: 12px; - padding-left: 4px; - width: 100%; - display: flex; - line-height: 0px; - } - - .sectionTitle { - font-weight: bold; - padding-right: 8px; - margin-top: -2px; - white-space: pre; - } - </style> - - @@code { - [Parameter] public WebSectionModel? Section { get; set; } - [Parameter] public List<WebPageModel>? Children { get; set; } - } - - - - \ No newline at end of file diff --git a/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor b/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor deleted file mode 100644 index 3740308..0000000 --- a/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor +++ /dev/null @@ -1,19 +0,0 @@ - -
@RoadMap.Name
-
@((MarkupString)RoadMap.Description)
-
- - - -@code { - - [Parameter] - public ImmortalRoadMapModel? RoadMap { get; set; } - -} \ No newline at end of file diff --git a/IGP/Pages/RoadMap/RoadMapPage.razor b/IGP/Pages/RoadMap/RoadMapPage.razor deleted file mode 100644 index 2deeb68..0000000 --- a/IGP/Pages/RoadMap/RoadMapPage.razor +++ /dev/null @@ -1,32 +0,0 @@ -@layout PageLayout - -@inherits BasePage - -@inject IDataCollectionService DataCollectionService - -@page "/roadmap" - - - Road Map - -
- @foreach (var roadMap in data) - { - - } -
-
- - - -@code { - readonly List data = ImmortalRoadMapModel.Data; -} \ No newline at end of file diff --git a/IGP/_Imports.razor b/IGP/_Imports.razor index 74a4d0a..e57bfda 100644 --- a/IGP/_Imports.razor +++ b/IGP/_Imports.razor @@ -8,25 +8,18 @@ @using Components.Shared @using IGP.Dialog @using IGP.Pages -@using IGP.Pages.Agile.Parts @using IGP.Pages.BuildCalculator @using IGP.Pages.BuildCalculator.Parts -@using IGP.Pages.Comparision -@using IGP.Pages.Comparision.Parts @using IGP.Pages.Database.Entity @using IGP.Pages.Database.Entity.Parts @using IGP.Pages.Database.Parts -@using IGP.Pages.Documentation -@using IGP.Pages.Documentation.Parts @using IGP.Pages.EconomyComparison @using IGP.Pages.EconomyComparison.Parts @using IGP.Pages.Home @using IGP.Pages.Home.Parts -@using IGP.Pages.MakingOf.Parts @using IGP.Pages.MemoryTester.Parts @using IGP.Pages.Notes @using IGP.Pages.Notes.Parts -@using IGP.Pages.RoadMap.Parts @using IGP.Portals @using IGP.Utils @using Markdig