renommage dossiers articles

This commit is contained in:
2019-02-10 11:24:40 +01:00
parent 48cc573c1c
commit 89215df21b
6 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,55 @@
<style>
.fond {
margin:auto;
top:0;
}
.texte {
color:black;
margin:auto;
position:absolute;
z-index:2;
top:0;
width:100%;
}
</style>
<div class="container-fluid" id="BlocksBrowser"></div>
<div class="container-fluid bg-grey">
<div class="row">
<div class="col-sm-12 text-center">
Drawing the splines
</div>
</div>
</div>
<script src="js/browse_blocks.js"></script>
<script>
function afficherBlock(block, index)
{
html = '<img src="splines/image.php?block_hash='+block.hash+'" style="opacity: 0.5;image-orientation: 90deg" width="100%; height: auto"></img>';
$('#block0'+index+'_img').html(html);
html = '';
html += '<table width="100%">'
html += '<tr><td width="10%">&nbsp;</td><td width="30%">Height</td><td width="50%" align="right"><strong>HEIGHT</strong></td><td width="10%">&nbsp;</td></tr>';
html += '<tr><td width="10%">&nbsp;</td><td width="30%">Outputs</td><td width="50%" align="right"><strong>OUTPUT</strong> <span class="glyphicon glyphicon-bitcoin"></span></td><td width="10%">&nbsp;</td></tr>';
//html += '<tr><td width="10%">&nbsp;</td><td width="30%">Inputs</td><td width="50%" align="right"><strong>INPUT</strong> <span class="glyphicon glyphicon-bitcoin"></span></td><td width="10%">&nbsp;</td></tr>';
html += '<tr><td width="10%">&nbsp;</td><td width="30%">Reward</td><td width="50%" align="right"><strong>REWARD</strong> <span class="glyphicon glyphicon-bitcoin"></span></td><td width="10%">&nbsp;</td></tr>';
//html += '<tr><td width="10%">&nbsp;</td><td width="30%">Fees</td><td width="50%" align="right"><strong>FEE</strong> <span class="glyphicon glyphicon-bitcoin"></span></td><td width="10%">&nbsp;</td></tr>';
html += '</table>'
html = html.replace(new RegExp('INDEX', 'g'),block.block_index);
html = html.replace(new RegExp('HEIGHT', 'g'),block.height);
html = html.replace(new RegExp('OUTPUT', 'g'),block.topisto_outputs/Math.pow(10,8));
html = html.replace(new RegExp('INPUT', 'g'),block.topisto_inputs/Math.pow(10,8));
html = html.replace(new RegExp('REWARD', 'g'),(block.topisto_outputs-block.topisto_inputs)/Math.pow(10,8));
html = html.replace(new RegExp('FEE', 'g'),block.topisto_fees/Math.pow(10,8));
$('#block0'+index+'_txt').html(html);
return true;
}
</script>

View File

@@ -0,0 +1,14 @@
<div class="container-fluid bg-grey">
<div class="row">
<div class="col-sm-4">
<br><img id="logo_ARTICLE" src="images/block_image.php?methode=treemap_fuzzy" width="100%; height: auto"></img>
<br><p>ARTICLE</p>
</div>
<div class="col-sm-8">
<h2>fuzzy Treemap</h2>
<h4>Another Treemap drawing method.</h4>
<p>Drawing with 2 colors, fuzzy is using to draw the rectangle ...</p>
####BUTTON####
</div>
</div>
</div>