Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix label attribute and cards alignment #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ExampleProject.Server/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<AuthorizeView Roles="EthereumConnected">
<Authorized>
<div class="card m-1">
<div class="card my-1">
<div class="card-body">
<div class="row">
<label class="col-sm-3 col-form-label-lg">Selected Account:</label>
Expand Down Expand Up @@ -45,7 +45,7 @@
</div>
</div>

<div class="card m-1">
<div class="card my-1">
<div class="card-body">
<div class="row">
<label class="col-sm-3 col-form-label-lg">Block hash of block number 0:</label>
Expand Down
4 changes: 2 additions & 2 deletions ExampleProject.Wasm/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<AuthorizeView Roles="EthereumConnected">
<Authorized>
<div class="card m-1">
<div class="card my-1">
<div class="card-body">
<div class="row">
<label class="col-sm-3 col-form-label-lg">Selected Account:</label>
Expand Down Expand Up @@ -45,7 +45,7 @@
</div>
</div>

<div class="card m-1">
<div class="card my-1">
<div class="card-body">
<div class="row">
<label class="col-sm-3 col-form-label-lg">Block hash of block number 0:</label>
Expand Down
6 changes: 3 additions & 3 deletions Nethereum.Erc20.Blazor/Erc20Transfer.razor
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<EditForm Model="transferModel" OnValidSubmit="@TransferAsync">
<FluentValidator Validator="@validator"></FluentValidator>
<div class="form-group row">
<label for="" class="col-sm-1 col-form-label">Contract Address:</label>
<label for="TokenContractAddress" class="col-sm-1 col-form-label">Contract Address:</label>
<div class="col-sm-10">
<InputText id="TokenContractAddress" class="form-control" @bind-Value="transferModel.ERC20Contract.Address" type="text" />
<small id="TokenContractAddressHelp" class="form-text text-muted">The ERC20 contract address</small>
<ValidationMessage For="() => transferModel.ERC20Contract.Address"></ValidationMessage>
</div>
</div>
<div class="form-group row">
<label for="" class="col-sm-1 col-form-label">Decimal Places:</label>
<label for="TokenDecimalPlaces" class="col-sm-1 col-form-label">Decimal Places:</label>
<div class="col-sm-10">
<input id="TokenDecimalPlaces" class="form-control" @bind="transferModel.ERC20Contract.DecimalPlaces" type="text" />
<small id="TokenDecimalPlacesHelp" class="form-text text-muted">The number of decimal places of ERC20 Token</small>
Expand All @@ -38,7 +38,7 @@
</div>

<div class="form-group row">
<label for="etherAmount" class="col-sm-1 col-form-label">Token Amount:</label>
<label for="tokenAmount" class="col-sm-1 col-form-label">Token Amount:</label>
<div class="col-sm-10">
<input id="tokenAmount" class="form-control" @bind="transferModel.Value" type="text" />
<small id="tokenAmountHelp" class="form-text text-muted">The token amount to transfer</small>
Expand Down