removed my css to make generic for use upstream

I left in tooltip, I find it useful
This commit is contained in:
Larry 2017-07-10 09:27:55 -04:00 committed by GitHub
parent 3c39b549e0
commit 53183e108c
1 changed files with 39 additions and 35 deletions

View File

@ -1,18 +1,33 @@
<style>
.container {
margin: 0 auto;
max-width: 1280px;
width: 90%;
}
@media only screen and (min-width: 601px)
.container {
width: 85%;
}
@media only screen and (min-width: 993px)
.container {
width: 80%;
}
#bottomNotes {
display: block;
padding-left: 18px;
padding-right: 18px;
padding-bottom: 18px;
}
#topPool {
padding-top: 18px;
padding-left: 18px;
padding-right: 18px;
}
#topPool > div > div > svg {
display: block;
height: 280px;
}
.poolWrapper {
border: solid 1px #c7c7c7;
border-radius: 5px;
padding: 5px;
margin-bottom: 18px;
}
.poolLabel {
font-size: 1.2em;
text-align: center;
padding: 4px;
}
.poolMinerTable {
}
table {
width: 100%;
}
@ -40,27 +55,20 @@
});
});
</script>
{{ function readableDate(a){ return new Date(parseInt(a)).toString(); } }}
{{ for(var pool in it.stats.pools) { }}
<div class="container">
<div class="row">
<div class="col s12">
<div class="card grey lighten-5">
<div class="card-content black-text center">
<table class="table bordered highlight">
<thead>
<tr>
<th>Block</th>
<th>Time</th>
<th>Miners</th>
<th>Shares</th>
<th>Amount</th>
</tr>
</thead>
<table>
<thead>
<tr>
<th>Blocks</th>
<th>Time</th>
<th>Miners</th>
<th>Shares</th>
<th>Amount</th>
</tr>
</thead>
{{ for(var p in it.stats.pools[pool].payments) { }}
<tr>
<tr>
<td>
{{if (String(it.stats.pools[pool].name).startsWith("zcash")) { }}
<a href="https://explorer.zcha.in/tx/{{=it.stats.pools[pool].payments[p].txid}}" title="View transaction" target="_blank">{{=it.stats.pools[pool].payments[p].blocks}}</a>
@ -82,8 +90,4 @@
{{ } }}
</table>
</div>
</div>
</div>
</div>
</div>
{{ } }}