This commit is contained in:
Ed Charbeneau 2020-07-02 14:39:10 -04:00
Родитель 7f3a52a920
Коммит 3dbad393ca
6 изменённых файлов: 10 добавлений и 55 удалений

Просмотреть файл

@ -13,14 +13,9 @@
</div>
<div class="k-card-actions k-card-actions-stretched">
@ActionTemplate
@*<span class="k-card-action"><span class="k-button k-flat k-primary">Map</span></span>
<span class="k-card-action"><span class="k-button k-flat k-primary">Weather</span></span>*@
</div>
<div class="k-card-footer">
@FooterTemplate
@*<a class="k-button k-flat k-button-icon"><span class="k-icon k-i-facebook"></span></a>
<a class="k-button k-flat k-button-icon"><span class="k-icon k-i-pinterest"></span></a>
<a class="k-button k-flat k-button-icon"><span class="k-icon k-i-twitter"></span></a>*@
</div>
</div>

Просмотреть файл

@ -1,6 +0,0 @@
@inherits LayoutComponentBase
@layout MainLayout
<div id="Dashboard" class="dashboard-page main-content">
@Body
</div>

Просмотреть файл

@ -1,36 +0,0 @@
@if (Employees == null)
{
<p><em>Loading...</em></p>
}
else
{
<table class="table">
<thead>
<tr>
<th>@nameof(Employee.Id)</th>
<th>@nameof(Employee.FullName)</th>
<th>@nameof(Employee.Address)</th>
<th>@nameof(Employee.Budget)</th>
<th>@nameof(Employee.Phone)</th>
<th>@nameof(Employee.Team)</th>
</tr>
</thead>
<tbody>
@foreach (var employee in Employees)
{
<tr>
<td>@employee.Id</td>
<td>@employee.FullName</td>
<td>@employee.Address</td>
<td>@employee.Budget</td>
<td>@employee.Phone</td>
<td style="color: @employee.Team.TeamColor">@employee.Team.TeamName</td>
</tr>
}
</tbody>
</table>
}
@code {
[Parameter] public Employee[] Employees { get; set; }
}

Просмотреть файл

@ -1,6 +0,0 @@
@inherits LayoutComponentBase
@layout MainLayout
<div class="full-screen">
@Body
</div>

Просмотреть файл

@ -0,0 +1,7 @@
@namespace BlazingCoffee.Client.Shared
@inherits LayoutComponentBase
@layout MainLayout
<div class="full-screen">
@Body
</div>

Просмотреть файл

@ -1,4 +1,5 @@
@inherits LayoutComponentBase
@namespace BlazingCoffee.Client.Shared
@inherits LayoutComponentBase
@inject NavigationManager navigationManger
@using BlazingCoffee.Client.Shared.NavMenu
@ -70,7 +71,7 @@
new DrawerItem{ Text = "Telerik", Icon = IconName.HyperlinkGlobe, Url="https://telerik.com", Group = "ext"},
new DrawerItem{ Text = "Documentation", Icon = IconName.Html, Url="https://docs.telerik.com/blazor-ui/introduction", Group = "ext"},
new DrawerItem{ Text = "Support", Icon = IconName.Question, Url="https://www.telerik.com/account/support-tickets", Group = "ext"}
};
};
string SelectedTheme = "auto";
IEnumerable<string> Themes => new List<string> { "auto" }; // TODO add manual settings, "light", "dark" };