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
ae0020ff
Commit
ae0020ff
authored
Nov 19, 2018
by
Clint.Network
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding lottery page
parent
10eaa60c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
4 deletions
+52
-4
HomeController.cs
Stratis.Guru/Controllers/HomeController.cs
+6
-0
Stratis.Guru.csproj
Stratis.Guru/Stratis.Guru.csproj
+0
-4
Lottery.cshtml
Stratis.Guru/Views/Home/Lottery.cshtml
+40
-0
package-lock.json
Stratis.Guru/package-lock.json
+5
-0
package.json
Stratis.Guru/package.json
+1
-0
Slider_Landing-1920x650.webp.jpg
Stratis.Guru/wwwroot/images/Slider_Landing-1920x650.webp.jpg
+0
-0
No files found.
Stratis.Guru/Controllers/HomeController.cs
View file @
ae0020ff
...
@@ -66,6 +66,12 @@ namespace Stratis.Guru.Controllers
...
@@ -66,6 +66,12 @@ namespace Stratis.Guru.Controllers
});
});
}
}
[
Route
(
"lottery"
)]
public
IActionResult
Lottery
()
{
return
View
();
}
[
Route
(
"about"
)]
[
Route
(
"about"
)]
public
IActionResult
About
()
public
IActionResult
About
()
{
{
...
...
Stratis.Guru/Stratis.Guru.csproj
View file @
ae0020ff
...
@@ -14,8 +14,4 @@
...
@@ -14,8 +14,4 @@
<PackageReference Include="RestSharp" Version="106.5.4"/>
<PackageReference Include="RestSharp" Version="106.5.4"/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<Folder Include="Documentation"/>
</ItemGroup>
</Project>
</Project>
Stratis.Guru/Views/Home/Lottery.cshtml
0 → 100644
View file @
ae0020ff
@{
ViewBag.Title = "Stratis Lottery";
Layout = "_Layout";
}
@section Style
{
<style>
body {
background-image: url(/images/Slider_Landing-1920x650.webp.jpg);
}
</style>
}
<section class="welcome-area pb-4" 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 class="m-0">The Next <strong>Stratis</strong> Lottery Draw in:</h1>
<h1 class="align-middle">
<span class="align-middle display-1 font-weight-bold" id="amount">
<span id="clock"></span>
</span>
</h1>
<a asp-controller="BlockExplorer" asp-action="Index" class="btn-secondary-box"><i class="fa fa-ticket"></i> Buy a lottery ticket</a>
</div>
</div>
</div>
</div>
</section>
@section Scripts
{
<script src="/npm/jquery-countdown/dist/jquery.countdown.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#clock').countdown('2020/10/10', function(event) {
$(this).html(event.strftime('%Hh %Mm %Ss'));
});
})
</script>
}
Stratis.Guru/package-lock.json
View file @
ae0020ff
...
@@ -14,6 +14,11 @@
...
@@ -14,6 +14,11 @@
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.3.tgz"
,
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.3.tgz"
,
"integrity"
:
"sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w=="
"integrity"
:
"sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w=="
},
},
"jquery-countdown"
:
{
"version"
:
"2.2.0"
,
"resolved"
:
"https://registry.npmjs.org/jquery-countdown/-/jquery-countdown-2.2.0.tgz"
,
"integrity"
:
"sha1-unjtXXzxB7OxysnGugeZfUqi3O8="
},
"nprogress"
:
{
"nprogress"
:
{
"version"
:
"0.2.0"
,
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz"
,
...
...
Stratis.Guru/package.json
View file @
ae0020ff
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
"dependencies"
:
{
"dependencies"
:
{
"@aspnet/signalr"
:
"^1.0.4"
,
"@aspnet/signalr"
:
"^1.0.4"
,
"bootstrap"
:
"^4.1.3"
,
"bootstrap"
:
"^4.1.3"
,
"jquery-countdown"
:
"^2.2.0"
,
"nprogress"
:
"^0.2.0"
"nprogress"
:
"^0.2.0"
}
}
}
}
Stratis.Guru/wwwroot/images/Slider_Landing-1920x650.webp.jpg
0 → 100644
View file @
ae0020ff
443 KB
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