fixed box sizing in lite version

pull/5/head
cubedro 9 years ago
parent 7eb27f1bf3
commit ed023e5ceb
  1. 18
      src-lite/views/index.jade

@ -4,7 +4,7 @@ extends ./layout.jade
block content block content
div.container-fluid(ng-controller='StatsCtrl') div.container-fluid(ng-controller='StatsCtrl')
div.row(ng-cloak) div.row(ng-cloak)
div.col-lg-2.col-sm-4.col-xs-1.stat-holder div.col-lg-2.col-md-4.col-sm-1.stat-holder
div.big-info.bestblock.text-info div.big-info.bestblock.text-info
div.pull-left.icon-full-width div.pull-left.icon-full-width
i.icon-block i.icon-block
@ -12,7 +12,7 @@ block content
span.small-title best block span.small-title best block
span.big-details {{'#'}}{{ bestBlock | number}} span.big-details {{'#'}}{{ bestBlock | number}}
div.clearfix div.clearfix
div.col-lg-2.col-sm-4.col-xs-1.stat-holder div.col-lg-2.col-md-4.col-sm-1.stat-holder
div.big-info.uncleCount.text-info div.big-info.uncleCount.text-info
div.pull-left.icon-full-width div.pull-left.icon-full-width
i.icon-uncle i.icon-uncle
@ -21,7 +21,7 @@ block content
span.small (current / last 50) span.small (current / last 50)
span.big-details {{ bestStats.block.uncles.length }}/{{ uncleCount }} span.big-details {{ bestStats.block.uncles.length }}/{{ uncleCount }}
div.clearfix div.clearfix
div.col-lg-2.col-sm-4.col-xs-1.stat-holder div.col-lg-2.col-md-4.col-sm-1.stat-holder
div.big-info.blocktime(class="{{ lastBlock | timeClass : true }}") div.big-info.blocktime(class="{{ lastBlock | timeClass : true }}")
div.pull-left.icon-full-width div.pull-left.icon-full-width
i.icon-time i.icon-time
@ -29,7 +29,7 @@ block content
span.small-title last block span.small-title last block
span.big-details {{ lastBlock | blockTimeFilter }} span.big-details {{ lastBlock | blockTimeFilter }}
div.clearfix div.clearfix
div.col-lg-2.col-sm-4.col-xs-1.stat-holder div.col-lg-2.col-md-4.col-sm-1.stat-holder
div.big-info.avgblocktime(class="{{ avgBlockTime | avgTimeClass }}") div.big-info.avgblocktime(class="{{ avgBlockTime | avgTimeClass }}")
div.pull-left.icon-full-width div.pull-left.icon-full-width
i.icon-gas i.icon-gas
@ -37,7 +37,7 @@ block content
span.small-title avg block time span.small-title avg block time
span.big-details {{ avgBlockTime | avgTimeFilter }} span.big-details {{ avgBlockTime | avgTimeFilter }}
div.clearfix div.clearfix
div.col-lg-2.col-sm-4.col-xs-1.stat-holder div.col-lg-2.col-md-4.col-sm-1.stat-holder
div.big-info.difficulty.text-orange div.big-info.difficulty.text-orange
div.pull-left.icon-full-width div.pull-left.icon-full-width
i.icon-hashrate i.icon-hashrate
@ -45,7 +45,7 @@ block content
span.small-title avg network hashrate span.small-title avg network hashrate
span.big-details(ng-bind-html="avgHashrate | networkHashrateFilter") span.big-details(ng-bind-html="avgHashrate | networkHashrateFilter")
div.clearfix div.clearfix
div.col-lg-2.col-sm-4.col-xs-1.stat-holder div.col-lg-2.col-md-4.col-sm-1.stat-holder
div.big-info.difficulty.text-danger div.big-info.difficulty.text-danger
div.pull-left.icon-full-width div.pull-left.icon-full-width
i.icon-difficulty i.icon-difficulty
@ -60,17 +60,17 @@ block content
div.row(ng-cloak) div.row(ng-cloak)
div.col-xs-12.stats-boxes(style="padding-top: 0px;") div.col-xs-12.stats-boxes(style="padding-top: 0px;")
div.row.second-row div.row.second-row
div.col-sm-4.col-xs-1.stat-holder.box div.col-md-4.col-sm-1.stat-holder.box
div.active-nodes(class="{{ nodesActive | nodesActiveClass : nodesTotal }}") div.active-nodes(class="{{ nodesActive | nodesActiveClass : nodesTotal }}")
i.icon-node i.icon-node
span.small-title active nodes span.small-title active nodes
span.small-value {{nodesActive}}/{{nodesTotal}} span.small-value {{nodesActive}}/{{nodesTotal}}
div.col-sm-4.col-xs-1.stat-holder.box div.col-md-4.col-sm-1.stat-holder.box
div.gasprice(class="{{ nodes | consensusClass : bestStats }}") div.gasprice(class="{{ nodes | consensusClass : bestStats }}")
i.icon-check-o i.icon-check-o
span.small-title nodes status span.small-title nodes status
span.small-value {{ nodes | consensusFilter : bestStats }} span.small-value {{ nodes | consensusFilter : bestStats }}
div.col-sm-4.col-xs-1.stat-holder.box div.col-md-4.col-sm-1.stat-holder.box
div.page-latency(class="{{ {active: true, latency: latency} | latencyClass }}") div.page-latency(class="{{ {active: true, latency: latency} | latencyClass }}")
i.icon-clock i.icon-clock
span.small-title page latency span.small-title page latency

Loading…
Cancel
Save