[UPDATE] fixed divs

This commit is contained in:
iAmShorty 2014-03-02 00:00:21 +01:00
parent e017fc94cd
commit 5ff6298d6c
2 changed files with 2 additions and 21 deletions

View File

@ -121,4 +121,4 @@
</div> </div>
</div> </div>
</div> </div>
<div <div>

View File

@ -3,11 +3,7 @@ $(function () {
var blockdata = [ var blockdata = [
{section block $BLOCKSFOUND step=-1}{ldelim} {section block $BLOCKSFOUND step=-1}{ldelim}
<<<<<<< Updated upstream
blockHeight: {$BLOCKSFOUND[block].height}, blockHeight: {$BLOCKSFOUND[block].height},
=======
blockHeight: "{$BLOCKSFOUND[block].height}",
>>>>>>> Stashed changes
estShares: {$BLOCKSFOUND[block].estshares}, estShares: {$BLOCKSFOUND[block].estshares},
actShares: {$BLOCKSFOUND[block].shares|default:"0"}, actShares: {$BLOCKSFOUND[block].shares|default:"0"},
{if $USEBLOCKAVERAGE} {if $USEBLOCKAVERAGE}
@ -16,7 +12,6 @@ $(function () {
{if $GLOBAL.config.payout_system == 'pplns'} {if $GLOBAL.config.payout_system == 'pplns'}
pplnsShares: {$BLOCKSFOUND[block].pplns_shares|default:"0"}, pplnsShares: {$BLOCKSFOUND[block].pplns_shares|default:"0"},
{/if} {/if}
<<<<<<< Updated upstream
{rdelim}, {rdelim},
{/section} {/section}
]; ];
@ -24,32 +19,18 @@ $(function () {
Morris.Area({ Morris.Area({
parseTime: false, parseTime: false,
behaveLikeLine: true, behaveLikeLine: true,
=======
{rdelim},
{/section}
];
Morris.Area({
>>>>>>> Stashed changes
element: 'block-area-chart', element: 'block-area-chart',
data: blockdata, data: blockdata,
xkey: 'blockHeight', xkey: 'blockHeight',
ykeys : ['estShares', {if $USEBLOCKAVERAGE}'avgShares', {/if}{if $GLOBAL.config.payout_system == 'pplns'}'pplnsShares', {/if} 'actShares'], ykeys : ['estShares', {if $USEBLOCKAVERAGE}'avgShares', {/if}{if $GLOBAL.config.payout_system == 'pplns'}'pplnsShares', {/if} 'actShares'],
labels : ['Expected Shares', {if $USEBLOCKAVERAGE}'Average Shares', {/if}{if $GLOBAL.config.payout_system == 'pplns'}'PPLNS Shares',{/if} 'Actual Shares'], labels : ['Expected Shares', {if $USEBLOCKAVERAGE}'Average Shares', {/if}{if $GLOBAL.config.payout_system == 'pplns'}'PPLNS Shares',{/if} 'Actual Shares'],
pointSize: 2, pointSize: 2,
<<<<<<< Updated upstream
lineColors: ['#2D9C2F','#D58665','#2D619C','#FF0000'], lineColors: ['#2D9C2F','#D58665','#2D619C','#FF0000'],
pointFillColors: ['#FFFFFF'], pointFillColors: ['#FFFFFF'],
hideHover: 'auto', hideHover: 'auto',
resize: true, resize: true,
fillOpacity: 0.05 fillOpacity: 0.05
}); });
=======
hideHover: 'auto',
resize: true
});
>>>>>>> Stashed changes
}); });
</script> </script>
@ -80,4 +61,4 @@ $(function () {
</div> </div>
</div> </div>
</div> </div>
</div> </div>