REmove timer

This commit is contained in:
SuriyaR 2019-07-31 16:02:45 +05:30
parent c8a3dfca29
commit 46d90078a3
8 changed files with 30 additions and 16 deletions

View File

@ -9,7 +9,7 @@
"block-interval" : "Sperrintervall",
"transactions-vs-date" : "Transaktionen gegen Datum",
"home": {
"HEADER_TEXT": "Sie befinden sich in Testnet",
"HEADER_TEXT": "Sie befinden sich in Beta",
"COUNTDOWN": "Mainnet-Countdown",
"EXPLORE_IT": "Entdecke es",
"VIEWALL": "Alle Diagramme anzeigen",

View File

@ -7,9 +7,9 @@
"blocks-mined" : "Blocks Mined",
"hashrate-growth-chart" : "HashRate Growth Chart",
"block-interval" : "Block Interval",
"transactions-vs-date" : "Transcations Vs Date",
"transactions-vs-date" : "Transactions Vs Date",
"home": {
"HEADER_TEXT": "You are on Testnet",
"HEADER_TEXT": "You are on Beta",
"COUNTDOWN": "Mainnet Countdown",
"EXPLORE_IT": "Explore it",
"VIEWALL": "View All Charts",
@ -34,7 +34,7 @@
"BLOCKS_PER_PAGE" : "Blocks per page",
"MINUTE" : "minute",
"TOTAL_DIFFICULTY" : "Total Difficulty",
"TRANSACTIONS_BY_TIME" : "Transcations By Time",
"TRANSACTIONS_BY_TIME" : "Transactions By Time",
"BLOCKS" : "Blocks",
"BLOCK" : "Block",
"BLOCKS_MINED" : "Blocks Mined",
@ -42,7 +42,7 @@
"SUPPLY_GROWTH" : "Supply Growth",
"HASHRATE_GROWTH_CHART" : "HashRate Growth Chart",
"BLOCK_INTERVAL" : "Block Interval",
"TRANSACTIONS_VS_DATE" : "Transcations Vs Date",
"TRANSACTIONS_VS_DATE" : "Transactions Vs Date",
"DAYS" : "days",
"MONTHS" : "months",
"WEEK" : "week",

View File

@ -4,13 +4,13 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li *ngIf="TimeArr" class="d-none d-sm-inline-block"><h1 class="test_msg d-inline-block mb-0 align-middle mr-3">{{'home.HEADER_TEXT' | translate}}</h1>
<h1 class="test_msg align-middle mr-3 d-inline-block mb-0">{{'home.COUNTDOWN' | translate}}</h1>
<!-- <h1 class="test_msg align-middle mr-3 d-inline-block mb-0">{{'home.COUNTDOWN' | translate}}</h1>
<ul class="list-unstyled d-inline-block bg-white p-2 mb-0 timer">
<li class="d-inline-block"><span id="days">{{TimeArr.d}}d:</span></li>
<li class="d-inline-block"><span id="hours">{{TimeArr.h}}h:</span></li>
<li class="d-inline-block"><span id="minutes">{{TimeArr.m}}m:</span></li>
<li class="d-inline-block"><span id="seconds">{{TimeArr.s}}s</span></li>
</ul>
</ul> -->
</li>
<li class="nav-item px-2 dropdown bg-white">
@ -39,14 +39,14 @@
</nav>
<div *ngIf="TimeArr" class="d-sm-none text-center">
<h1 class="test_msg d-inline-block mb-0 align-middle mr-3">{{'home.HEADER_TEXT' | translate}}</h1>
<h1 class="test_msg align-middle mr-3 d-inline-block mb-0">{{'home.COUNTDOWN' | translate}}
<!-- <h1 class="test_msg align-middle mr-3 d-inline-block mb-0">{{'home.COUNTDOWN' | translate}}
<ul class="list-unstyled d-inline-block bg-white p-2 mb-0">
<li class="d-inline-block"><span id="days">{{TimeArr.d}}d:</span></li>
<li class="d-inline-block"><span id="hours">{{TimeArr.h}}h:</span></li>
<li class="d-inline-block"><span id="minutes">{{TimeArr.m}}m:</span></li>
<li class="d-inline-block"><span id="seconds">{{TimeArr.s}}s</span></li>
</ul>
</h1>
</h1> -->
</div>
<h2 class="text-center my-3 logo_txt">
<span class="txt_primary">Epic</span> Explorer

View File

@ -2,14 +2,14 @@
<div *ngIf="hasdata" class="container">
<div *ngIf="TimeArr" class="box_shadow_large detail_div p-3 mb-4">
<h1 class="test_msg align-middle mb-0 d-inline-block mr-3 pl-3">{{'home.HEADER_TEXT' | translate}}</h1>
<h1 class="test_msg align-middle mb-0 float-right d-inline-block pl-3">{{'home.COUNTDOWN' | translate}}
<!-- <h1 class="test_msg align-middle mb-0 float-right d-inline-block pl-3">{{'home.COUNTDOWN' | translate}}
<ul class="list-unstyled d-inline-block mb-0 txt_primary timer">
<li class="d-inline-block"><span id="days">{{TimeArr.d}}d:</span></li>
<li class="d-inline-block"><span id="hours">{{TimeArr.h}}h:</span></li>
<li class="d-inline-block"><span id="minutes">{{TimeArr.m}}m:</span></li>
<li class="d-inline-block"><span id="seconds">{{TimeArr.s}}s</span></li>
</ul>
</h1>
</h1> -->
</div>
<div *ngIf="hashdata?.BlockchainBlockFetchQuery" class="box_shadow_large bg-white p-3 mb-4">
<h3 class="mb-0">

View File

@ -32,7 +32,7 @@
<a href="JavaScript:void(0);" (click)="ChartFromView(GraphtDate, GraphtHour, GraphtInput,'Input'); selectedItem8 = 1" id="1" #item1
[ngClass]="{ active: selectedItem8 == item1.id, txt_primay: true }">{{'home.INPUT' | translate}}</a>
<a href="JavaScript:void(0);" (click)="ChartFromView(GraphtDate, GraphtHour, GraphtKernal,'Kernal'); selectedItem8 = 2" id="2" #item2
[ngClass]="{ active: selectedItem8 == item2.id, day15_txt: true }">{{'home.KERNEL' | translate}}</a>
[ngClass]="{ active: selectedItem8 == item2.id, day15_txt: true }">{{'home.KERNELS' | translate}}</a>
<a href="JavaScript:void(0);" (click)="ChartFromView(GraphtDate, GraphtHour, GraphtOutput,'Output'); selectedItem8 = 3" id="3" #item3
[ngClass]="{ active: selectedItem8 == item3.id, day30_txt: true }">{{'home.OUTPUT' | translate}}</a>
</div>
@ -45,14 +45,14 @@
<div class="col-md-3">
<div *ngIf="TimeArr" class="box_shadow_large detail_div p-3 mb-4">
<h1 class="test_msg align-middle mr-3 pl-3">{{'home.HEADER_TEXT' | translate}}</h1>
<h1 class="test_msg align-middle mb-0 pl-3">{{'home.COUNTDOWN' | translate}}
<!-- <h1 class="test_msg align-middle mb-0 pl-3">{{'home.COUNTDOWN' | translate}}
<ul class="list-unstyled mt-2 mb-0 txt_primary">
<li class="d-inline-block"><span id="days">{{TimeArr.d}}d:</span></li>
<li class="d-inline-block"><span id="hours">{{TimeArr.h}}h:</span></li>
<li class="d-inline-block"><span id="minutes">{{TimeArr.m}}m:</span></li>
<li class="d-inline-block"><span id="seconds">{{TimeArr.s}}s</span></li>
</ul>
</h1>
</h1> -->
</div>
<div class="box_shadow_large bg-white p-3">
<h2 class="chart_heading mb-2 d-inline-block">{{'home.EXPLORE' | translate}}</h2>

View File

@ -39,7 +39,7 @@
</div>
<div class="col-md-3">
<div class="text-center detail_div minhgt">
<p class="count difficulty_datas mb-0">Cuckaroo : {{latestblockdetail.targetdifficultycuckaroo | number}},Cuckatoo : {{latestblockdetail.targetdifficultycuckatoo | number}},ProgPow : {{latestblockdetail.targetdifficultyprogpow | number}},RandomX : {{latestblockdetail.targetdifficultyrandomx | number}}</p>
<p class="difficulty_datas">Cuckaroo : {{latestblockdetail.targetdifficultycuckaroo | number}}, Cuckatoo : {{latestblockdetail.targetdifficultycuckatoo | number}}, ProgPow : {{latestblockdetail.targetdifficultyprogpow | number}}, RandomX : {{latestblockdetail.targetdifficultyrandomx | number}}</p>
<p class="mb-0 desc">{{'home.LATEST_BLOCK1' | translate}}</p>
</div>
</div>

View File

@ -8,6 +8,13 @@ const viewRoutes: Routes = [
path: '',
loadChildren: './home/home.module#HomeModule',
},
{
path: 'all',
loadChildren: './home/home.module#HomeModule',
data: {
title: 'Epic Explorer - Home',
},
}
];
const siteRoutes: Routes = [
@ -18,6 +25,9 @@ const siteRoutes: Routes = [
{
path: 'chart',
loadChildren: './graph-view/graph-view.module#GraphViewModule',
data: {
title: 'Epic Explorer',
},
},
];

View File

@ -624,4 +624,8 @@ margin-right: 10px;
margin-top: -4px;
}
.langbut:focus{outline: none;}
.difficulty_datas{font-size: 15px;}
.detail_div .difficulty_datas{font-size: 14px !important; color: #0091ff}
.net_dropdwn{
min-width: 5rem;
padding: 0;
}