Skip to content

Commit 31577c6

Browse files
authored
Merge pull request #8 from SensitTechnologies/initial-ui-overhaul
This branch removes many of the solution default pages (and their associated components). It also moves site navigation to a top bar from the original side navigation bar. Many of the top panel buttons here will get removed as user specific control is implemented.
2 parents 3341b6c + ef2ae9c commit 31577c6

File tree

6 files changed

+17
-251
lines changed

6 files changed

+17
-251
lines changed

MESS/MESS.Blazor/Components/Layout/MainLayout.razor

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
@inherits LayoutComponentBase
22

33
<div class="page">
4-
<div class="sidebar">
5-
<NavMenu/>
6-
</div>
74

85
<main>
96
<div class="top-row px-4">
10-
<a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>
7+
<NavLink class="btn btn-outline-secondary text-decoration-none" href="" Match="NavLinkMatch.All">
8+
<span>Home</span>
9+
</NavLink>
10+
<NavLink class="btn btn-outline-secondary text-decoration-none" href="workInstruction" Match="NavLinkMatch.All">
11+
<span>Work Instruction</span>
12+
</NavLink>
13+
<NavLink class="btn btn-outline-secondary text-decoration-none" href="products" Match="NavLinkMatch.All">
14+
<span></span> Products
15+
</NavLink>
16+
<NavLink class="btn btn-outline-secondary text-decoration-none" href="production-log" Match="NavLinkMatch.All">
17+
<span></span> Production Logs
18+
</NavLink>
19+
<NavLink class="btn btn-outline-secondary text-decoration-none" href="work-stations" Match="NavLinkMatch.All">
20+
<span></span> Work Stations
21+
</NavLink>
1122
</div>
12-
23+
1324
<article class="content px-4">
1425
@Body
1526
</article>

MESS/MESS.Blazor/Components/Layout/MainLayout.razor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ main {
1515
.top-row {
1616
background-color: #f7f7f7;
1717
border-bottom: 1px solid #d6d5d5;
18-
justify-content: flex-end;
18+
justify-content: flex-start;
1919
height: 3.5rem;
2020
display: flex;
2121
align-items: center;

MESS/MESS.Blazor/Components/Layout/NavMenu.razor

Lines changed: 0 additions & 53 deletions
This file was deleted.

MESS/MESS.Blazor/Components/Layout/NavMenu.razor.css

Lines changed: 0 additions & 105 deletions
This file was deleted.

MESS/MESS.Blazor/Components/Pages/Counter.razor

Lines changed: 0 additions & 20 deletions
This file was deleted.

MESS/MESS.Blazor/Components/Pages/Weather.razor

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)