19 lines
710 B
Plaintext
19 lines
710 B
Plaintext
@model string
|
|
@{
|
|
ViewData["Title"] = "Start page";
|
|
}
|
|
<h1>Start page</h1>
|
|
<form asp-action="Startup" method="post" class="story-bible-card">
|
|
<label for="page" class="form-label">Open after sign-in on this browser</label>
|
|
<select id="page" name="page" class="form-select">
|
|
@foreach (var choice in ApplicationStartup.Destinations)
|
|
{
|
|
<option value="@choice.Key" selected="@(Model == choice.Key)">@choice.Value.Label</option>
|
|
}
|
|
</select>
|
|
<div class="button-row mt-3" data-pwa-context="Record">
|
|
<button class="btn btn-primary" type="submit">Save start page</button>
|
|
<a asp-controller="Projects" asp-action="Index">Cancel</a>
|
|
</div>
|
|
</form>
|