Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
guru
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
guru
Commits
74a8a0a2
Commit
74a8a0a2
authored
Oct 17, 2018
by
Clint Mourlevat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create vanity generator page
parent
7736b4df
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
19 deletions
+26
-19
HomeController.cs
Controllers/HomeController.cs
+6
-0
Vanity.cshtml
Views/Home/Vanity.cshtml
+19
-0
_Layout.cshtml
Views/Shared/_Layout.cshtml
+1
-1
_ValidationScriptsPartial.cshtml
Views/Shared/_ValidationScriptsPartial.cshtml
+0
-18
No files found.
Controllers/HomeController.cs
View file @
74a8a0a2
...
...
@@ -53,6 +53,12 @@ namespace Stratis.Guru.Controllers
return
View
();
}
[
Route
(
"vanity"
)]
public
IActionResult
Vanity
()
{
return
View
();
}
[
Route
(
"generator"
)]
public
IActionResult
Generator
()
{
...
...
Views/Home/Vanity.cshtml
0 → 100644
View file @
74a8a0a2
@{
ViewBag.Title = "Vanity Address Generator";
Layout = "_Layout";
}
<section class="welcome-area" id="welcome-1">
<div class="header-token">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 align-self-center text-center">
<h1><strong>Vanity </strong>Address Generator</h1>
<p>Generate a vanity address with a prefix that you define, by example <span class="text-warning">STRAT</span>nhRnMqJNoeDiCFUnaug7TKHJocwDd</p>
<a href="https://github.com/clintnetwork/stratis-guru-v2" target="_blank" class="btn-secondary-box"><i class="fa fa-github"></i> Browse Source on Github</a>
</div>
</div>
</div>
</div>
</section>
\ No newline at end of file
Views/Shared/_Layout.cshtml
View file @
74a8a0a2
...
...
@@ -26,7 +26,7 @@
</a>
<ul
class=
"nav"
>
<li><a
asp-action=
"Index"
asp-controller=
"Home"
><i
class=
"fa fa-home"
></i>
HOME
</a></li>
<li><a
asp-action=
"
Explorer
"
asp-controller=
"Home"
><i
class=
"fa fa-at"
></i>
VANITY
</a></li>
<li><a
asp-action=
"
Vanity
"
asp-controller=
"Home"
><i
class=
"fa fa-at"
></i>
VANITY
</a></li>
<li><a
asp-action=
"Generator"
asp-controller=
"Home"
><i
class=
"fa fa-qrcode"
></i>
ADDRESS GENERATOR
</a></li>
<li><a
asp-action=
"About"
asp-controller=
"Home"
><i
class=
"fa fa-info-circle"
></i>
ABOUT
</a></li>
<li><a
asp-action=
"Contact"
asp-controller=
"Home"
><i
class=
"fa fa-envelope"
></i>
CONTACT
</a></li>
...
...
Views/Shared/_ValidationScriptsPartial.cshtml
deleted
100644 → 0
View file @
7736b4df
<environment include="Development">
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment exclude="Development">
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.17.0/jquery.validate.min.js"
asp-fallback-src="~/lib/jquery-validation/dist/jquery.validate.min.js"
asp-fallback-test="window.jQuery && window.jQuery.validator"
crossorigin="anonymous"
integrity="sha384-rZfj/ogBloos6wzLGpPkkOr/gpkBNLZ6b6yLy4o+ok+t/SAKlL5mvXLr0OXNi1Hp">
</script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validation.unobtrusive/3.2.9/jquery.validate.unobtrusive.min.js"
asp-fallback-src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"
asp-fallback-test="window.jQuery && window.jQuery.validator && window.jQuery.validator.unobtrusive"
crossorigin="anonymous"
integrity="sha384-ifv0TYDWxBHzvAk2Z0n8R434FL1Rlv/Av18DXE43N/1rvHyOG4izKst0f2iSLdds">
</script>
</environment>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment