Hide more advanced options in edit/add page until game is created
This commit is contained in:
parent
c767d72926
commit
57eb454dcc
1 changed files with 40 additions and 37 deletions
|
@ -74,47 +74,50 @@
|
||||||
</Card>
|
</Card>
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
|
||||||
<SpaceItem>
|
@if (Game.Id != Guid.Empty)
|
||||||
<Card Title="Actions">
|
{
|
||||||
<Body>
|
<SpaceItem>
|
||||||
<ActionEditor Game="Game" />
|
<Card Title="Actions">
|
||||||
</Body>
|
<Body>
|
||||||
</Card>
|
<ActionEditor Game="Game" />
|
||||||
</SpaceItem>
|
</Body>
|
||||||
|
</Card>
|
||||||
|
</SpaceItem>
|
||||||
|
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Card Title="Multiplayer Modes">
|
<Card Title="Multiplayer Modes">
|
||||||
<Body>
|
<Body>
|
||||||
<MultiplayerModeEditor Game="Game" />
|
<MultiplayerModeEditor Game="Game" />
|
||||||
</Body>
|
</Body>
|
||||||
</Card>
|
</Card>
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Card Title="Keys">
|
<Card Title="Keys">
|
||||||
<Extra>
|
<Extra>
|
||||||
<Button OnClick="() => KeysEditor.Edit()">Edit</Button>
|
<Button OnClick="() => KeysEditor.Edit()">Edit</Button>
|
||||||
<Button OnClick="() => KeysEditor.View()" Type="@ButtonType.Primary">View</Button>
|
<Button OnClick="() => KeysEditor.View()" Type="@ButtonType.Primary">View</Button>
|
||||||
</Extra>
|
</Extra>
|
||||||
<Body>
|
<Body>
|
||||||
<KeysEditor @ref="KeysEditor" Game="Game" />
|
<KeysEditor @ref="KeysEditor" Game="Game" />
|
||||||
</Body>
|
</Body>
|
||||||
</Card>
|
</Card>
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Card Title="Scripts">
|
<Card Title="Scripts">
|
||||||
<Body>
|
<Body>
|
||||||
<ScriptEditor Game="Game" />
|
<ScriptEditor Game="Game" />
|
||||||
</Body>
|
</Body>
|
||||||
</Card>
|
</Card>
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Card Title="Archives">
|
<Card Title="Archives">
|
||||||
<ArchiveUploader Game="Game" />
|
<ArchiveUploader Game="Game" />
|
||||||
</Card>
|
</Card>
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
}
|
||||||
</Space>
|
</Space>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
Loading…
Add table
Reference in a new issue