Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (51 sloc) 2.21 KB
@model Aiursoft.Developer.Models.ToolsViewModels.QRCodeViewModel
@{
ViewData["Title"] = "QRCode Generator";
ViewData["Des"] = "Generate your QR Code by your input.";
Layout = "../Home/_Layout";
}
<div class="jumbotron">
<div class="container">
<h3>@ViewBag.Title</h3>
<p>@ViewBag.Des</p>
<div class="btn-group" role="group">
<a class="btn btn-primary btn-lg" href="https://github.com/AiursoftWeb/Nexus/blob/master/Developer/Views/Tools/QRCode.cshtml" target="_blank" role="button">
<i class="fa fa-github"></i>
View it on github
</a>
</div>
</div>
</div>
<div class="container">
<div class="col-lg-12 col-md-12">
<div class="card mb-5 mt-4">
<div class="card-header">
<i class="fa fa-network"></i>
Enter your string
</div>
<div class="card-body">
<form asp-controller="Tools" asp-action="QRCode" method="post" class="row">
<div class="col-md-6">
<h4>Enter the string you want to generate a QR Code.</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">
<label asp-for="SourceString"></label>
<textarea asp-for="SourceString" placeholder="Any string" class="form-control" rows="5"></textarea>
</div>
<div class="form-group">
<button class="btn btn-success" name="Decrypt" value="false" type="submit">Encrypt</button>
<button class="btn btn-secondary" name="Decrypt" value="true" type="submit">Decrypt</button>
</div>
</div>
<div class="col-md-6">
@if (!string.IsNullOrWhiteSpace(Model.ResultString))
{
<img class="img-fluid" src="@Html.Raw(Model.ResultString)" />
}
</div>
</form>
</div>
</div>
</div>
</div>
You can’t perform that action at this time.