This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Mitchel Sellers f8a048e5ac ActionLink Improvements
Adjustment to ActionLink component to support custom button classes.  Adjustment of all button styles inside of the project to swap to either btn-danger for delete operations or btn-secondary for cancel operations for consistency.
2019-05-17 23:55:55 -05:00

30 lines
1.0 KiB
Plaintext

@using Microsoft.AspNetCore.Components.Routing
@using Oqtane.Shared
@using Oqtane.Modules
@using Microsoft.JSInterop
@using Oqtane.Client.Modules.Controls
@inherits ModuleBase
@inject IUriHelper UriHelper
@inject IJSRuntime jsRuntime
<div class="container">
<div class="form-group">
<label for="Username" class="control-label">Email: </label>
<input type="text" name="Username" class="form-control" placeholder="Username" bind="@Username" />
</div>
<div class="form-group">
<label for="Password" class="control-label">Password: </label>
<input type="password" name="Password" class="form-control" placeholder="Password" bind="@Password" />
</div>
<button type="button" class="btn btn-primary">Register</button>
<NavLink class="btn btn-secondary" href="/">Cancel</NavLink>
</div>
@functions {
public override SecurityAccessLevelEnum SecurityAccessLevel { get { return SecurityAccessLevelEnum.Anonymous; } }
public string Username { get; set; } = "";
public string Password { get; set; } = "";
}