51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
@page "/"
|
|
@page "/EditJWD"
|
|
@rendermode InteractiveServer
|
|
|
|
<PageTitle>EditJWD</PageTitle>
|
|
|
|
@if (doEdit)
|
|
{
|
|
<WebWindowComplex.TableComp ListPayload="SetupList"
|
|
LiveData="CurrData"
|
|
PendReq="DictPendReq"
|
|
BaseUser="User"
|
|
Vocabulary="TradVocabulary"
|
|
EC_ActionReq="DoAction"
|
|
EC_DoUpdate="ExecRequest"
|
|
EC_OnClose="CloseObj"
|
|
EC_UpdateReqPend="PendAction"
|
|
EC_ReqTraduzione="Traduzione">
|
|
</WebWindowComplex.TableComp>
|
|
}
|
|
else
|
|
{
|
|
<div class="d-flex justify-content-between">
|
|
<div class="px-0">
|
|
<button class="btn btn-primary" @onclick="SetEdit">Click per editare</button>
|
|
</div>
|
|
<div class="px-0">
|
|
<button class="btn btn-primary" @onclick="() => ToggleJwd()">Toggle JWD</button>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
@if (!string.IsNullOrEmpty(outClose))
|
|
{
|
|
<div class="alert alert-danger fs-4">
|
|
@outClose
|
|
</div>
|
|
}
|
|
else if (!string.IsNullOrEmpty(outSave))
|
|
{
|
|
<div class="alert alert-success fs-4">
|
|
@outSave
|
|
</div>
|
|
}
|
|
|
|
<div class="card">
|
|
<div class="card-body small">
|
|
@JsonSer
|
|
</div>
|
|
</div>
|