Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates a settings page with controls for importing and exporting subscriptions #157

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions subtrack.MAUI/Pages/Settings.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@page "/settings"
<div class="d-flex justify-content-start mb-3">
<div class="p-2">Import</div>
<div class="p-2">
<InputFile />
</div>
</div>
<div class="d-flex justify-content-start mb-3">
<div class="p-2">
Last Export:
</div>
<div class="p-2">
<button class="btn btn-secondary"><i class="bi bi-share-fill"></i></button>
</div>
</div>

@code {

}
5 changes: 5 additions & 0 deletions subtrack.MAUI/Shared/NavBar.razor
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@
<i class="bi bi-calendar" style="font-size: 1.65rem;"></i>
</NavLink>
</li>
<li class="nav-item ms-4">
<NavLink class="nav-link d-flex flex-column align-items-center pb-4 px-2" href="settings" Match="NavLinkMatch.Prefix">
<i class="bi bi-gear" style="font-size: 1.65rem;"></i>
</NavLink>
</li>
</ul>
</nav>
Loading