26 lines
685 B
Plaintext
26 lines
685 B
Plaintext
@page "/all"
|
|
|
|
@using FoodsharingSiegen.Contracts.Enums
|
|
@using FoodsharingSiegen.Shared.Helper
|
|
@inherits FsBase
|
|
|
|
<PageTitle>Alle (Admin) - @AppSettings.Terms.Title</PageTitle>
|
|
<h2>Alle (Admin)</h2>
|
|
|
|
@if (AppSettings.TestMode)
|
|
{
|
|
<div class="alert alert-danger"><strong>TESTMODUS!</strong> Änderungen werden wieder gelöscht.</div>
|
|
}
|
|
|
|
@{
|
|
var filterList = ProspectList.ApplyFilter(Filter);
|
|
}
|
|
|
|
<hr/>
|
|
<ProspectFilterControl Filter="Filter" FilterChanged="FilterChangedAsync" StateFilter="ProspectStateFilter.All"></ProspectFilterControl>
|
|
<hr />
|
|
<ProspectGrid
|
|
Prospects="filterList"
|
|
OnDataChanged="@LoadProspects"
|
|
StateFilter="ProspectStateFilter.All">
|
|
</ProspectGrid> |