mirror of
https://github.com/EpicMorg/jira-issue-web-reporter.git
synced 2025-03-30 22:28:59 +03:00
* Updated `Readme` * Fixed cookie bug * Added `Jira OAuth` support * Updated dependencies: * `Bootstrap` and `Bootswatch`: `4` to `5` major release * `jQuery` minor update to `3.7.1` * `fontawesome`: `5` to `6` major release * `Atlassian SDK` to `13.0.0` version * migtateed to bs5 and rebase this commit
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
@inject IOptions<CaptchaConfig> captchaConfig
|
|
@model CheckRequest
|
|
<form asp-action="Check" id="form" asp-all-route-data="new Dictionary<string, string>()">
|
|
<div class="mb-3">
|
|
<div class="">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
<label asp-for="Issue"><i class="fas fa-keyboard"></i> <span data-localize="label-enter-issue-key">Enter issue key</span>:</label>
|
|
<input type="text" asp-for="Issue" class="form-control" placeholder="ABC-123" value="" required>
|
|
<span asp-validation-for="Issue" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<div class="">
|
|
<div class="g-recaptcha" data-sitekey="@captchaConfig.Value.Key" data-callback="recaptchaCallback"></div>
|
|
</div>
|
|
<span asp-validation-for="Captcha" class="text-danger"></span>
|
|
</div>
|
|
|
|
<div class="">
|
|
<button class="btn btn-primary btn-lg w-100" type="submit"><span data-localize="label-check">Check</span> <i class="fas fa-hand-pointer"></i></button>
|
|
</div>
|
|
</form>
|
|
|
|
@section Head {
|
|
<script src='https://www.google.com/recaptcha/api.js'></script>
|
|
}
|
|
@section Scripts {
|
|
@{await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
|
}
|