Mark tables as responsive
parent
95f6d21143
commit
7218793407
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Table TItem="Data.Models.Action" DataSource="@Actions" HidePagination="true" Style="border: 1px solid #f0f0f0">
|
<Table TItem="Data.Models.Action" DataSource="@Actions" HidePagination="true" Style="border: 1px solid #f0f0f0" Responsive>
|
||||||
<PropertyColumn Property="a => a.Name">
|
<PropertyColumn Property="a => a.Name">
|
||||||
<Input Type="text" @bind-Value="context.Name" />
|
<Input Type="text" @bind-Value="context.Name" />
|
||||||
</PropertyColumn>
|
</PropertyColumn>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<Space Direction="DirectionVHType.Vertical" Style="width: 100%">
|
<Space Direction="DirectionVHType.Vertical" Style="width: 100%">
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Table TItem="Archive" DataSource="@Game.Archives.OrderByDescending(a => a.CreatedOn)" HidePagination="true">
|
<Table TItem="Archive" DataSource="@Game.Archives.OrderByDescending(a => a.CreatedOn)" HidePagination="true" Responsive>
|
||||||
<PropertyColumn Property="a => a.Version" />
|
<PropertyColumn Property="a => a.Version" />
|
||||||
<PropertyColumn Property="a => a.CompressedSize">
|
<PropertyColumn Property="a => a.CompressedSize">
|
||||||
@ByteSizeLib.ByteSize.FromBytes(context.CompressedSize)
|
@ByteSizeLib.ByteSize.FromBytes(context.CompressedSize)
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
Loading="Loading"
|
Loading="Loading"
|
||||||
OnRowClick="OnRowClicked"
|
OnRowClick="OnRowClicked"
|
||||||
@bind-SelectedRows="SelectedResults"
|
@bind-SelectedRows="SelectedResults"
|
||||||
ScrollY="calc(100vh - 55px - 55px - 53px)">
|
ScrollY="calc(100vh - 55px - 55px - 53px)"
|
||||||
|
Responsive>
|
||||||
|
|
||||||
<Selection Key="@context.IGDBId.ToString()" Type="radio" />
|
<Selection Key="@context.IGDBId.ToString()" Type="radio" />
|
||||||
<PropertyColumn Property="g => g.Title" Title="Title" />
|
<PropertyColumn Property="g => g.Title" Title="Title" />
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Table TItem="Key" DataSource="@Keys">
|
<Table TItem="Key" DataSource="@Keys" Responsive>
|
||||||
<PropertyColumn Property="k => k.Value">
|
<PropertyColumn Property="k => k.Value">
|
||||||
<InputPassword @bind-Value="@context.Value" />
|
<InputPassword @bind-Value="@context.Value" />
|
||||||
</PropertyColumn>
|
</PropertyColumn>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Table TItem="MultiplayerMode" DataSource="@Value" HidePagination="true">
|
<Table TItem="MultiplayerMode" DataSource="@Value" HidePagination="true" Responsive>
|
||||||
<PropertyColumn Property="m => m.Type">
|
<PropertyColumn Property="m => m.Type">
|
||||||
<Select @bind-Value="context.Type" TItem="MultiplayerType" TItemValue="MultiplayerType" DataSource="Enum.GetValues<MultiplayerType>()">
|
<Select @bind-Value="context.Type" TItem="MultiplayerType" TItemValue="MultiplayerType" DataSource="Enum.GetValues<MultiplayerType>()">
|
||||||
<LabelTemplate Context="Value">@Value.GetDisplayName()</LabelTemplate>
|
<LabelTemplate Context="Value">@Value.GetDisplayName()</LabelTemplate>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Table TItem="SavePath" DataSource="@Value" HidePagination="true">
|
<Table TItem="SavePath" DataSource="@Value" HidePagination="true" Responsive>
|
||||||
<PropertyColumn Property="p => p.Type">
|
<PropertyColumn Property="p => p.Type">
|
||||||
<Select @bind-Value="context.Type" TItem="SavePathType" TItemValue="SavePathType" DataSource="Enum.GetValues<SavePathType>()" />
|
<Select @bind-Value="context.Type" TItem="SavePathType" TItemValue="SavePathType" DataSource="Enum.GetValues<SavePathType>()" />
|
||||||
</PropertyColumn>
|
</PropertyColumn>
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Table TItem="Script" DataSource="@Scripts" HidePagination="true">
|
<Table TItem="Script" DataSource="@Scripts" HidePagination="true" Responsive>
|
||||||
<PropertyColumn Property="s => s.Type">@context.Type.GetDisplayName()</PropertyColumn>
|
<PropertyColumn Property="s => s.Type">@context.Type.GetDisplayName()</PropertyColumn>
|
||||||
<PropertyColumn Property="s => s.CreatedBy">
|
<PropertyColumn Property="s => s.CreatedBy">
|
||||||
@context.CreatedBy?.UserName
|
@context.CreatedBy?.UserName
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
@inject ModalService ModalService
|
@inject ModalService ModalService
|
||||||
@inject GameSaveService GameSaveService
|
@inject GameSaveService GameSaveService
|
||||||
|
|
||||||
<Table TItem="GameSave" DataSource="@GameSaves" Loading="@Loading">
|
<Table TItem="GameSave" DataSource="@GameSaves" Loading="@Loading" Responsive>
|
||||||
<PropertyColumn Property="g => g.User" Sortable>
|
<PropertyColumn Property="g => g.User" Sortable>
|
||||||
@context.User?.UserName
|
@context.User?.UserName
|
||||||
</PropertyColumn>
|
</PropertyColumn>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
These archives are missing their backing file in the "Upload" directory of your server. This may result in broken downloads for clients. To fix, either upload a new file or delete the offending archive.
|
These archives are missing their backing file in the "Upload" directory of your server. This may result in broken downloads for clients. To fix, either upload a new file or delete the offending archive.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<Table TItem="Archive" DataSource="@Archives" Loading="@Loading">
|
<Table TItem="Archive" DataSource="@Archives" Loading="@Loading" Responsive>
|
||||||
<PropertyColumn Property="a => a.Version" Sortable />
|
<PropertyColumn Property="a => a.Version" Sortable />
|
||||||
<PropertyColumn Property="a => a.Game.Title" />
|
<PropertyColumn Property="a => a.Game.Title" />
|
||||||
<PropertyColumn Property="a => a.CreatedOn" Format="MM/dd/yyyy hh:mm tt" Sortable />
|
<PropertyColumn Property="a => a.CreatedOn" Format="MM/dd/yyyy hh:mm tt" Sortable />
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
These files exist on the server, but aren't linked in the database. Use this tool to identify and delete orphaned files.
|
These files exist on the server, but aren't linked in the database. Use this tool to identify and delete orphaned files.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<Table TItem="OrphanedFile" DataSource="@Orphans" Loading="@Loading" PageSize="25">
|
<Table TItem="OrphanedFile" DataSource="@Orphans" Loading="@Loading" PageSize="25" Responsive>
|
||||||
<PropertyColumn Property="f => f.Path" />
|
<PropertyColumn Property="f => f.Path" />
|
||||||
<PropertyColumn Property="f => f.Size" Sortable>
|
<PropertyColumn Property="f => f.Size" Sortable>
|
||||||
@ByteSizeLib.ByteSize.FromBytes(context.Size).ToString()
|
@ByteSizeLib.ByteSize.FromBytes(context.Size).ToString()
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<PageHeader Title="Users" />
|
<PageHeader Title="Users" />
|
||||||
|
|
||||||
<div style="padding: 0 24px;">
|
<div style="padding: 0 24px;">
|
||||||
<Table TItem="UserViewModel" DataSource="@UserList" Loading="@(Loading)">
|
<Table TItem="UserViewModel" DataSource="@UserList" Loading="@(Loading)" Responsive>
|
||||||
<PropertyColumn Property="u => u.UserName" Title="Username" />
|
<PropertyColumn Property="u => u.UserName" Title="Username" />
|
||||||
<PropertyColumn Property="u => u.Roles">
|
<PropertyColumn Property="u => u.Roles">
|
||||||
@String.Join(", ", context.Roles)
|
@String.Join(", ", context.Roles)
|
||||||
|
|
Loading…
Reference in New Issue