changed color of submit and delete buttons
This commit is contained in:
parent
ed1a03cb24
commit
1ac6cc64a6
7 changed files with 17 additions and 8 deletions
|
@ -35,7 +35,7 @@
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
<ValidationSummary />
|
<ValidationSummary />
|
||||||
<button type="submit">Submit</button>
|
<button type="submit" class="sumbit">Submit</button>
|
||||||
|
|
||||||
</EditForm>
|
</EditForm>
|
||||||
</Authorized>
|
</Authorized>
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
|
|
||||||
</EditForm>
|
</EditForm>
|
||||||
<br/>
|
<br/>
|
||||||
<button type=button @onclick="() => DeleteBuildClicked()">Delete Build</button>
|
<button type="delete" @onclick="() => DeleteBuildClicked()">Delete Build</button>
|
||||||
</AuthorizeView>
|
</AuthorizeView>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,15 +36,14 @@
|
||||||
<br />
|
<br />
|
||||||
<button type="submit">Save</button>
|
<button type="submit">Save</button>
|
||||||
<ValidationSummary />
|
<ValidationSummary />
|
||||||
|
|
||||||
</EditForm>
|
</EditForm>
|
||||||
|
<br/>
|
||||||
|
<button type="delete" @onclick="() => DeleteAccountClicked()">Delete Account</button>
|
||||||
|
|
||||||
@if (_account.GuildWars2AccountId != 0)
|
@if (_account.GuildWars2AccountId != 0)
|
||||||
{
|
{
|
||||||
<br/>
|
<br/>
|
||||||
<BuildList _account=@_account _allowEdit=true></BuildList>
|
<BuildList _account=@_account _allowEdit=true></BuildList>
|
||||||
<br/>
|
|
||||||
<button type=button @onclick="() => DeleteAccountClicked()">Delete Account</button>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</Authorized>
|
</Authorized>
|
||||||
|
|
|
@ -176,7 +176,7 @@
|
||||||
|
|
||||||
</EditForm>
|
</EditForm>
|
||||||
<br/>
|
<br/>
|
||||||
<button type=button @onclick="() => DeleteRaidClicked()">Delete Raid</button>
|
<button type="delete" @onclick="() => DeleteRaidClicked()">Delete Raid</button>
|
||||||
</AuthorizeView>
|
</AuthorizeView>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
|
|
||||||
</EditForm>
|
</EditForm>
|
||||||
<br/>
|
<br/>
|
||||||
<button type=button @onclick="() => DeleteRaidClicked()">Delete Template</button>
|
<button type="delete" @onclick="() => DeleteRaidClicked()">Delete Template</button>
|
||||||
</AuthorizeView>
|
</AuthorizeView>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
</label>
|
</label>
|
||||||
@if (_user.BannedUntil >= DateTime.Now.Date)
|
@if (_user.BannedUntil >= DateTime.Now.Date)
|
||||||
{
|
{
|
||||||
<button type="submit">Ban</button>
|
<button type="delete">Ban</button>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -79,6 +79,16 @@ main {
|
||||||
color: darkgrey;
|
color: darkgrey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::deep button[type="submit"] {
|
||||||
|
color: lightgray;
|
||||||
|
background-color: green;
|
||||||
|
}
|
||||||
|
|
||||||
|
::deep button[type="delete"] {
|
||||||
|
color: lightgray;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
.top-row {
|
.top-row {
|
||||||
background-color: #202020;
|
background-color: #202020;
|
||||||
border-bottom: 1px solid #d6d5d5;
|
border-bottom: 1px solid #d6d5d5;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue