Mark tables as responsive
This commit is contained in:
		
							parent
							
								
									95f6d21143
								
							
						
					
					
						commit
						7218793407
					
				
					 11 changed files with 12 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@
 | 
			
		|||
 | 
			
		||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
 | 
			
		||||
    <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">
 | 
			
		||||
                <Input Type="text" @bind-Value="context.Name" />
 | 
			
		||||
            </PropertyColumn>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@
 | 
			
		|||
 | 
			
		||||
<Space Direction="DirectionVHType.Vertical" Style="width: 100%">
 | 
			
		||||
    <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.CompressedSize">
 | 
			
		||||
                @ByteSizeLib.ByteSize.FromBytes(context.CompressedSize)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,8 @@
 | 
			
		|||
        Loading="Loading"
 | 
			
		||||
        OnRowClick="OnRowClicked"
 | 
			
		||||
        @bind-SelectedRows="SelectedResults"
 | 
			
		||||
        ScrollY="calc(100vh - 55px - 55px - 53px)">
 | 
			
		||||
        ScrollY="calc(100vh - 55px - 55px - 53px)"
 | 
			
		||||
        Responsive>
 | 
			
		||||
 | 
			
		||||
        <Selection Key="@context.IGDBId.ToString()" Type="radio" />
 | 
			
		||||
        <PropertyColumn Property="g => g.Title" Title="Title" />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
        </SpaceItem>
 | 
			
		||||
 | 
			
		||||
        <SpaceItem>
 | 
			
		||||
            <Table TItem="Key" DataSource="@Keys">
 | 
			
		||||
            <Table TItem="Key" DataSource="@Keys" Responsive>
 | 
			
		||||
                <PropertyColumn Property="k => k.Value">
 | 
			
		||||
                    <InputPassword @bind-Value="@context.Value" />
 | 
			
		||||
                </PropertyColumn>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
 | 
			
		||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
 | 
			
		||||
    <SpaceItem>
 | 
			
		||||
        <Table TItem="MultiplayerMode" DataSource="@Value" HidePagination="true">
 | 
			
		||||
        <Table TItem="MultiplayerMode" DataSource="@Value" HidePagination="true" Responsive>
 | 
			
		||||
            <PropertyColumn Property="m => m.Type">
 | 
			
		||||
                <Select @bind-Value="context.Type" TItem="MultiplayerType" TItemValue="MultiplayerType" DataSource="Enum.GetValues<MultiplayerType>()">
 | 
			
		||||
                    <LabelTemplate Context="Value">@Value.GetDisplayName()</LabelTemplate>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
 | 
			
		||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
 | 
			
		||||
    <SpaceItem>
 | 
			
		||||
        <Table TItem="SavePath" DataSource="@Value" HidePagination="true">
 | 
			
		||||
        <Table TItem="SavePath" DataSource="@Value" HidePagination="true" Responsive>
 | 
			
		||||
            <PropertyColumn Property="p => p.Type">
 | 
			
		||||
                <Select @bind-Value="context.Type" TItem="SavePathType" TItemValue="SavePathType" DataSource="Enum.GetValues<SavePathType>()" />
 | 
			
		||||
            </PropertyColumn>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,7 +71,7 @@
 | 
			
		|||
 | 
			
		||||
<Space Direction="DirectionVHType.Vertical" Size="@("large")" Style="width: 100%">
 | 
			
		||||
    <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.CreatedBy">
 | 
			
		||||
                @context.CreatedBy?.UserName
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,7 @@
 | 
			
		|||
@inject ModalService ModalService
 | 
			
		||||
@inject GameSaveService GameSaveService
 | 
			
		||||
 | 
			
		||||
<Table TItem="GameSave" DataSource="@GameSaves" Loading="@Loading">
 | 
			
		||||
<Table TItem="GameSave" DataSource="@GameSaves" Loading="@Loading" Responsive>
 | 
			
		||||
    <PropertyColumn Property="g => g.User" Sortable>
 | 
			
		||||
        @context.User?.UserName
 | 
			
		||||
    </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.
 | 
			
		||||
    </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.Game.Title" />
 | 
			
		||||
        <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.
 | 
			
		||||
    </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.Size" Sortable>
 | 
			
		||||
            @ByteSizeLib.ByteSize.FromBytes(context.Size).ToString()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
<PageHeader Title="Users" />
 | 
			
		||||
 | 
			
		||||
<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.Roles">
 | 
			
		||||
            @String.Join(", ", context.Roles)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue