Commit e8d83115 authored by Clint.Network's avatar Clint.Network

Updating Block Explorer to Lighter version

parent 1ce0942f
...@@ -406,3 +406,4 @@ fabric.properties ...@@ -406,3 +406,4 @@ fabric.properties
appsettings.Development.json appsettings.Development.json
appsettings.json appsettings.json
Stratis.Guru/Startup.cs
Documentation
bin
obj
.vscode
Properties
wwwroot/lib
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BuildBundlerMinifier" Version="2.8.391"/> <DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.6.362" />
<PackageReference Include="Microsoft.AspNetCore.App"/> <PackageReference Include="Microsoft.AspNetCore.App"/>
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All"/> <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All"/>
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.0.4"/> <PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.0.4"/>
......
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
<style> <style>
#crafted { #crafted {
position: relative; position: relative;
color: #111111;
} }
</style> </style>
} }
<partial name="SearchBlock" model="@(new SearchBlockExplorer())" /> <partial name="SearchBlock" model="@(new SearchBlockExplorer())" />
<section class="block-explorer-section"> <section class="block-explorer-section section bg-bottom">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
......
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
<style> <style>
#crafted { #crafted {
position: relative; position: relative;
color: #111111;
} }
</style> </style>
} }
<partial name="SearchBlock" model="@(new SearchBlockExplorer())" /> <partial name="SearchBlock" model="@(new SearchBlockExplorer())" />
<section class="block-explorer-section"> <section class="block-explorer-section section bg-bottom">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
......
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
<style> <style>
#crafted { #crafted {
position: relative; position: relative;
color: #111111;
} }
</style> </style>
} }
<partial name="SearchBlock" /> <partial name="SearchBlock" />
<section class="block-explorer-section section"> <section class="block-explorer-section section bg-bottom">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
<td><a asp-controller="BlockExplorer" asp-action="Block" asp-route-block="@block.blockIndex">@block.blockIndex</a></td> <td><a asp-controller="BlockExplorer" asp-action="Block" asp-route-block="@block.blockIndex">@block.blockIndex</a></td>
<td>@((DateTime.Now - DateTimeOffset.FromUnixTimeSeconds((long)block.blockTime)).TotalMinutes.ToString("N0")) Minutes</td> <td>@((DateTime.Now - DateTimeOffset.FromUnixTimeSeconds((long)block.blockTime)).TotalMinutes.ToString("N0")) Minutes</td>
<td class="text-center">@block.transactionCount</td> <td class="text-center">@block.transactionCount</td>
<td>@block.blockSize kB</td> <td>@block.blockSize bytes</td>
<td><a asp-controller="BlockExplorer" asp-action="BlockHash" asp-route-hash="@block.blockHash">@block.blockHash</a></td> <td><a asp-controller="BlockExplorer" asp-action="BlockHash" asp-route-hash="@block.blockHash">@block.blockHash</a></td>
</tr> </tr>
} }
......
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
<style> <style>
#crafted { #crafted {
position: relative; position: relative;
color: #111111;
} }
</style> </style>
} }
<partial name="SearchBlock" model="@(new SearchBlockExplorer())" /> <partial name="SearchBlock" model="@(new SearchBlockExplorer())" />
<section class="block-explorer-section"> <section class="block-explorer-section section bg-bottom">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
ViewBag.Description = "Stratis.guru reborn from the first version developed in ASP.Net MVC, the new version is made with Microsoft(R) .Net Core and use the NStratis Library."; ViewBag.Description = "Stratis.guru reborn from the first version developed in ASP.Net MVC, the new version is made with Microsoft(R) .Net Core and use the NStratis Library.";
Layout = "_Layout"; Layout = "_Layout";
} }
<div class="shadow-inset"></div>
<section class="welcome-area pb-4" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token"> <div class="header-token">
<div class="container"> <div class="container">
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
ViewBag.Description = "Generate a Stratis address with a public address to receive your coins and a private key that spends your coins."; ViewBag.Description = "Generate a Stratis address with a public address to receive your coins and a private key that spends your coins.";
Layout = "_Layout"; Layout = "_Layout";
} }
<div class="shadow-inset"></div>
<section class="welcome-area pb-4" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token pt-5"> <div class="header-token pt-5">
<div class="container"> <div class="container">
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
@{ @{
ViewBag.Title = "Online Stratis ($STRAT) price ticker"; ViewBag.Title = "Online Stratis ($STRAT) price ticker";
} }
<div class="shadow-inset"></div>
<section class="welcome-area pb-4" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token"> <div class="header-token">
<div class="container"> <div class="container">
...@@ -23,7 +24,7 @@ ...@@ -23,7 +24,7 @@
</section> </section>
@section Scripts @section Scripts
{ {
<script src="~/npm/@@aspnet/signalr/dist/browser/signalr.min.js"></script> <script src="~/lib/@@aspnet/signalr/dist/browser/signalr.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
var stratisPrice = @Model.DisplayPrice.ToString("N", new CultureInfo("en-US")); var stratisPrice = @Model.DisplayPrice.ToString("N", new CultureInfo("en-US"));
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
} }
</style> </style>
} }
<div class="shadow-inset"></div>
<section class="welcome-area pb-4" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token"> <div class="header-token">
<div class="container"> <div class="container">
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
ViewBag.Description = "Generate a vanity address with a prefix that you define, by example STRATnhRnMqJNoeDiCFUnaug7TKHJocwDd."; ViewBag.Description = "Generate a vanity address with a prefix that you define, by example STRATnhRnMqJNoeDiCFUnaug7TKHJocwDd.";
Layout = "_Layout"; Layout = "_Layout";
} }
<div class="shadow-inset"></div>
<section class="welcome-area pb-4" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<form class="header-token" method="post" asp-controller="Home" asp-action="Vanity"> <form class="header-token" method="post" asp-controller="Home" asp-action="Vanity">
<div class="container"> <div class="container">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Stratis.Guru | @ViewBag.Title</title> <title>Stratis.Guru | @ViewBag.Title</title>
<meta name="Content-Language" content="en"> <meta name="Content-Language" content="en">
<meta name="Description" content="@(ViewBag.Description??"Stratis.Guru is a Simple and Free $STRAT ticker, an Stratis Address Generator and a Vanity Address service.")"> <meta name="Description" content="@(ViewBag.Description ?? "Stratis.Guru is a Simple and Free $STRAT ticker, an Stratis Address Generator and a Vanity Address service.")">
<meta name="Keywords" content="stratis,bitcoin,cryptos,cryptocurrencies,coins,$STRAT,ticker,explorer,block explorer,vanity address,stratis block explorer,$strat block explorer,stratis generator,stratis price ticker,stratis preev,stratis vanity address,clint.network,SR2ZXnhRnMqJNoeDiCFUnaug7TKHJocwDd,"> <meta name="Keywords" content="stratis,bitcoin,cryptos,cryptocurrencies,coins,$STRAT,ticker,explorer,block explorer,vanity address,stratis block explorer,$strat block explorer,stratis generator,stratis price ticker,stratis preev,stratis vanity address,clint.network,SR2ZXnhRnMqJNoeDiCFUnaug7TKHJocwDd,">
<meta name="Author" content="Clint.Network"> <meta name="Author" content="Clint.Network">
<meta name="Identifier-Url" content="http://stratis.guru"> <meta name="Identifier-Url" content="http://stratis.guru">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<link href="~/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="~/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="~/css/owl.carousel.min.css" rel="stylesheet" type="text/css"> <link href="~/css/owl.carousel.min.css" rel="stylesheet" type="text/css">
<link href="~/css/owl.theme.default.min.css" rel="stylesheet" type="text/css"> <link href="~/css/owl.theme.default.min.css" rel="stylesheet" type="text/css">
<link href="~/npm/nprogress/nprogress.css" rel="stylesheet" type="text/css"> <link href="~/lib/nprogress/nprogress.css" rel="stylesheet" type="text/css">
<environment include="Development"> <environment include="Development">
<link href="~/css/default.css" rel="stylesheet" type="text/css"> <link href="~/css/default.css" rel="stylesheet" type="text/css">
</environment> </environment>
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
@RenderSection("Style", false) @RenderSection("Style", false)
</head> </head>
<body> <body>
<div class="shadow-inset"></div>
<header class="header-area"> <header class="header-area">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
...@@ -42,13 +41,12 @@ ...@@ -42,13 +41,12 @@
</a> </a>
<ul class="nav"> <ul class="nav">
<li class="@(Context.Request.Path.Equals(Url.Action("Index", "Home")) ? "active":"")"><a asp-action="Index" asp-controller="Home"><i class="fa fa-home"></i> HOME</a></li> <li class="@(Context.Request.Path.Equals(Url.Action("Index", "Home")) ? "active":"")"><a asp-action="Index" asp-controller="Home"><i class="fa fa-home"></i> HOME</a></li>
<li class="@(Context.Request.Path.Equals(Url.Action("Lottery", "Home")) ? "active":"")"><a asp-action="Lottery" asp-controller="Home"><i class="fa fa-trophy"></i> LOTTERY</a></li> @*<li class="@(Context.Request.Path.Equals(Url.Action("Lottery", "Home")) ? "active":"")"><a asp-action="Lottery" asp-controller="Home"><i class="fa fa-trophy"></i> LOTTERY</a></li>*@
<li class="@(Context.Request.Path.Equals(Url.Action("Index", "BlockExplorer")) ? "active":"")"><a asp-action="Index" asp-controller="BlockExplorer"><i class="fa fa-cube"></i> BLOCK EXPLORER</a></li> <li class="@(Context.Request.Path.Equals(Url.Action("Index", "BlockExplorer")) ? "active":"")"><a asp-action="Index" asp-controller="BlockExplorer"><i class="fa fa-cube"></i> BLOCK EXPLORER</a></li>
<li class="@(Context.Request.Path.Equals(Url.Action("Vanity", "Home")) ? "active":"")"><a asp-action="Vanity" asp-controller="Home"><i class="fa fa-at"></i> VANITY</a></li> <li class="@(Context.Request.Path.Equals(Url.Action("Vanity", "Home")) ? "active":"")"><a asp-action="Vanity" asp-controller="Home"><i class="fa fa-at"></i> VANITY</a></li>
<li class="@(Context.Request.Path.Equals(Url.Action("Generator", "Home")) ? "active":"")"><a asp-action="Generator" asp-controller="Home"><i class="fa fa-qrcode"></i> GENERATOR</a></li> <li class="@(Context.Request.Path.Equals(Url.Action("Generator", "Home")) ? "active":"")"><a asp-action="Generator" asp-controller="Home"><i class="fa fa-qrcode"></i> ADDRESS GENERATOR</a></li>
<li class="@(Context.Request.Path.Equals(Url.Action("Documentation", "Home")) ? "active":"")"><a asp-action="Documentation" asp-controller="Home"><i class="fa fa-book"></i> API</a></li> <li class="@(Context.Request.Path.Equals(Url.Action("Documentation", "Home")) ? "active":"")"><a asp-action="Documentation" asp-controller="Home"><i class="fa fa-book"></i> API</a></li>
<li class="@(Context.Request.Path.Equals(Url.Action("About", "Home")) ? "active":"")"><a asp-action="About" asp-controller="Home"><i class="fa fa-info-circle"></i> ABOUT</a></li> <li class="@(Context.Request.Path.Equals(Url.Action("About", "Home")) ? "active":"")"><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>*@
</ul> </ul>
<a class='menu-trigger'> <a class='menu-trigger'>
<span>Menu</span> <span>Menu</span>
...@@ -60,7 +58,7 @@ ...@@ -60,7 +58,7 @@
</header> </header>
@RenderBody() @RenderBody()
<div id="crafted"> <div id="crafted">
<p class="text-center small">Proudly Crafted with 💖 by <a href="https://twitter.com/clint_network" target="_blank">Clint.Network</a> — Help me to maintain by sending some $STRAT at <a asp-controller="BlockExplorer" asp-action="Address" asp-route-address="SRCzydu7yjS2VGv2YuHZS83Nekx42PVPdy">SRCzydu7yjS2VGv2YuHZS83Nekx42PVPdy</a>.</p> <p class="text-center small">Proudly Crafted with 💖 by <a href="https://twitter.com/clint_network" target="_blank">Clint.Network</a> — Help me to maintain by sending some $STRAT at <a asp-controller="BlockExplorer" asp-action="Address" asp-route-address="ScpLCfbtbgiYEuGrBYJ9e2Pp171ZEWNWNt">ScpLCfbtbgiYEuGrBYJ9e2Pp171ZEWNWNt</a>.</p>
</div> </div>
<script src="~/js/jquery-2.1.0.min.js"></script> <script src="~/js/jquery-2.1.0.min.js"></script>
<script src="~/js/popper.js"></script> <script src="~/js/popper.js"></script>
...@@ -71,7 +69,7 @@ ...@@ -71,7 +69,7 @@
<script src="~/js/parallax.min.js"></script> <script src="~/js/parallax.min.js"></script>
<script src="~/js/owl.carousel.min.js"></script> <script src="~/js/owl.carousel.min.js"></script>
<script src="~/js/particle-green.js"></script> <script src="~/js/particle-green.js"></script>
<script src="~/npm/nprogress/nprogress.js"></script> <script src="~/lib/nprogress/nprogress.js"></script>
<environment include="Development"> <environment include="Development">
<script src="~/js/default.js"></script> <script src="~/js/default.js"></script>
</environment> </environment>
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment