Quellcode durchsuchen

modification logo dans about.php

develop
MEUNIER Thibaud vor 6 Jahren
Ursprung
Commit
ca6e77ebb0
6 geänderte Dateien mit 26 neuen und 8 gelöschten Zeilen
  1. +15
    -3
      about.php
  2. +2
    -2
      images/logo.php
  3. BIN
      images/logo/medium/transparent.png
  4. +8
    -0
      images/logo/medium/transparent.sh
  5. BIN
      images/topisto_vert_tr.png
  6. +1
    -3
      js/lastblock.js

+ 15
- 3
about.php Datei anzeigen

@ -24,6 +24,8 @@
<script>
$(document).ready(function(){
setInterval(changeGargoyle,10000);
getMyAdressInfos();
$('#myNavbar').on('show.bs.collapse', function () {
@ -63,12 +65,20 @@
if (pos < winTop + 600) {
$(this).addClass("slide");
}
d = new Date();
$("#gargoyle").attr("src", "images/logo.php?ts="+d.getTime());
});
});
});
/*
* Faire varier l'image de la gargouille
*
*/
function changeGargoyle()
{
d = new Date();
$("#gargoyle").attr("src", "images/logo.php?ts="+d.getTime());
}
/*
* Récupéer les taux de change actuels
* https://blockchain.info/ticker?cors=true
@ -136,7 +146,9 @@
<p class="text-justify">I like <b>surfing</b> and sailing on the ocean. But during longs winter nights, computing is fun. I'm interested into <b>cryptocurrencies</b>, computationnal art, datavisualisation. I know that <b>42</b> is the answer to <b>the Life, Universe and Everything Else</b>. As <b>Eto Demerzel</b> said to me, the <b>Seldon's Plan</b> will save the Galaxy. My favorites books are the <b>House of leaves</b>, the <b>Necronomicron</b> and the <b>DarkHold</b>. I also know that <b>great power comes with great responsibility</b>. I'm still in <b>the search of Captain Zero</b>, because <b>the Truth is out there</b>.</p>
</div>
<div class="col-sm-4">
<img id="gargoyle" src="images/logo.php" alt="avatar dragon gargoyle" width="100%; height: auto"></img>
<div style="background-image:url(images/topisto_vert_tr.png);background-repeat: no-repeat;background-position:center top;background-size: 100% auto;">
<img id="gargoyle" src="images/logo.php" alt="avatar dragon gargoyle" width="100%; height: auto" style="opacity:0.4"></img>
</div>
</div>
</div>
</div>

+ 2
- 2
images/logo.php Datei anzeigen

@ -2,9 +2,9 @@
$alea=rand(0,100);
$logo='topisto_vert.png';
$logo='topisto_vert_tr.png';
if ($alea > 30)
if ($alea > 5)
{
$files = glob('logo/medium/*/topisto_vert.png');
usort($files, function($a, $b) {

BIN
images/logo/medium/transparent.png Datei anzeigen

Vorher Nachher
Breite: 464  |  Höhe: 509  |  Größe: 21 KiB

+ 8
- 0
images/logo/medium/transparent.sh Datei anzeigen

@ -0,0 +1,8 @@
convert \
topisto_vert.png \
-channel rgba \
-matte \
-fuzz 40% \
-fill "rgba(255,255,255,0.5)" \
-opaque "rgb(255,255,255)" \
semi_transparent.png

BIN
images/topisto_vert_tr.png Datei anzeigen

Vorher Nachher
Breite: 464  |  Höhe: 509  |  Größe: 21 KiB

+ 1
- 3
js/lastblock.js Datei anzeigen

@ -37,8 +37,6 @@ blockchainListener = function(){
}
}
}, "json" );
setTimeout(_lastBlockTrigger, 30000);
};
function _addBlockHook(addBlockHook){
@ -56,7 +54,7 @@ blockchainListener = function(){
function _init(){
_addBlockHook(_logBlockHash);
_lastBlockTrigger( );
setTimeout(_lastBlockTrigger, 30000 );
};
return {init: _init, addBlockHook: _addBlockHook};

Laden…
Abbrechen
Speichern