Ajout .gitignore
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
thumbs/*
|
||||
vendor/*
|
||||
|
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 69 KiB |
3
vendor/crowdfunding2/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
/img/qrcodes/
|
||||
/tests/
|
||||
/cache/
|
27
vendor/crowdfunding2/Avatar.class.php
vendored
@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Avatar {
|
||||
|
||||
private $content;
|
||||
|
||||
public $contentType;
|
||||
|
||||
public function __construct ($content, $contentType) {
|
||||
|
||||
$this->content = $content;
|
||||
|
||||
$this->contentType = $contentType;
|
||||
}
|
||||
|
||||
public function getContent () {
|
||||
|
||||
return $this->content;
|
||||
}
|
||||
|
||||
public function getContentType () {
|
||||
|
||||
return $this->contentType;
|
||||
}
|
||||
}
|
||||
|
||||
|
332
vendor/crowdfunding2/Chart.class.php
vendored
@ -1,332 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once('Graph.class.php');
|
||||
|
||||
class Chart {
|
||||
|
||||
private $crowdfunding;
|
||||
|
||||
private $points = NULL;
|
||||
|
||||
private $displayTarget = true;
|
||||
|
||||
private $graphs = [];
|
||||
|
||||
|
||||
public function __construct ($crowdfunding) {
|
||||
|
||||
$this->crowdfunding = $crowdfunding;
|
||||
}
|
||||
|
||||
|
||||
private function addLastPointOfCumulativeGraph ($lastAmount) {
|
||||
|
||||
$lastDay = NULL;
|
||||
|
||||
if ($this->crowdfunding->isOver()) {
|
||||
|
||||
$lastDay = $this->crowdfunding->getEndDate();
|
||||
|
||||
} elseif ($this->crowdfunding->hasStartedYet()) {
|
||||
|
||||
$lastDay = $this->crowdfunding->today;
|
||||
}
|
||||
|
||||
|
||||
if (isset($lastDay)) {
|
||||
|
||||
$followingDay = (clone $lastDay)->add(new DateInterval('P1D'));
|
||||
|
||||
$this->points['amountCollectedByDayCumulative'][] = [
|
||||
|
||||
't' => $lastDay->getTimestamp() * 1000,
|
||||
'y' => $this->crowdfunding->convertIntoChosenUnit($lastAmount)
|
||||
];
|
||||
|
||||
$this->points['amountCollectedByDayCumulative'][] = [
|
||||
|
||||
't' => $followingDay->getTimestamp() * 1000,
|
||||
'y' => $this->crowdfunding->convertIntoChosenUnit($lastAmount)
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private function addSecondPointOfTarget ($target) {
|
||||
|
||||
$d = NULL;
|
||||
|
||||
if ($this->crowdfunding->isOver()) {
|
||||
|
||||
$d = $this->crowdfunding->getEndDate();
|
||||
|
||||
} else {
|
||||
|
||||
if (!$this->crowdfunding->isEvergreen()) {
|
||||
|
||||
$d = $this->crowdfunding->getEndDate();
|
||||
|
||||
} else {
|
||||
|
||||
if ($this->crowdfunding->isEvergreen() == 'monthly') {
|
||||
|
||||
// last point will be the last day of the month the campaign starts
|
||||
$dateOfLastDayOfTheMonth = new DateTime($this->crowdfunding->getStartDate()->format("Y-m-t"));
|
||||
|
||||
$d = $dateOfLastDayOfTheMonth;
|
||||
|
||||
} else { //if ($this->crowdfunding->isEvergreen() == 'forever') {
|
||||
|
||||
if ($this->crowdfunding->hasStartedYet()) {
|
||||
|
||||
$d = $this->crowdfunding->now;
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
$dateOfLastDayOfTheMonth = new DateTime($this->getStartDate()->format("Y-m-t"));
|
||||
|
||||
$d = $dateOfLastDayOfTheMonth;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$d->add(new DateInterval('P1D'));
|
||||
|
||||
$this->points['targetLine'][] = [
|
||||
't' => $d->getTimestamp() * 1000,
|
||||
'y' => $target
|
||||
];
|
||||
}
|
||||
|
||||
public function displayTarget ($bool = NULL) {
|
||||
|
||||
if (isset($bool)) {
|
||||
|
||||
$this->displayTarget = $bool;
|
||||
|
||||
} else {
|
||||
|
||||
return $this->displayTarget;
|
||||
}
|
||||
}
|
||||
|
||||
public function addGraph ($g) {
|
||||
|
||||
$this->graphs[] = $g;
|
||||
}
|
||||
|
||||
private function setPoints () {
|
||||
|
||||
$dailyAmount = 0;
|
||||
$dailyAmountCumulative = 0;
|
||||
|
||||
|
||||
$t_0 = (clone $this->crowdfunding->getStartDate());
|
||||
$mt_0 = $t_0->getTimestamp() * 1000;
|
||||
|
||||
if ($this->crowdfunding->hasTarget()) {
|
||||
|
||||
// On trace la droite de l'objectif
|
||||
$this->points['targetLine'][] = [
|
||||
|
||||
't' => $mt_0,
|
||||
'y' => $this->crowdfunding->getTarget()
|
||||
];
|
||||
|
||||
// For x axis scaling
|
||||
$this->addSecondPointOfTarget($this->crowdfunding->getTarget());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
$this->points['amountCollectedByDayCumulative'][] = [
|
||||
|
||||
't' => $mt_0,
|
||||
'y' => 0
|
||||
];
|
||||
*/
|
||||
|
||||
$tx = $this->crowdfunding->getDonationsList();
|
||||
|
||||
if (empty($tx)) {
|
||||
|
||||
// For y axis scaling
|
||||
$this->points['amountCollectedByDay'][] = [
|
||||
|
||||
't' => $mt_0,
|
||||
'y' => 0
|
||||
];
|
||||
|
||||
} else {
|
||||
|
||||
$currentDay = new DateTime();
|
||||
$dayBefore = clone $this->crowdfunding->getStartDate();
|
||||
|
||||
foreach ($tx as $t) {
|
||||
|
||||
|
||||
$dailyAmountCumulative += $t->getAmount();
|
||||
$dailyAmount += $t->getAmount();
|
||||
|
||||
$currentDay->setTimestamp($t->getDate()->getTimestamp());
|
||||
$currentDay->setTime(0, 0, 0);
|
||||
|
||||
if ($currentDay != $dayBefore) {
|
||||
|
||||
$this->points['amountCollectedByDay'][] = [
|
||||
|
||||
't' => $dayBefore->getTimestamp() * 1000,
|
||||
'y' => $this->crowdfunding->convertIntoChosenUnit($dailyAmount)
|
||||
];
|
||||
|
||||
$this->points['amountCollectedByDayCumulative'][] = [
|
||||
|
||||
't' => $dayBefore->getTimestamp() * 1000,
|
||||
'y' => $this->crowdfunding->convertIntoChosenUnit($dailyAmountCumulative)
|
||||
];
|
||||
|
||||
$lastDailyAmount = $dailyAmount;
|
||||
$dailyAmount = 0;
|
||||
}
|
||||
|
||||
$dayBefore = clone $currentDay;
|
||||
}
|
||||
|
||||
// Add latest day's tx
|
||||
|
||||
$this->points['amountCollectedByDay'][] = [
|
||||
|
||||
't' => $dayBefore->getTimestamp() * 1000,
|
||||
'y' => $this->crowdfunding->convertIntoChosenUnit($lastDailyAmount)
|
||||
];
|
||||
|
||||
$this->addLastPointOfCumulativeGraph($dailyAmountCumulative);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getAmountCollectedByDayPoints () {
|
||||
|
||||
if (empty($this->points)) {
|
||||
|
||||
$this->setPoints();
|
||||
|
||||
}
|
||||
|
||||
return json_encode($this->points['amountCollectedByDay']);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function getAmountCollectedByDayCumulativePoints () {
|
||||
|
||||
if (empty($this->points)) {
|
||||
|
||||
$this->setPoints();
|
||||
|
||||
}
|
||||
|
||||
$points = isset($this->points['amountCollectedByDayCumulative']) ? $this->points['amountCollectedByDayCumulative'] : [];
|
||||
|
||||
return json_encode($points);
|
||||
}
|
||||
|
||||
|
||||
public function getTargetLinePoints () {
|
||||
|
||||
if (empty($this->points)) {
|
||||
|
||||
$this->setPoints();
|
||||
|
||||
}
|
||||
|
||||
return json_encode($this->points['targetLine']);
|
||||
}
|
||||
|
||||
public function setTargetLineColor ($colorStr) {
|
||||
|
||||
$this->targetLineColor = new Color($colorStr);
|
||||
}
|
||||
|
||||
|
||||
public function getScripts ($lang, $whereToInsertChart = 'main', $dir = '') {
|
||||
|
||||
if (empty($this->points)) {
|
||||
|
||||
$this->setPoints();
|
||||
}
|
||||
|
||||
$out = '<script src="'. $dir .'lib/js/moment.min.js"></script>';
|
||||
|
||||
$out .= '<script src="'. $dir .'locales/moment.js/'. $lang .'.js"></script>';
|
||||
|
||||
$out .= '<script src="'. $dir .'lib/js/chart.min.js"></script>';
|
||||
|
||||
$out .= '<script>
|
||||
window.onload = function() {
|
||||
|
||||
moment.locale(\''. $lang .'\');
|
||||
|
||||
var currentLocaleData = moment.localeData();
|
||||
var dateFormat = currentLocaleData.longDateFormat(\'L\');
|
||||
var hourFormat = currentLocaleData.longDateFormat(\'LT\');
|
||||
|
||||
var container = document.querySelector(\''. $whereToInsertChart .'\');
|
||||
|
||||
var div = document.createElement(\'div\');
|
||||
div.classList.add(\'chart-container\');
|
||||
var canvas = document.createElement(\'canvas\');
|
||||
div.appendChild(canvas);
|
||||
container.appendChild(div);
|
||||
|
||||
var chartData = {
|
||||
datasets: [';
|
||||
|
||||
foreach ($this->graphs as $g) {
|
||||
|
||||
$out .= $g->getGraph() . ', ';
|
||||
|
||||
}
|
||||
|
||||
$out .= '
|
||||
]
|
||||
};
|
||||
|
||||
new Chart(canvas.getContext(\'2d\'), {
|
||||
type: \'bar\',
|
||||
data: chartData,
|
||||
options: {
|
||||
responsive: true,
|
||||
animation: {
|
||||
duration: 1800,
|
||||
easing: \'easeInCubic\'
|
||||
},
|
||||
title: {
|
||||
display: true
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
type: \'time\',
|
||||
time: {
|
||||
minUnit: \'day\',
|
||||
tooltipFormat: dateFormat
|
||||
}
|
||||
}]
|
||||
},
|
||||
tooltips: {
|
||||
intersect: false
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>';
|
||||
|
||||
return $out;
|
||||
}
|
||||
}
|
||||
|
||||
|
204
vendor/crowdfunding2/Color.class.php
vendored
@ -1,204 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Color {
|
||||
|
||||
private $hex;
|
||||
|
||||
private $rgb;
|
||||
|
||||
private $hsl;
|
||||
|
||||
private $alpha;
|
||||
|
||||
private $validColorsList = [
|
||||
|
||||
'white' => 'ffffff',
|
||||
'silver' => 'C0C0C0',
|
||||
'gray' => '808080',
|
||||
'black' => '000000',
|
||||
'red' => 'FF0000',
|
||||
'maroon' => '800000',
|
||||
'yellow' => 'FFFF00',
|
||||
'olive' => '808000',
|
||||
'lime' => '00FF00',
|
||||
'green' => '008000',
|
||||
'acqua' => '00FFFF',
|
||||
'cyan' => '00FFFF',
|
||||
'teal' => '008080',
|
||||
'blue' => '0000FF',
|
||||
'navy' => '000080',
|
||||
'fuchsia' => 'FF00FF',
|
||||
'magenta' => 'FF00FF',
|
||||
'purple' => '800080'
|
||||
];
|
||||
|
||||
private $regexes = [
|
||||
|
||||
'hex3' => '/^([a-fA-F0-9]{3}){1,2}$/',
|
||||
'hex6' => '/^#(([a-fA-F0-9]{3}){1,2})$/',
|
||||
'rgb' => '/^rgb\( *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5])\, *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]), *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]) *\)$/',
|
||||
'rgba' =>'/^hsla\( *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5])\, *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]), (0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5])\, *((0\.[0-9]{1,2}|1))\)$/',
|
||||
'hsl' => '/^hsl\( *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5])\, *([0-9]{1,3}(\.[0-9]{0,2})?)%, *([0-9]{1,3}(\.[0-9]{0,2})?)% *\)$/',
|
||||
'hsla' => '/^hsla\( *(0?[0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5])\, *([0-9]{1,3}(\.[0-9]{0,2})?)%, *([0-9]{1,3}(\.[0-9]{0,2})?)%\, *((0\.[0-9]{1,2}|1))\)$/',
|
||||
];
|
||||
|
||||
public function __construct ($colorStr) {
|
||||
|
||||
|
||||
if ($colorStr == 'transparent') {
|
||||
|
||||
|
||||
|
||||
} else if (array_key_exists($colorStr, $this->validColorsList)) {
|
||||
|
||||
$this->hex = $this->validColorsList[$colorStr];
|
||||
|
||||
} else if (preg_match($this->regexes['hex3'], $colorStr)) {
|
||||
|
||||
$this->hex = $colorStr;
|
||||
|
||||
} else if (preg_match($this->regexes['hex6'], $colorStr, $matches)) {
|
||||
|
||||
$this->hex = $matches[1];
|
||||
|
||||
} else if (preg_match($this->regexes['rgb'], $colorStr, $matches)) {
|
||||
|
||||
$this->rgb = array(
|
||||
'r' => $matches[1],
|
||||
'g' => $matches[2],
|
||||
'b' => $matches[3],
|
||||
);
|
||||
|
||||
} else if (preg_match($this->regexes['rgba'], $colorStr, $matches)) {
|
||||
|
||||
$this->rgb = array(
|
||||
'r' => $matches[1],
|
||||
'g' => $matches[2],
|
||||
'b' => $matches[3],
|
||||
'a' =>$matches[5],
|
||||
);
|
||||
|
||||
} else if (preg_match($this->regexes['hsl'], $colorStr, $matches)) {
|
||||
|
||||
$this->hsl = array(
|
||||
'h' => $matches[1],
|
||||
's' => $matches[2],
|
||||
'l' => $matches[3],
|
||||
);
|
||||
|
||||
} else if (preg_match($this->regexes['hsla'], $colorStr, $matches)) {
|
||||
|
||||
$this->hsl = array(
|
||||
'h' => $matches[1],
|
||||
's' => $matches[2],
|
||||
'l' => $matches[3],
|
||||
'a' => $matches[5],
|
||||
);
|
||||
|
||||
} else {
|
||||
|
||||
$additionnalMsg = '';
|
||||
|
||||
if(empty($colorStr)) {
|
||||
|
||||
$additionnalMsg = _('Les couleurs hexadécimales doivent être écrites sans le caractère #');
|
||||
|
||||
} else {
|
||||
|
||||
$additionnalMsg = sprintf(_('Vous avez écrit : %s'), htmlspecialchars($colorStr));
|
||||
}
|
||||
|
||||
throw new Exception(_('La couleur %s n\'est pas au bon format.') . "\n" .
|
||||
$additionnalMsg . "\n" .
|
||||
_('Vérifiez votre syntaxe.'));
|
||||
}
|
||||
}
|
||||
|
||||
public function getRGB () {
|
||||
|
||||
if (isset($this->rgb)) {
|
||||
|
||||
return $this->rgb;
|
||||
|
||||
} elseif (isset($this->hex)) {
|
||||
|
||||
return $this->hex2RGB($this->hex);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function getRGBa () {
|
||||
|
||||
if (isset($this->rgba)) {
|
||||
|
||||
return $this->rgba;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function getHSLa () {
|
||||
|
||||
if (isset($this->hsla)) {
|
||||
|
||||
return $this->hsla;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function getHex () {
|
||||
|
||||
if (isset($this->hex)) {
|
||||
|
||||
return $this->hex;
|
||||
|
||||
} elseif (isset($this->rgb)) {
|
||||
|
||||
return $this->RGB2hex($this->rgb);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function getColorAllocation ($imgRessource) {
|
||||
|
||||
list($r, $g, $b) = $this->getRGB();
|
||||
|
||||
return imageColorAllocate($imgRessource, $r, $g, $b);
|
||||
}
|
||||
|
||||
public function RGB2hex () {
|
||||
|
||||
}
|
||||
|
||||
public function hex2RGB ($hexStr) {
|
||||
|
||||
$strLen = strlen($hexStr);
|
||||
|
||||
if ($strLen == 6) { //If a proper hex code, convert using bitwise operation. No overhead... faster
|
||||
|
||||
$colorVal = hexdec($hexStr);
|
||||
|
||||
$r = 0xFF & ($colorVal >> 0x10);
|
||||
$g = 0xFF & ($colorVal >> 0x8);
|
||||
$b = 0xFF & $colorVal;
|
||||
|
||||
} elseif ($strLen == 3) { //if shorthand notation, need some string manipulations
|
||||
|
||||
$r = hexdec(str_repeat(substr($hexStr, 0, 1), 2));
|
||||
$g = hexdec(str_repeat(substr($hexStr, 1, 1), 2));
|
||||
$b = hexdec(str_repeat(substr($hexStr, 2, 1), 2));
|
||||
|
||||
} else {
|
||||
|
||||
throw new Exception(_('Le paramètre %s n\'est pas une couleur.') . "\n" . _('Vérifiez votre syntaxe.'));
|
||||
|
||||
}
|
||||
|
||||
$this->rgb = array($r, $g, $b);
|
||||
|
||||
return $this->rgb;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
1648
vendor/crowdfunding2/Crowdfunding.class.php
vendored
54
vendor/crowdfunding2/Donation.class.php
vendored
@ -1,54 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once('Donor.class.php');
|
||||
|
||||
class Donation {
|
||||
|
||||
private $date;
|
||||
|
||||
private $amount;
|
||||
|
||||
private $donorPubkey;
|
||||
|
||||
private $comment;
|
||||
|
||||
public function __construct ($amount, $donorPubkey, $time = NULL, $comment = NULL) {
|
||||
|
||||
$this->amount = $amount;
|
||||
|
||||
$this->donorPubkey = $donorPubkey;
|
||||
|
||||
$this->date = new DateTime();
|
||||
$this->date->setTimestamp($time);
|
||||
|
||||
$this->comment = $comment;
|
||||
}
|
||||
|
||||
public function getAmount () {
|
||||
|
||||
return $this->amount;
|
||||
}
|
||||
|
||||
public function setAmount ($amount) {
|
||||
|
||||
$this->amount = $amount;
|
||||
}
|
||||
|
||||
public function getDate () {
|
||||
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
public function getComment () {
|
||||
|
||||
return $this->comment;
|
||||
}
|
||||
|
||||
public function getDonorPubkey () {
|
||||
|
||||
return $this->donorPubkey;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
74
vendor/crowdfunding2/Donor.class.php
vendored
@ -1,74 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once('Avatar.class.php');
|
||||
require_once('GeoPoint.class.php');
|
||||
|
||||
class Donor {
|
||||
|
||||
private $pubkey;
|
||||
|
||||
private $name;
|
||||
|
||||
private $avatar;
|
||||
|
||||
private $city;
|
||||
|
||||
private $geoPoint;
|
||||
|
||||
|
||||
public function __construct ($pubkey) {
|
||||
|
||||
$this->pubkey = $pubkey;
|
||||
}
|
||||
|
||||
public function setName ($name) {
|
||||
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
public function getName () {
|
||||
|
||||
if (isset($this->name)) {
|
||||
|
||||
return $this->name;
|
||||
|
||||
} else {
|
||||
|
||||
return substr($this->pubkey, 0, 8);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function setAvatar ($content, $contentType) {
|
||||
|
||||
$this->avatar = new Avatar($content, $contentType);
|
||||
}
|
||||
|
||||
public function getAvatar () {
|
||||
|
||||
return $this->avatar;
|
||||
}
|
||||
|
||||
public function setCity ($city) {
|
||||
|
||||
$this->city = $city;
|
||||
}
|
||||
|
||||
public function getCity () {
|
||||
|
||||
return $this->city;
|
||||
}
|
||||
|
||||
public function setGeoPoint ($lon, $lat) {
|
||||
|
||||
$this->geoPoint = new GeoPoint($lon, $lat);
|
||||
}
|
||||
|
||||
public function getGeoPoint () {
|
||||
|
||||
return $this->geoPoint;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
20
vendor/crowdfunding2/FIXED.md
vendored
@ -1,20 +0,0 @@
|
||||
## Réparés
|
||||
|
||||
- Encapsulation
|
||||
- Suppression des failles XSS
|
||||
- Vérification des couleurs
|
||||
|
||||
- Suppression du nombre de jours restant quand la date de fin est dépassée
|
||||
- Messages d'erreurs maintenant plus clairs et plus précis
|
||||
- Ajout du support des thèmes
|
||||
- Utilisation de GetText pour la traduction
|
||||
- Possibilité de traduire "DUG1" en entier (donc d'inverser DU et G1, pour l'anglais par exemple)
|
||||
|
||||
- SVG : titre maintenant centré
|
||||
- Amélioration de l'UX formulaire de génération :
|
||||
- Prévisualisation affichée avant le code d'intégration
|
||||
- Le noeuds choisi n'est pas dispo, on regarde les autres
|
||||
- & transformés en &
|
||||
- Résolution du problème du SVG qui n'était pas généré par certains serveurs à cause du <?xml interprété comme <? (tag d'ouverture php)
|
||||
|
||||
|
28
vendor/crowdfunding2/GeoPoint.class.php
vendored
@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
class GeoPoint {
|
||||
|
||||
private $longitude;
|
||||
|
||||
public $latitude;
|
||||
|
||||
public function __construct ($lon, $lat) {
|
||||
|
||||
$this->longitude = $lon;
|
||||
|
||||
$this->latitude = $lat;
|
||||
}
|
||||
|
||||
public function getLongitude () {
|
||||
|
||||
return $this->longitude;
|
||||
}
|
||||
|
||||
public function getLatitude () {
|
||||
|
||||
return $this->latitude;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
75
vendor/crowdfunding2/Graph.class.php
vendored
@ -1,75 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Graph {
|
||||
|
||||
/* Data */
|
||||
|
||||
private $dataPoints = NULL;
|
||||
|
||||
private $label = NULL;
|
||||
|
||||
/* Style */
|
||||
|
||||
private $styles = [
|
||||
|
||||
'type' => NULL,
|
||||
'borderColor' => NULL,
|
||||
'backgroundColor' => NULL,
|
||||
'borderDash' => NULL,
|
||||
'radius' => NULL,
|
||||
'fill' => NULL,
|
||||
'borderWidth' => NULL,
|
||||
'lineTension' => NULL,
|
||||
'pointRadius' => NULL,
|
||||
'steppedLine' => NULL
|
||||
];
|
||||
|
||||
|
||||
public function __construct ($dataPoints, $label) {
|
||||
|
||||
$this->dataPoints = $dataPoints;
|
||||
|
||||
$this->label = $label;
|
||||
}
|
||||
|
||||
public function setStyle ($param, $value) {
|
||||
|
||||
switch (gettype($value)) {
|
||||
|
||||
case 'boolean':
|
||||
$this->styles[$param] = $value ? 'true' : 'false';
|
||||
break;
|
||||
case 'array':
|
||||
$this->styles[$param] = json_encode($value);
|
||||
break;
|
||||
case 'string':
|
||||
$this->styles[$param] = '\''. $value . '\'';
|
||||
break;
|
||||
default:
|
||||
$this->styles[$param] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
public function getGraph () {
|
||||
|
||||
$out = '';
|
||||
|
||||
$out .= '
|
||||
{
|
||||
data: '. $this->dataPoints .',
|
||||
label: "'. $this->label .'", ';
|
||||
|
||||
foreach ($this->styles as $k => $v) {
|
||||
|
||||
if ($v !== NULL) {
|
||||
|
||||
$out .= $k . ': ' . $v . ', ';
|
||||
}
|
||||
}
|
||||
|
||||
$out .= '
|
||||
}';
|
||||
|
||||
return $out;
|
||||
}
|
||||
}
|
661
vendor/crowdfunding2/LICENCE
vendored
@ -1,661 +0,0 @@
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU Affero General Public License is a free, copyleft license for
|
||||
software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
our General Public Licenses are intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing under
|
||||
this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your version
|
||||
supports such interaction) an opportunity to receive the Corresponding
|
||||
Source of your version by providing access to the Corresponding Source
|
||||
from a network server at no charge, through some standard or customary
|
||||
means of facilitating copying of software. This Corresponding Source
|
||||
shall include the Corresponding Source for any work covered by version 3
|
||||
of the GNU General Public License that is incorporated pursuant to the
|
||||
following paragraph.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the work with which it is combined will remain governed by version
|
||||
3 of the GNU General Public License.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU Affero General Public License from time to time. Such new versions
|
||||
will be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU Affero General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU Affero General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU Affero General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
Barre de financement intégrable
|
||||
Copyright (C) 2019 Pierre-Jean CHANCELLIER
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published
|
||||
by the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If your software can interact with users remotely through a computer
|
||||
network, you should also make sure that it provides a way for users to
|
||||
get its source. For example, if your program is a web application, its
|
||||
interface could display a "Source" link that leads users to an archive
|
||||
of the code. There are many ways you could offer source, and different
|
||||
solutions will be better for different programs; see section 13 for the
|
||||
specific requirements.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
49
vendor/crowdfunding2/MIGHTDO.md
vendored
@ -1,49 +0,0 @@
|
||||
# Might do...
|
||||
|
||||
## generate.js
|
||||
|
||||
- Voir si je peux rendre la syntaxe modulaire (ajout facile de thèmes, etc.)
|
||||
|
||||
## iframe.php
|
||||
|
||||
- Ajouter la possibilité d'utiliser un bouton "copier la clef vers le presse-papier" plutôt qu'un bouton qui redirige vers Cesium API
|
||||
|
||||
## Général
|
||||
|
||||
- Merger les README
|
||||
|
||||
- Gérer les langues
|
||||
- Traduire en anglais
|
||||
- Traduire en espagnol
|
||||
|
||||
- Avoir une barre de progressions à 4 paramètres de couleurs, genre red|orange|yellow|green, choisi en fonction de l'état du financement (critical, ok, good),
|
||||
état fonction du %age atteint rapporté au %age de jours restants
|
||||
|
||||
- Un thème vertical pour insérer dans une colonne (genre Widget Wordpress)
|
||||
|
||||
- Récupérer toutes les transactions avec un commentaire particulier pour faire un genre de Widget à ajouter dans Wordpress pour faire un true style Flattr
|
||||
|
||||
- Créer une landing page sur laquelle les gens seront redirigés au clic sur l'image (intégration via BBCode etc.)
|
||||
|
||||
## Classes
|
||||
|
||||
- Refactorer en patron MVC ?
|
||||
- Réduire le nombre de paramètres dans le constructeur ?
|
||||
|
||||
## iframes.php
|
||||
|
||||
- Chercher comment récupérer les données Cesium+ pour les afficher
|
||||
|
||||
## image.php
|
||||
|
||||
- Refactorer en utilisant la classe
|
||||
|
||||
## svg.php
|
||||
|
||||
- Le corriger
|
||||
|
||||
## generate.php
|
||||
|
||||
- Ajouter la possibilité d'ajouter du CSS personnel
|
||||
- Mise à jour en temps réel avec AngularJS ?
|
||||
- Des URLs partageables pour travailler à plusieurs sur un modèle (comme les maquettes Facebook Ads, ou Canva.com)
|
28
vendor/crowdfunding2/README.md
vendored
@ -1,28 +0,0 @@
|
||||
# Crowdfundinğ
|
||||
|
||||
PHP scripts and iframes to display crowdfunding informations in a fully customizable way.
|
||||
|
||||
## A word about \<iframe\> and height
|
||||
|
||||
For autoheight.js script to work, iframes.php file must be stored on the same domain as the HTML that calls the iframe.
|
||||
|
||||
## QR codes
|
||||
|
||||
img/qrcodes must be set with write permissions :
|
||||
|
||||
```
|
||||
chmod +w o img/qrcodes
|
||||
```
|
||||
|
||||
## Generation of images
|
||||
|
||||
If you are using this script on your own server, you might want to install PHP-GD library :
|
||||
|
||||
```
|
||||
sudo apt install php-gd
|
||||
```
|
||||
|
||||
Restarting your server will be necessary. For Apache :
|
||||
```
|
||||
/etc/init.d/apache2 restart
|
||||
```
|
13
vendor/crowdfunding2/conf.php
vendored
@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
define('DEFAULT_THEME', 'paidge');
|
||||
define('THEMES_PATH', 'themes');
|
||||
define('FONTS_FOLDER', 'lib/webfonts');
|
||||
|
||||
$validThemes = [
|
||||
|
||||
'kickstarter',
|
||||
'paidge'
|
||||
];
|
||||
|
||||
define('DEFAULT_AVATAR', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAQAAABpN6lAAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfgBA0LKSJACf7RAAAFqElEQVR42u2dbUjdZRjGf+c4dTndFnO+TRcD3ZIxdVlJL2PSIHDZBqtRaINojWRrgR8a4fDbIOrzoIKIMay2iGpQsg0y4xRZIk5i1NTaik3TZeRcvmzl0wc7qTPz6Lnv5/kfz/86XzxyuM59Xf/r//o893MCBqtIoYgSSsgjndWkk8RV+v959dFPP9/wm82CAtYM2MCTPMZGgnN87iZNvMdH1mww+q8Es9e0m/nhhjltnjG361enL3+HOT9P8ZMYNC+YhFg2IN2cWbD4MNrN3bFqQIm5FLV8Y4wZMbtj0YBdZlhEvjHGjJsXY82A+8yomPwJ1OhUqnMazKOVTGHOUe7lW/lS5zorLwSJnBKXD0s5SUpsGHCAzQqsUMgr8qTyu8AqulmpYgCMcQd9spTyCahTkw/JHJCmlE5AIj2kqxkAA6xlWJJQOgEVqvJhFY/LEkobUKUqH2Cbtw0oVTdgqyyd7DEgiWES1C1YxyU5MtkEFFiQD/dLkskacKcF+ZAb7waIXmbHogEZ3jVANJyxaEDAigHJ8W6AKDRuh2MKfgJcF+AafgJ8A+IcfgJcF+AafgJcF+AafgJE2URvU2aFqM2SzwSXM8ASCwaMkc9lKTLJBNRbkQ/JvCRHJpeANPpZasUAuEa21PiQXAJ2WJMPy9ktRSVnwBPW5IPgCJScAXdZNSDHewbcsGpAmvcMGLVqgNhkGTkDfrVqQLv3DHjfqgGnpYjkrgMyuGLpQgigkO9liOQS0M+H1uS/JSVf9l5gBV9RaEH+TxRxTYpM8l5gkEcZUJc/zB45+dK3wz9QhW4LiuERQpKE0k+EzvKuqgENNMsSyj8SO6lqwFFpQvmpskv4kTwl+e3ydxzyCfhTfiv9i9flKTX6BVZymWUK8ofI4bo0qcZj8d85psAKDfLytRonC7ig8Ii8hA75UnUGRrr4RJyzRUO+3sjQq8J8hjqdQrUMCAkfsV/jM51C9Zqnl3GOfCGuixRpHABBc3D0D/bwlwiTYa+WfN3R4RZeFuFRiz9orx+QSEvUF6+K8Qft+QE3eSpqDsX4g40VJKL9AuU5B/4MEdcFuIZvgOsCXEPbgFQPMDg1INsDDL4BLg2IfqRIeaxJ24CdHmD4X+heCaZxNerJk2OsZkivRN0EVAvMHU2mWrNEzQSk0C1yCOslX3bViKnQTECt0BE8m1q9IvUSUEaz2NTJUcr5OrYMyKWVLEG+X7hHboL0VOjsArk0isqHLBp1WrM1DCijlU3irJtopcz7BqRwmGbhrR9GFs0cFl9PTHBpujRTY3qEF9GbiR5TY9K8tJxeKtlkU8hOHrLUMgNjNHGK7+ilN9pHpvMxYAXVPKu0Upwc2nmTtxmM+PMRRiXB7DcD6vGWwoDZH+lqtJEl4EGOUux6084THTzPF3N/bO6zQA4NhGJOPhQToiGCxoo5InLQDLnOc1QYMgcXvgsk8QZPu96QAjjGc7P3s8xuQAYf8IDr2oXwJbvon58BG2lkreu6BfEz2zkfuQEb+FxhYVy36GMrFyIzYB0h1riuVwFX2MLFW/858zSYR9OilA9raJo5i/nWBGQSosB1pYroYsv0lYmnJyDIiUUtHwo4MV3zdAPqKXddoTrKqZ/6duouUM6ncTFcPs62yb6TSQPS6ZBrSfY4eigOd7qGt3iA43EjH3I4Hp58FTZgHxWuq7KKCvZN/DGxC6TSveiu/OZCH/lcDyfgUNzJh0wOwUQCcujS+PEKz2OYAnqCwJG4lA8pHIGAKaI9Ls7+/4VxNgfMGR52XYdDnA0Yyz846DXEa/h9A3wDfAN8A3wDfAOAIL2uS3CK3iBtrmtwira4NyBg1nOO21zX4QgjlATp1OrMjwHU0RkwEOBjtruuxQEaqcQEAUMltYy4rscqRqilEjN1XGA9VZRSqt2k5By9tNHGO3ROvP0bpkYvBeY8k00AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMDQtMTNUMTE6NDE6MzQrMDI6MDCAxbwoAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTA0LTEzVDExOjQxOjM0KzAyOjAw8ZgElAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=');
|
27
vendor/crowdfunding2/examples/cloud.html
vendored
@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Cloud iframe</title>
|
||||
<style>
|
||||
iframe {
|
||||
|
||||
border: 0;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>< <a href=".">Autres exemples</a></nav>
|
||||
|
||||
<h1>Merci à nos donateurs</h1>
|
||||
|
||||
<p>
|
||||
Nous tenons à remercier tous nos généreux donateurs pour leurs dons du mois dernier (janvier 2020) :
|
||||
</p>
|
||||
|
||||
<iframe class="autoHeight" src="../iframes.php?wishedParam=donorsList&style=cloud&start_date=2020-01-01&end_date=2020-01-31&pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8"></iframe>
|
||||
|
||||
<script src="js/autoHeight.js"></script>
|
||||
</body>
|
||||
</html>
|
29
vendor/crowdfunding2/examples/index.html
vendored
@ -1,29 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>iframes</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Exemples</h1>
|
||||
|
||||
<dl>
|
||||
|
||||
<dt><a href="kickstarter.html">kickstarter.html</a></dt>
|
||||
<dd>Iframe utilisée pour afficher une barre de progression dans le style de Kickstarter.</dd>
|
||||
|
||||
<dt><a href="paidge.html">paidge.html</a></dt>
|
||||
<dd>La barre de financement originale.</dd>
|
||||
|
||||
<dt><a href="table.html">table.html</a></dt>
|
||||
<dd>Iframe utilisée pour afficher la liste des derniers dons, avec leur montant et le commentaire associé.</dd>
|
||||
|
||||
<dt><a href="cloud.html">cloud.html</a></dt>
|
||||
<dd>Iframe utilisée pour afficher un nuage de tags des clefs qui ont effectué un don.</dd>
|
||||
<dd>La taille de chaque mot est proportionnelle au montant du don.</dd>
|
||||
|
||||
<dt><a href="inline-iframe.html">inline-iframe.html</a></dt>
|
||||
<dd>Iframe utilisée avec la propriété CSS display: inline; pour afficher des informations dans le flux du contenu.</dd>
|
||||
</dl>
|
||||
</body>
|
||||
</html>
|
40
vendor/crowdfunding2/examples/inline-iframe.html
vendored
@ -1,40 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Table iframe</title>
|
||||
<style>
|
||||
iframe {
|
||||
|
||||
display: inline;
|
||||
height: 1.5em;
|
||||
border: 0;
|
||||
width: 6em;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>< <a href=".">Autres exemples</a></nav>
|
||||
|
||||
<h1>Envie de financer Duniter ?</h1>
|
||||
|
||||
<p>
|
||||
Pour faire partie des <iframe style="width: 2em" src="https://growdfunding.borispaing.fr/iframes.php?wishedParam=donorsNb&pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8"></iframe>
|
||||
mécènes de Duniter qui ont déjà donné <iframe style="width: 6em" src="../iframes.php?wishedParam=amountCollected&unit=relative&pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8"></iframe>
|
||||
c'est simple :
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
<li>Copiez la clef suivante : <br/>
|
||||
78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8
|
||||
</li>
|
||||
|
||||
<li>Collez-la dans votre client Duniter préféré (Cesium, Silkaj, etc.) afin de faire votre don 😉</li>
|
||||
</ol>
|
||||
|
||||
<p>
|
||||
Merci pour votre soutient !
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
34
vendor/crowdfunding2/examples/js/autoHeight.js
vendored
@ -1,34 +0,0 @@
|
||||
function doIframe(){
|
||||
o = document.getElementsByTagName('iframe');
|
||||
for(i=0;i<o.length;i++){
|
||||
if (/\bautoHeight\b/.test(o[i].className)){
|
||||
setHeight(o[i]);
|
||||
addEvent(o[i],'load', doIframe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setHeight(e){
|
||||
if(e.contentDocument){
|
||||
e.height = e.contentDocument.body.offsetHeight + 0;
|
||||
} else {
|
||||
e.height = e.contentWindow.document.body.scrollHeight;
|
||||
}
|
||||
}
|
||||
|
||||
function addEvent(obj, evType, fn){
|
||||
if(obj.addEventListener)
|
||||
{
|
||||
obj.addEventListener(evType, fn,false);
|
||||
return true;
|
||||
} else if (obj.attachEvent){
|
||||
var r = obj.attachEvent("on"+evType, fn);
|
||||
return r;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (document.getElementById && document.createTextNode){
|
||||
addEvent(window,'load', doIframe);
|
||||
}
|
92
vendor/crowdfunding2/examples/kickstarter.html
vendored
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Kickstarter</title>
|
||||
<style>
|
||||
body {
|
||||
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.appel-au-don {
|
||||
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
border-radius: 1em;
|
||||
background-color: hsl(0, 0.0%, 75%);
|
||||
overflow: hidden;
|
||||
padding-bottom: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.appel-au-don h1 {
|
||||
|
||||
font-weight: 400;
|
||||
flex-basis: 100%;
|
||||
background-color: hsl(0, 0.0%, 31%);
|
||||
color: hsl(0, 0.0%, 100%);
|
||||
margin: 0;
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
font-family: serif;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.appel-au-don .presentation {
|
||||
|
||||
padding: 1em;
|
||||
flex-basis: calc(66% - 2em);
|
||||
flex-shrink: 1;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
iframe {
|
||||
|
||||
flex-shrink: 1;
|
||||
flex-basis: 30%;
|
||||
flex-grow: 1;
|
||||
border: 0;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
.closing-formula {
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.signature {
|
||||
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>< <a href=".">Autres exemples</a></nav>
|
||||
|
||||
<section class="appel-au-don">
|
||||
<h1>Encourageons les développeurs !</h1>
|
||||
|
||||
<section class="presentation">
|
||||
<p>
|
||||
Si vous aussi vous pensez qu'encourager les personnes qui donnent de leur temps à la monnaie libre est absolument indispensable
|
||||
au succès de celle-ci, nous vous proposons de soutenir les différentes initiatives qui s'y rapportent, et notamment les développeurs de Duniter.
|
||||
</p>
|
||||
<p class="closing-formula">
|
||||
Merci pour eux,
|
||||
</p>
|
||||
<p class="signature">
|
||||
Axiom-Team
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<iframe class="autoHeight"
|
||||
src="../iframe.php?theme=kickstarter&display_button=1&title=les%20d%C3%A9veloppeurs%20de%20Duniter&target=1000&unit=relative&pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8"
|
||||
></iframe>
|
||||
</section>
|
||||
|
||||
<script src="js/autoHeight.js"></script>
|
||||
</body>
|
||||
</html>
|
29
vendor/crowdfunding2/examples/paidge.html
vendored
@ -1,29 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Kickstarter</title>
|
||||
<style>
|
||||
body {
|
||||
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
iframe {
|
||||
|
||||
width: 75%;
|
||||
display: block;
|
||||
margin: auto;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>< <a href=".">Autres exemples</a></nav>
|
||||
|
||||
<iframe class="autoHeight"
|
||||
src="../iframe.php?theme=paidge&display_button=1&display_title=sure&title=Encourageons%20les%20d%C3%A9veloppeurs%20de%20Duniter&target=853&unit=relative&pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8"
|
||||
></iframe>
|
||||
|
||||
<script src="js/autoHeight.js"></script>
|
||||
</body>
|
||||
</html>
|
27
vendor/crowdfunding2/examples/table.html
vendored
@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Inline iframe</title>
|
||||
<style>
|
||||
iframe {
|
||||
|
||||
border: 0;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>< <a href=".">Autres exemples</a></nav>
|
||||
|
||||
<h1>Merci à nos donateurs</h1>
|
||||
|
||||
<p>
|
||||
Nous tenons à remercier tous nos généreux donateurs pour leurs dons du mois dernier (janvier 2020) :
|
||||
</p>
|
||||
|
||||
<iframe class="autoHeight" src="../iframes.php?wishedParam=donationsTable&start_date=2020-01-01&end_date=2020-01-31&pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8"></iframe>
|
||||
|
||||
<script src="js/autoHeight.js"></script>
|
||||
</body>
|
||||
</html>
|
19
vendor/crowdfunding2/functions.php
vendored
@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
function base64_encode_image ($filename, $filetype) {
|
||||
|
||||
if ($filename) {
|
||||
|
||||
$imgbinary = fread(fopen($filename, "r"), filesize($filename));
|
||||
return 'data:image/' . $filetype . ';base64,' . base64_encode($imgbinary);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function computeTextWidth ($fontSize, $fontFile, $text) {
|
||||
|
||||
|
||||
list($leftCornerX, $null, $rightCornerX) = imageTTFbBox($fontSize, 0, $fontFile, $text);
|
||||
|
||||
return ($rightCornerX - $leftCornerX);
|
||||
}
|
320
vendor/crowdfunding2/generate.php
vendored
@ -1,320 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="lib/css/w3.css">
|
||||
<link rel="stylesheet" href="lib/css/font_awesome.min.css">
|
||||
<link rel="stylesheet" href="lib/css/gh-fork-ribbon.min.css" />
|
||||
<link rel="stylesheet" href="generator.css">
|
||||
<title>Génération de votre barre de financement</title>
|
||||
</head>
|
||||
<body>
|
||||
<a class="github-fork-ribbon" href="https://git.duniter.org/paidge/barre-de-financement-int-grable" data-ribbon="Fork me on Gitlab" title="Fork me on Duniter's Gitlab">Fork me on Duniter's Gitlab</a>
|
||||
<header>
|
||||
<div class="w3-panel w3-padding-16 w3-display-middle w3-center w3-theme-d2">
|
||||
<h1 class="w3-jumbo">Générez votre barre de financement</h1>
|
||||
<h2>En monnaie libre Ğ1</h2>
|
||||
<p><a href="#content" id="smooth-scroll" class="w3-btn w3-theme-l5 w3-padding-large w3-large w3-margin-top w3-hover-theme">Commencer</a></p>
|
||||
</div>
|
||||
</header>
|
||||
<section id="content" class="w3-padding-32 w3-container w3-theme-l1">
|
||||
<div class="w3-content">
|
||||
<form class="w3-container">
|
||||
<fieldset class="w3-theme-l5">
|
||||
<legend class="w3-theme-d5 w3-padding-small w3-xlarge">Paramètres du crowdfunding</legend>
|
||||
<p class="field">
|
||||
<label for="pubkey">Pubkey :</label>
|
||||
<input id="pubkey" name="pubkey" type="text" class="w3-input w3-border w3-animate-input" required placeholder="27b1j7BPssdjbXmGNMYU2JJrRotqrZMruu5p5AWowUEy" pattern="^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$" />
|
||||
</p>
|
||||
<p class="field">
|
||||
<label for="target">Montant cible à atteindre :</label>
|
||||
<input id="target" name="target" type="number" class="w3-input w3-border" required placeholder="1000" min="0" />
|
||||
</p>
|
||||
<p class="field">
|
||||
<label for="unit">Unité :</label>
|
||||
<select id="unit" name="unit" class="w3-select w3-border">
|
||||
<option value="quantitative">quantitatif (G1)</option>
|
||||
<option value="relative" selected>relatif (DU)</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p class="field">
|
||||
<label for="period">Période de financement :</label>
|
||||
<select id="period" name="period" class="w3-select w3-border">
|
||||
<option value="current-monh" selected>Mois courant</option>
|
||||
<option value="one-date">A partir d'une date</option>
|
||||
<option value="two-dates">Entre deux dates</option>
|
||||
</select>
|
||||
</p>
|
||||
<p id="p-start_date" class="field w3-hide">
|
||||
<label for="start_date">Date de début :</label>
|
||||
<input id="start_date" name="start_date" type="date" class="w3-input w3-border" />
|
||||
</p>
|
||||
<p id="p-end_date" class="field w3-hide">
|
||||
<label for="end_date">Date de fin :</label>
|
||||
<input id="end_date" name="end_date" type="date" class="w3-input w3-border" />
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<fieldset class="w3-theme-l5">
|
||||
<legend class="w3-theme-d5 w3-padding-small w3-xlarge">
|
||||
Options d'affichage
|
||||
</legend>
|
||||
|
||||
<p class="field">
|
||||
<label for="lang">Langue :</label>
|
||||
<select id="lang" name="lang" class="w3-select w3-border">
|
||||
<option value="fr" selected>français</option>
|
||||
<option value="en">anglais</option>
|
||||
<option value="eo">esperanto</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p class="field">
|
||||
<label for="title">Titre :</label>
|
||||
<input id="title" name="title" type="text" class="w3-input w3-border w3-animate-input" placeholder="Financement participatif en monnaie libre" />
|
||||
</p>
|
||||
|
||||
<p class="field">
|
||||
<label for="theme">Thème :</label>
|
||||
<select id="theme" name="theme" class="w3-select w3-border">
|
||||
<option value="paidge" selected>Paidge</option>
|
||||
<option value="kickstarter">Kickstarter</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p class="field" id="p-hide_title">
|
||||
<label for="hide_title">Masquer le titre :</label>
|
||||
<input id="hide_title" name="hide_title" type="checkbox" class="w3-check" />
|
||||
</p>
|
||||
|
||||
<p class="field" id="p-display_pubkey">
|
||||
<label for="display_pubkey">Afficher la clef publique :</label>
|
||||
<input id="display_pubkey" name="display_pubkey" type="checkbox" class="w3-check" />
|
||||
</p>
|
||||
<p class="field" id="p-display_qrcode">
|
||||
<label for="display_qrcode">Afficher le QRcode :</label>
|
||||
<input id="display_qrcode" name="display_qrcode" type="checkbox" class="w3-check" />
|
||||
</p>
|
||||
|
||||
<p class="field" id="p-type">
|
||||
<label for="type">Type d'intégration :</label>
|
||||
<select id="type" name="type" class="w3-select w3-border" required>
|
||||
<option value="iframe" selected>Iframe</option>
|
||||
<option value="png">Image PNG</option>
|
||||
<option value="svg">Image SVG</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p id="p-display_button" class="field">
|
||||
<label for="display_button">Afficher le boutton :</label>
|
||||
<input id="display_button" name="display_button" type="checkbox" class="w3-check" />
|
||||
</p>
|
||||
|
||||
<p id="p-logo" class="field w3-hide">
|
||||
<label for="logo">Logo :</label>
|
||||
<select id="logo" name="logo" class="w3-select w3-border">
|
||||
<option value="no-logo" selected>Aucun</option>
|
||||
<option value="cesium">Cesium</option>
|
||||
<option value="duniter">Duniter</option>
|
||||
<option value="dunitrust">Dunitrust</option>
|
||||
<option value="junes">pièce de Geconomicus</option>
|
||||
<option value="sakia">Sakia</option>
|
||||
<option value="silkaj">Silkaj</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p class="field" id="p-background_color">
|
||||
<label for="background_color">Arrière-plan :</label>
|
||||
<input id="background_color" name="background_color" type="color" value="#ffffff" />
|
||||
</p>
|
||||
<p class="field" id="p-font_color">
|
||||
<label for="font_color">Texte :</label>
|
||||
<input id="font_color" name="font_color" type="color" value="#212529" />
|
||||
</p>
|
||||
<p class="field" id="p-progress_color">
|
||||
<label for="progress_color">Barre de progression :</label>
|
||||
<input id="progress_color" name="progress_color" type="color" value="#ffc107" />
|
||||
</p>
|
||||
<p class="field" id="p-border_color">
|
||||
<label for="border_color">Bordures :</label>
|
||||
<input id="border_color" name="border_color" type="color" value="#343a40" />
|
||||
</p>
|
||||
|
||||
<p id="p-display_graph" class="field">
|
||||
<label for="display_graph">Afficher le graphique :</label>
|
||||
<input id="display_graph" name="display_graph" type="checkbox" class="w3-check" />
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<!--
|
||||
<fieldset class="w3-theme-l5">
|
||||
<legend class="w3-theme-d5 w3-padding-small w3-xlarge">
|
||||
Paramètres avancés
|
||||
</legend>
|
||||
|
||||
<p class="field">
|
||||
<label for="node">Nœud duniter :</label>
|
||||
<input id="node" name="node" type="text" class="w3-input w3-border w3-animate-input" placeholder="g1.duniter.org" pattern="^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,6}$" />
|
||||
</p>
|
||||
</fieldset>
|
||||
-->
|
||||
|
||||
<div class="w3-center">
|
||||
<button id="submit" class="w3-btn w3-theme-l5 w3-padding-large w3-large w3-margin-top w3-hover-theme">
|
||||
Générer
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
<section id="display_result" class="w3-padding-32 w3-container w3-theme-d1">
|
||||
<div class="w3-content">
|
||||
<h2 id="preview_label" class="w3-hide">
|
||||
Prévisualisation :
|
||||
</h2>
|
||||
|
||||
<div id="preview" class="w3-margin-top w3-center"></div>
|
||||
|
||||
<div id="integration-instructions" class="w3-hide">
|
||||
|
||||
<h2>Comment l'intégrer</h2>
|
||||
|
||||
|
||||
<h3>Option n°1 : Code HTML</h3>
|
||||
|
||||
<p>Pour intégrer la barre sur un site web ou blog (type Wordpress).</p>
|
||||
|
||||
<textarea id="htm" onclick="select();" onfocus="select();" rows="5" readonly></textarea>
|
||||
|
||||
<div id="htmButton" class="buttons w3-bar w3-center w3-hide">
|
||||
<div class="tooltip">
|
||||
<button id="copy" class="w3-btn w3-theme-l5 w3-padding-large w3-large w3-margin-top w3-hover-theme" onclick="copyToClipboard('#htm')">
|
||||
Copier le code HTML
|
||||
</button>
|
||||
|
||||
<span class="tooltiptext">Copié !</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Option n°2 : Code Markdown</h3>
|
||||
|
||||
<p>Pour l'intégrer :</p>
|
||||
|
||||
<ul>
|
||||
<li>sur un forum Discourse (forum.monnaie-libre.org, forum.duniter.org),</li>
|
||||
<li>un pad CodiMD (FramaPad, P2Pad, etc.)</li>
|
||||
<li>un générateur de site statique (type Pelican).</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
Note pour <strong>Discourse : votre image risque de ne pas être mise à jour</strong> car, par défaut,
|
||||
les forums Discourse téléchargent une copie de toutes les images que vous insérez,
|
||||
plutôt que de les afficher de façon dynamique.
|
||||
</p>
|
||||
|
||||
<textarea id="markdown" onclick="select();" onfocus="select();" rows="5" readonly></textarea>
|
||||
|
||||
<div id="markdownButton" class="buttons w3-bar w3-center w3-hide">
|
||||
<div class="tooltip">
|
||||
<button id="copy" class="w3-btn w3-theme-l5 w3-padding-large w3-large w3-margin-top w3-hover-theme" onclick="copyToClipboard('#markdown')">
|
||||
Copier le code Markdown
|
||||
</button>
|
||||
|
||||
<span class="tooltiptext">Copié !</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h3>Option n°3 : Wikitext</h3>
|
||||
|
||||
<p>Pour l'intégrer sur un wiki type DokuWiki (FramaWiki)</p>
|
||||
|
||||
<textarea id="wikitext" onclick="select();" onfocus="select();" rows="5" readonly></textarea>
|
||||
|
||||
<div id="wikitextButton" class="buttons w3-bar w3-center w3-hide">
|
||||
<div class="tooltip">
|
||||
<button id="copy" class="w3-btn w3-theme-l5 w3-padding-large w3-large w3-margin-top w3-hover-theme" onclick="copyToClipboard('#wikitext')">
|
||||
Copier le code Wikitext
|
||||
</button>
|
||||
|
||||
<span class="tooltiptext">Copié !</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h3>Option n°4 : BBCode</h3>
|
||||
|
||||
<p>Pour l'intégrer sur un forum type phpBB</p>
|
||||
|
||||
<textarea id="bbcode" onclick="select();" onfocus="select();" rows="5" readonly></textarea>
|
||||
|
||||
<div id="bbcodeButton" class="buttons w3-bar w3-center w3-hide">
|
||||
<div class="tooltip">
|
||||
<button id="copy" class="w3-btn w3-theme-l5 w3-padding-large w3-large w3-margin-top w3-hover-theme" onclick="copyToClipboard('#bbcode')">
|
||||
Copier le BBCode
|
||||
</button>
|
||||
|
||||
<span class="tooltiptext">Copié !</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<div id="back-to-top" class="w3-hover-theme">
|
||||
<i class="fa fa-angle-double-up" aria-hidden="true"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<footer class="w3-container w3-padding-16 w3-center w3-theme-d5">
|
||||
<p>
|
||||
Code source disponible sur
|
||||
|
||||
<a href="https://git.duniter.org" target="_blank">
|
||||
le Gitlab Duniter
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Développé par
|
||||
|
||||
<a href="https://g1.duniter.fr/#/app/wot/27b1j7BPssdjbXmGNMYU2JJrRotqrZMruu5p5AWowUEy/" target="_blank">
|
||||
Paidge
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<div class="w3-xlarge">
|
||||
<a href="https://www.facebook.com/pjchancellier" target="_blank"><i class="fab fa-facebook-f w3-margin-right"></i></a>
|
||||
<a href="https://diaspora.normandie-libre.fr/people/97f6cd801bcf01365ebe002564b8841f" target="_blank"><i class="fab fa-diaspora w3-margin-right"></i></a>
|
||||
<a href="https://www.youtube.com/watch?v=SjoYIz_3JLI&list=PLmKEBjWrttOu93a92v62EWnjcs_fX6I7C" target="_blank"><i class="fab fa-youtube w3-margin-right"></i></a>
|
||||
<a href="https://normandie-libre.fr" target="_blank"><i class="fas fa-globe"></i></a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<script>
|
||||
</script>
|
||||
<script src="lib/js/jquery-3.4.1.min.js"></script>
|
||||
<script src="lib/js/generate.js"></script>
|
||||
<script>
|
||||
function copyToClipboard(element) {
|
||||
$(element).select();
|
||||
document.execCommand("copy");
|
||||
$('.tooltip').addClass('tooltip_display');
|
||||
setTimeout(function(){$('.tooltip').removeClass('tooltip_display');}, 600)
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
127
vendor/crowdfunding2/generator.css
vendored
@ -1,127 +0,0 @@
|
||||
body, html{height: 100%;}
|
||||
.github-fork-ribbon{position:fixed;}
|
||||
header{
|
||||
min-height:100%;
|
||||
background: linear-gradient(
|
||||
rgba(0, 0, 0, 0.45),
|
||||
rgba(0, 0, 0, 0.45)
|
||||
),url('img/background.png');
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
header h1.w3-jumbo{margin:0;}
|
||||
fieldset{margin-bottom:16px;}
|
||||
fieldset fieldset{margin-left:32px;}
|
||||
label{
|
||||
font-weight:bold;
|
||||
width:275px;
|
||||
display:inline-block;
|
||||
}
|
||||
p.field:focus-within{color:#008ae6;}
|
||||
fieldset input:not([type='checkbox']):not([type='color']), select{width:300px;}
|
||||
input:not([type='color']):valid {border-color:#28a745 !important;}
|
||||
input:focus,input:active,select:focus,select:active{
|
||||
border-color:#008ae6 !important;
|
||||
border-width:2px !important;
|
||||
}
|
||||
input:invalid {border-color:#fd3536 !important;}
|
||||
input:optional{border-color:#ccc !important;}
|
||||
select{
|
||||
display:block;
|
||||
width:300px !important;
|
||||
}
|
||||
::placeholder {color: #59bdff;}
|
||||
textarea{width:100%;}
|
||||
#buttons{overflow:visible;}
|
||||
.tooltip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
border-bottom: 1px dotted black;
|
||||
}
|
||||
.tooltip .tooltiptext {
|
||||
width: 120px;
|
||||
background-color: #555;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 6px;
|
||||
padding: 5px 0;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 60px;
|
||||
left: 50%;
|
||||
margin-left: -60px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
.tooltip .tooltiptext::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: #555 transparent transparent transparent;
|
||||
}
|
||||
.tooltip_display .tooltiptext {
|
||||
opacity: 1;
|
||||
}
|
||||
iframe{border:none;}
|
||||
#back-to-top {
|
||||
color:white;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
bottom: 40px;
|
||||
right: 40px;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
display: none;
|
||||
opacity: 0.5;
|
||||
transition: all 0.4s;
|
||||
position: fixed;
|
||||
background-color: #343a40;
|
||||
}
|
||||
#back-to-top:hover {
|
||||
opacity: 1;
|
||||
cursor: pointer;
|
||||
border:1px solid white;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
header h1.w3-jumbo{font-size:25px !important;}
|
||||
header h2{font-size:15px;}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
header h1.w3-jumbo{font-size:32px !important;}
|
||||
header h2{font-size:17px;}
|
||||
}
|
||||
/* Color theme */
|
||||
.w3-theme-l5 {color:#000 !important; background-color:#f7fcff !important}
|
||||
.w3-theme-l4 {color:#000 !important; background-color:#e5f5ff !important}
|
||||
.w3-theme-l3 {color:#000 !important; background-color:#ccebff !important}
|
||||
.w3-theme-l2 {color:#000 !important; background-color:#b3e0ff !important}
|
||||
.w3-theme-l1 {color:#000 !important; background-color:#99d6ff !important}
|
||||
.w3-theme-d1 {color:#000 !important; background-color:#59bdff !important}
|
||||
.w3-theme-d2 {color:#fff !important; background-color:#33adff !important}
|
||||
.w3-theme-d3 {color:#fff !important; background-color:#0d9eff !important}
|
||||
.w3-theme-d4 {color:#fff !important; background-color:#008ae6 !important}
|
||||
.w3-theme-d5 {color:#fff !important; background-color:#0073bf !important}
|
||||
|
||||
.w3-theme-light {color:#000 !important; background-color:#f7fcff !important}
|
||||
.w3-theme-dark {color:#fff !important; background-color:#0073bf !important}
|
||||
.w3-theme-action {color:#fff !important; background-color:#0073bf !important}
|
||||
|
||||
.w3-theme {color:#000 !important; background-color:#80ccff !important}
|
||||
.w3-text-theme {color:#80ccff !important}
|
||||
.w3-border-theme {border-color:#80ccff !important}
|
||||
|
||||
.w3-hover-theme:hover {color:#fff !important; background-color:#0073bf !important}
|
||||
a:hover {color:#002135 !important}
|
||||
.w3-hover-border-theme:hover {border-color:#80ccff !important}
|
126
vendor/crowdfunding2/iframe.php
vendored
@ -1,126 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once('conf.php');
|
||||
require_once('functions.php');
|
||||
require_once('Crowdfunding.class.php');
|
||||
require_once('Color.class.php');
|
||||
require_once('lib/locales.php');
|
||||
|
||||
$GETs = ['pubkey', 'unit', 'start_date', 'end_date'];
|
||||
|
||||
foreach ($GETs as $get) {
|
||||
|
||||
if (!isset($_GET[$get])) {
|
||||
|
||||
$_GET[$get] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
$myCrowdfunding = new Crowdfunding($_GET['pubkey'], $_GET['unit'], $_GET['start_date'], $_GET['end_date']);
|
||||
|
||||
|
||||
if (isset($_GET['target'])) {
|
||||
|
||||
$myCrowdfunding->setTarget($_GET['target']);
|
||||
}
|
||||
|
||||
if (isset($_GET['months_to_consider'])) { // for Tipeee-like themes
|
||||
|
||||
$myCrowdfunding->setMonthsToConsider($_GET['months_to_consider']);
|
||||
}
|
||||
|
||||
if (isset($_GET['display_button'])) {
|
||||
|
||||
$myCrowdfunding->setMustDisplayButton($_GET['display_button']);
|
||||
}
|
||||
|
||||
if (isset($_GET['title'])) {
|
||||
|
||||
$myCrowdfunding->setTitle($_GET['title']);
|
||||
}
|
||||
|
||||
if (isset($_GET['hide_title'])) {
|
||||
|
||||
$myCrowdfunding->setMustHideTitle($_GET['hide_title']);
|
||||
|
||||
}
|
||||
|
||||
if (isset($_GET['display_pubkey'])) {
|
||||
|
||||
$myCrowdfunding->setMustDisplayPubkey($_GET['display_pubkey']);
|
||||
}
|
||||
|
||||
if (isset($_GET['display_qrcode'])) {
|
||||
|
||||
$myCrowdfunding->setMustDisplayQRCode(true);
|
||||
}
|
||||
|
||||
/*
|
||||
if (isset($_GET['node'])) {
|
||||
|
||||
$myCrowdfunding->addNodes(explode(' ', $_GET['node']));
|
||||
}
|
||||
*/
|
||||
|
||||
if (isset($_GET['display_graph'])) {
|
||||
|
||||
$myCrowdfunding->setMustDisplayGraph($_GET['display_graph']);
|
||||
|
||||
if ($myCrowdfunding->getMustDisplayGraph()) {
|
||||
|
||||
require_once('Chart.class.php');
|
||||
|
||||
$chart = new Chart($myCrowdfunding);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (!isset($_GET['theme']) or !file_exists($tplPath = THEMES_PATH . '/' . $_GET['theme'] . '.html.php')) {
|
||||
|
||||
$theme = DEFAULT_THEME;
|
||||
|
||||
} else {
|
||||
|
||||
$theme = $_GET['theme'];
|
||||
}
|
||||
|
||||
$tplPath = THEMES_PATH . '/' . $theme . '.html.php';
|
||||
$confPath = THEMES_PATH . '/' . $theme . '.conf.php';
|
||||
|
||||
if (file_exists($confPath)) {
|
||||
|
||||
require_once($confPath);
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title><?php echo $myCrowdfunding->getTitle(); ?></title>
|
||||
<link rel="stylesheet" href="<?php echo THEMES_PATH . '/' . $theme; ?>.css" />
|
||||
|
||||
<?php
|
||||
if (function_exists('getComputedStyles')) {
|
||||
|
||||
echo '
|
||||
<style>
|
||||
'. getComputedStyles() .'
|
||||
</style>';
|
||||
}
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
include($tplPath);
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
210
vendor/crowdfunding2/iframes.php
vendored
@ -1,210 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once('Crowdfunding.class.php');
|
||||
|
||||
|
||||
$availableParams = ['donorsNb', 'amountCollected', 'daysLeft', 'donorsList', 'donationsTable'];
|
||||
|
||||
$wishedParam = in_array($_GET['wishedParam'], $availableParams) ? $_GET['wishedParam'] : 'amountCollected';
|
||||
|
||||
|
||||
$GETs = ['start_date', 'end_date', 'style'];
|
||||
|
||||
foreach ($GETs as $get) {
|
||||
|
||||
if (!isset($_GET[$get])) {
|
||||
|
||||
$_GET[$get] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
$unit = isset($_GET['unit']) ? $_GET['unit'] : 'relative';
|
||||
|
||||
$myCrowdfunding = new Crowdfunding($_GET['pubkey'], $unit, $_GET['start_date'], $_GET['end_date']);
|
||||
|
||||
|
||||
|
||||
|
||||
$validStyles = ['cloud'];
|
||||
|
||||
if (isset($_GET['style']) AND in_array($_GET['style'], $validStyles)) {
|
||||
|
||||
$style = $_GET['style'];
|
||||
|
||||
} else {
|
||||
|
||||
$style = 'default';
|
||||
}
|
||||
|
||||
|
||||
|
||||
?><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>test</title>
|
||||
<style>
|
||||
body, p {
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/*overflow: hidden;*/
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table {
|
||||
|
||||
border-collapse: collapse;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
td, th {
|
||||
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.333em 0.666em;
|
||||
}
|
||||
|
||||
td.amount {
|
||||
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
.donorsList.cloud-style {
|
||||
|
||||
list-style-type: none;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
max-width: 500px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.donorsList.cloud-style li {
|
||||
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.donorsList.cloud-style li .amount,
|
||||
.donorsList.cloud-style li .sep {
|
||||
|
||||
display: none;
|
||||
}
|
||||
|
||||
.donorsList.default-style li {
|
||||
|
||||
font-size: 1em !important; /* We shoud find a better way than using !important */
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
switch ($wishedParam) {
|
||||
|
||||
case 'donorsNb':
|
||||
|
||||
echo '<p>' . $myCrowdfunding->getDonorsNb() . '</p>';
|
||||
|
||||
break;
|
||||
|
||||
case 'amountCollected':
|
||||
|
||||
echo '
|
||||
<p>
|
||||
' . $myCrowdfunding->getAmountCollected() . ' ' . $myCrowdfunding->printUnit() . '
|
||||
</p>';
|
||||
|
||||
break;
|
||||
|
||||
|
||||
case 'donorsList':
|
||||
|
||||
$donationsList = $myCrowdfunding->getDonationsList();
|
||||
|
||||
$min = $myCrowdfunding->getMinDonation();
|
||||
$max = $myCrowdfunding->getMaxDonation();
|
||||
|
||||
if (empty($donationsList)) {
|
||||
|
||||
echo _('Pas encore de donateurs');
|
||||
|
||||
} else {
|
||||
|
||||
echo '<ul class="donorsList '. $style .'-style">';
|
||||
|
||||
foreach ($donationsList as $t) {
|
||||
|
||||
echo '
|
||||
|
||||
<li data-amount="'. round($t['amount'], 2) .'" style="font-size: '. (1 + ($t['amount'] / $max) * 2) . 'em;">
|
||||
|
||||
<span class="pubkey">
|
||||
'. substr($t['donor'], 0, 8) .'
|
||||
</span>
|
||||
|
||||
<span class="sep"> : </span>
|
||||
|
||||
<span class="amount">
|
||||
' . ceil($t['amount']/$myCrowdfunding->getLatestUDAmount()) . ' '. $myCrowdfunding->printUnit();
|
||||
echo '
|
||||
</span>
|
||||
</li>';
|
||||
}
|
||||
|
||||
echo '</ul>';
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
||||
case 'donationsTable':
|
||||
|
||||
$donationsList = $myCrowdfunding->getDonationsList();
|
||||
|
||||
if (empty($donationsList)) {
|
||||
|
||||
echo _('Pas encore de dons');
|
||||
|
||||
} else {
|
||||
|
||||
echo '<table>
|
||||
|
||||
<tr>
|
||||
<th>Clef</th>
|
||||
<th>Commentaire</th>
|
||||
<th>Montant</th>
|
||||
</tr>';
|
||||
|
||||
foreach ($donationsList as $t) {
|
||||
|
||||
echo '
|
||||
|
||||
<tr>
|
||||
<td>'. substr($t['donor'], 0, 8) . '</td>
|
||||
<td>';
|
||||
if (!empty($t['comment'])) {
|
||||
|
||||
echo '<q>'. $t['comment'] .'</q>';
|
||||
}
|
||||
echo '
|
||||
</td>
|
||||
<td class="amount">
|
||||
' . ceil($t['amount']) . ' '. $myCrowdfunding->printUnit() . '
|
||||
</td>
|
||||
</li>';
|
||||
}
|
||||
}
|
||||
|
||||
echo '</table>';
|
||||
|
||||
break;
|
||||
case 'daysLeft':
|
||||
break;
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
82
vendor/crowdfunding2/image.php
vendored
@ -1,82 +0,0 @@
|
||||
<?php
|
||||
|
||||
|
||||
require_once('conf.php');
|
||||
require_once('functions.php');
|
||||
require_once('Crowdfunding.class.php');
|
||||
require_once('Color.class.php');
|
||||
require_once('lib/locales.php');
|
||||
|
||||
|
||||
// =============================== Crowdfunding setting ===============================
|
||||
|
||||
$GETs = ['pubkey', 'unit', 'start_date', 'end_date'];
|
||||
|
||||
foreach ($GETs as $get) {
|
||||
|
||||
if (!isset($_GET[$get])) {
|
||||
|
||||
$_GET[$get] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
$myCrowdfunding = new Crowdfunding($_GET['pubkey'], $_GET['unit'], $_GET['start_date'], $_GET['end_date'], 'img');
|
||||
|
||||
|
||||
if (isset($_GET['target'])) {
|
||||
|
||||
$myCrowdfunding->setTarget($_GET['target']);
|
||||
}
|
||||
|
||||
if (isset($_GET['title'])) {
|
||||
|
||||
$myCrowdfunding->setTitle($_GET['title']);
|
||||
}
|
||||
|
||||
if (isset($_GET['hide_title'])) {
|
||||
|
||||
$myCrowdfunding->setMustHideTitle($_GET['hide_title']);
|
||||
|
||||
}
|
||||
|
||||
if (isset($_GET['display_pubkey'])) {
|
||||
|
||||
$myCrowdfunding->setMustDisplayPubkey($_GET['display_pubkey']);
|
||||
}
|
||||
|
||||
if (isset($_GET['display_qrcode'])) {
|
||||
|
||||
$myCrowdfunding->setMustDisplayQRCode($_GET['display_qrcode']);
|
||||
}
|
||||
|
||||
/*
|
||||
if (isset($_GET['node'])) {
|
||||
|
||||
$myCrowdfunding->addNodes(explode(' ', $_GET['node']));
|
||||
}
|
||||
*/
|
||||
|
||||
if (isset($_GET['logo'])) {
|
||||
|
||||
$myCrowdfunding->setLogo($_GET['logo']);
|
||||
}
|
||||
|
||||
|
||||
|
||||
$theme = isset($_GET['theme']) ? $_GET['theme'] : DEFAULT_THEME;
|
||||
|
||||
if (!file_exists($tplPath = THEMES_PATH . '/' . $theme . '.image.php')) {
|
||||
|
||||
$tplPath = THEMES_PATH . '/' . DEFAULT_THEME . '.image.php';
|
||||
|
||||
}
|
||||
|
||||
if (file_exists($confPath = THEMES_PATH . '/' . $theme . '.conf.php')) {
|
||||
|
||||
require_once($confPath);
|
||||
}
|
||||
|
||||
ob_clean(); // Without this line, encoding problems (UTF-8 php files instead of ANSI) can cause image to not generate)
|
||||
header ("Content-type: image/png"); // Comment this line if you need to debug
|
||||
|
||||
include($tplPath);
|
BIN
vendor/crowdfunding2/img/background.png
vendored
Before Width: | Height: | Size: 7.0 KiB |
BIN
vendor/crowdfunding2/img/capture.jpg
vendored
Before Width: | Height: | Size: 59 KiB |
BIN
vendor/crowdfunding2/img/logos/png/cesium.png
vendored
Before Width: | Height: | Size: 6.7 KiB |
BIN
vendor/crowdfunding2/img/logos/png/duniter.png
vendored
Before Width: | Height: | Size: 3.4 KiB |
BIN
vendor/crowdfunding2/img/logos/png/dunitrust.png
vendored
Before Width: | Height: | Size: 27 KiB |
BIN
vendor/crowdfunding2/img/logos/png/junes.png
vendored
Before Width: | Height: | Size: 8.0 KiB |
BIN
vendor/crowdfunding2/img/logos/png/sakia.png
vendored
Before Width: | Height: | Size: 8.0 KiB |
BIN
vendor/crowdfunding2/img/logos/png/silkaj.png
vendored
Before Width: | Height: | Size: 4.8 KiB |
57
vendor/crowdfunding2/img/logos/svg/cesium.svg
vendored
@ -1,57 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg width="512px" height="512px" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
|
||||
<path d="M 390.992 122.276 C 418.209 157.183 434.924 200.278 441.202 248.24 C 441.187 276.711 435.71 305.292 425.308 333.282 C 371.101 416.727 274.951 449.213 167.669 434.279 C 136.406 416.036 109.009 390.076 86.272 358.016 C 67.778 323.794 57.942 284.4 56.489 242.062 C 62.206 199.766 79.617 161.912 106.301 129.617 C 162.524 85.439 239.03 70.181 321.968 82.52 C 345.508 92.535 368.657 105.883 390.992 122.276 Z" style="fill: rgb(255, 255, 255);" bx:origin="0 0"/>
|
||||
<g transform="matrix(0.517848, 0, 0, 0.517848, -53.306625, -599.931213)" style="opacity: 1;">
|
||||
<g id="g-14" style="display: inline; opacity: 0.5;" transform="matrix(1, 0, 0, 1, 144.570724, 1007.099426)">
|
||||
<path style="display:inline;fill:#ffd086;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 585.16992,524.91211 C 447.41745,738.84015 285.93093,797.68142 93.347656,801.03711 158.66452,921.84083 287.20038,1003.1698 434.03906,1001.2559 607.56851,998.99446 752.51317,881.18488 796.65234,721.9668 c -2.6864,-6.57764 -6.20106,-13.62037 -10.8164,-21.13477 C 768.68987,677.03878 709.10478,568.47721 585.16992,524.91211 Z" id="path-102"/>
|
||||
<path style="display:inline;fill:#270b0b;fill-opacity:0.99393939;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 586.254 524.115 C 564.682 650.453 477.974 754.472 498.584 835.602 C 524.648 938.199 419.458 961.515 333.973 989.342 C 365.923 997.545 399.475 1001.706 434.039 1001.256 C 634.052 998.649 796.093 842.536 809.561 646.439 C 793.197 641.777 777.425 634.689 766.723 622.746 C 734.035 586.272 650.117 546.564 586.254 524.115 Z" id="path-103" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(203, 137, 3); fill-opacity: 0.993939; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;" d="M 586.254 524.115 C 564.682 650.453 477.974 754.472 498.584 835.602 C 524.648 938.199 419.458 961.515 333.973 989.342 C 365.923 997.545 399.475 1001.706 434.039 1001.256 C 634.052 998.649 796.093 842.536 809.561 646.439 C 793.197 641.777 777.425 634.689 766.723 622.746 C 734.035 586.272 650.117 546.564 586.254 524.115 Z" id="path-104" bx:origin="0.5 0.5"/>
|
||||
</g>
|
||||
<g id="g-15" style="display: inline; opacity: 0.5;" transform="matrix(1, 0, 0, 1, 144.570724, 1007.099426)">
|
||||
<rect x="504.265" y="500.287" width="23.492" height="25.527" style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-105"/>
|
||||
<rect x="369.174" y="415.429" width="22.384" height="24.419" style="display:inline;opacity:1;fill:#ffd086;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-106"/>
|
||||
<rect x="418.995" y="433.019" width="30.524" height="30.524" style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-107"/>
|
||||
<rect x="417.34" y="652.556" width="46.803" height="46.803" style="display:inline;opacity:1;fill:#fbc14c;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-108"/>
|
||||
<rect x="422.586" y="475.891" width="30.524" height="30.524" style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-109"/>
|
||||
<rect x="472.618" y="605.457" width="24.419" height="26.454" style="display:inline;opacity:1;fill:#cc8902;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-110"/>
|
||||
<rect x="520.772" y="557.902" width="18.314" height="18.314" style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-111"/>
|
||||
<rect x="454.784" y="563.028" width="30.524" height="30.524" style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-112"/>
|
||||
<rect x="335.342" y="720.987" width="38.663" height="40.698" style="display:inline;opacity:1;fill:#fbc14c;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-113"/>
|
||||
<rect x="371.97" y="661.975" width="26.454" height="30.524" style="display:inline;opacity:1;fill:#fbc14c;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-114"/>
|
||||
<rect x="-427.93" y="610.085" width="24.507" height="24.419" style="display:inline;opacity:1;fill:#cc8902;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-115" transform="scale(-1,1)"/>
|
||||
<rect x="480.411" y="523.469" width="20.349" height="22.384" style="display:inline;opacity:1;fill:#ffd086;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-116"/>
|
||||
<rect x="-499.5" y="466.314" width="24.507" height="24.419" style="display:inline;opacity:1;fill:#cc8902;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843" id="path-117" transform="scale(-1,1)"/>
|
||||
</g>
|
||||
<g id="g-16" style="display: inline; opacity: 1;" transform="matrix(1.0000000700020495, 0, 0, 1.0000000700020495, 144.57072391079612, 1007.0994398715994)">
|
||||
<path style="display: inline; fill: none; fill-opacity: 1; fill-rule: evenodd; stroke: rgb(255, 122, 0); stroke-width: 2.34888; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;" d="M 585.16992,524.91211 C 447.41745,738.84015 285.93093,797.68142 93.347656,801.03711 158.66452,921.84083 287.20038,1003.1698 434.03906,1001.2559 607.56851,998.99446 752.51317,881.18488 796.65234,721.9668 c -2.6864,-6.57764 -6.20106,-13.62037 -10.8164,-21.13477 C 768.68987,677.03878 709.10478,568.47721 585.16992,524.91211 Z" id="path-118"/>
|
||||
<path style="display: inline; fill: none; fill-opacity: 0.993939; fill-rule: evenodd; stroke: rgb(255, 122, 0); stroke-width: 2.34888; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;" d="M 586.254 524.115 C 564.682 650.453 477.974 754.472 498.584 835.602 C 524.648 938.199 419.458 961.515 333.973 989.342 C 365.923 997.545 399.475 1001.706 434.039 1001.256 C 634.052 998.649 796.093 842.536 809.561 646.439 C 793.197 641.777 777.425 634.689 766.723 622.746 C 734.035 586.272 650.117 546.564 586.254 524.115 Z" id="path-119" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: none; fill-opacity: 0.993939; fill-rule: evenodd; stroke: rgb(255, 122, 0); stroke-width: 2.34888; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;" d="M 586.254 524.115 C 564.682 650.453 477.974 754.472 498.584 835.602 C 524.648 938.199 419.458 961.515 333.973 989.342 C 365.923 997.545 399.475 1001.706 434.039 1001.256 C 634.052 998.649 796.093 842.536 809.561 646.439 C 793.197 641.777 777.425 634.689 766.723 622.746 C 734.035 586.272 650.117 546.564 586.254 524.115 Z" id="path-120" bx:origin="0.5 0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(0.608261, 0, 0, 0.608261, -20.084976, 3.255736)">
|
||||
<g>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 0.78;" id="path-10" d="M 419.133 85.738 C 417.295 85.739 415.455 85.754 413.611 85.778 C 354.852 86.561 299.023 99.174 248.358 121.32 C 584.121 13.206 796.175 211.26 831.7 508.773 L 846.383 507.124 C 815.586 235.801 652.477 85.588 419.133 85.738 Z" transform="matrix(0.96373, 0.266878, -0.266878, 0.96373, 89.505231, -136.615061)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 1;" id="path-3" d="M 146.037 194.065 C 144.201 194.066 142.361 194.081 140.517 194.104 C 81.76 194.888 25.931 207.503 -24.736 229.648 C 311.029 121.531 523.083 319.583 558.604 617.093 L 573.284 615.443 C 542.49 344.122 379.385 193.913 146.037 194.065 Z" transform="matrix(-0.180988, -0.983485, 0.983485, -0.180988, -39.298581, 705.897544)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 0.4;" id="path-11" d="M 487.744 193.084 C 485.906 193.085 484.067 193.1 482.223 193.123 C 423.464 193.907 367.635 206.52 316.975 228.668 C 652.726 120.552 864.775 318.605 900.299 616.109 L 914.979 614.46 C 884.184 343.144 721.081 192.935 487.744 193.084 Z" transform="matrix(0.619997, 0.784605, -0.784605, 0.619997, 523.067231, -343.331539)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 0.84;" id="path-12" d="M 295.969 432.757 C 294.131 432.758 292.293 432.773 290.449 432.797 C 231.688 433.58 175.86 446.194 125.198 468.341 C 460.957 360.226 673.005 558.28 708.526 855.786 L 723.207 854.139 C 692.412 582.819 529.31 432.609 295.969 432.757 Z" transform="matrix(-0.978849, 0.204584, -0.204584, -0.978849, 963.820796, 1116.367293)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 0.4;" id="path-13" d="M 158.036 148.83 C 156.2 148.833 154.36 148.846 152.516 148.872 C 93.759 149.653 37.93 162.267 -12.734 184.411 C 323.022 76.301 535.076 274.352 570.604 571.857 L 585.286 570.208 C 554.483 298.891 391.38 148.683 158.036 148.83 Z" transform="matrix(0.338614, -0.940926, 0.940926, 0.338614, -115.595158, 483.705984)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 1;" id="path-14" d="M 501.019 288.292 C 499.181 288.293 497.34 288.308 495.496 288.331 C 436.736 289.115 380.908 301.726 330.243 323.874 C 666.004 215.757 878.062 413.812 913.586 711.322 L 928.268 709.673 C 897.468 438.352 734.361 288.141 501.019 288.292 Z" transform="matrix(0.164656, 0.986351, -0.986351, 0.164656, 982.857266, -233.452063)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 0.4;" id="path-15" d="M 192.954 376.521 C 191.115 376.522 189.277 376.537 187.433 376.561 C 128.674 377.344 72.845 389.958 22.181 412.103 C 357.94 303.989 569.987 502.045 605.505 799.553 L 620.188 797.905 C 589.392 526.584 426.295 376.369 192.954 376.521 Z" transform="matrix(-0.931404, -0.363988, 0.363988, -0.931404, 419.499006, 1182.599809)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 1;" id="path-16" d="M 221.614 63.973 C 219.777 63.976 217.938 63.99 216.094 64.015 C 157.334 64.795 101.506 77.409 50.841 99.554 C 386.598 -8.559 598.651 189.497 634.173 487.001 L 648.854 485.354 C 618.058 214.037 454.954 63.824 221.614 63.973 Z" transform="matrix(0.750452, -0.660925, 0.660925, 0.750452, -70.803322, 290.920273)" bx:origin="0.5 0.5"/>
|
||||
<path style="display: inline; fill: rgb(64, 178, 255); fill-opacity: 1; fill-rule: evenodd; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1; opacity: 0.4;" id="path-17" d="M 441.888 342.098 C 440.047 342.098 438.207 342.114 436.362 342.138 C 377.601 342.922 321.765 355.535 271.103 377.681 C 606.886 269.567 818.944 467.615 854.462 765.133 L 869.142 763.483 C 838.354 492.154 675.242 341.948 441.888 342.098 Z" transform="matrix(-0.356582, 0.934264, -0.934264, -0.356582, 1256.759493, 169.182552)" bx:origin="0.5 0.5"/>
|
||||
<g transform="matrix(0.762493, 0, 0, 0.762493, 19.294647, -716.322815)">
|
||||
<path d="M 566.466 1089.137 L 566.466 1148.222 C 565.867 1148.219 565.267 1148.217 564.667 1148.217 C 561.481 1148.217 558.31 1148.259 555.154 1148.341 L 555.154 1089.137 Z M 908.29 1477.146 L 956.987 1477.146 L 956.987 1488.458 L 908.569 1488.458 C 908.539 1484.693 908.447 1480.922 908.29 1477.146 Z M 566.466 1835.013 L 566.466 1876.467 L 555.154 1876.467 L 555.154 1834.886 C 558.318 1834.973 561.49 1835.017 564.667 1835.017 C 565.267 1835.017 565.867 1835.016 566.466 1835.013 Z M 220.775 1488.458 L 169.657 1488.458 L 169.657 1477.146 L 221.089 1477.146 C 220.921 1480.909 220.816 1484.68 220.775 1488.458 Z" style="fill: rgb(64, 40, 0); stroke: none;" bx:origin="0 0"/>
|
||||
<path d="M 760.121 1143.311 L 717.336 1217.417 C 715.72 1216.518 714.096 1215.632 712.465 1214.761 L 755.318 1140.537 Z M 830.122 1324.203 L 900.424 1283.614 L 903.198 1288.417 L 833.04 1328.923 C 832.08 1327.339 831.107 1325.766 830.122 1324.203 Z M 840.599 1641.137 L 903.197 1677.278 L 900.424 1682.082 L 837.911 1645.99 C 838.821 1644.38 839.717 1642.762 840.599 1641.137 Z M 725.168 1761.843 L 760.122 1822.385 L 755.318 1825.158 L 720.379 1764.641 C 721.985 1763.722 723.582 1762.789 725.168 1761.843 Z M 403.538 1760.932 L 366.456 1825.159 L 361.653 1822.386 L 398.802 1758.042 C 400.372 1759.019 401.951 1759.982 403.538 1760.932 Z M 289.58 1642.689 L 221.35 1682.082 L 218.577 1677.279 L 286.944 1637.807 C 287.807 1639.437 288.685 1641.065 289.58 1642.689 Z M 294.354 1332.168 L 218.576 1288.417 L 221.35 1283.614 L 297.213 1327.414 C 296.246 1328.99 295.293 1330.575 294.354 1332.168 Z M 406.079 1220.259 L 361.653 1143.311 L 366.457 1140.537 L 410.889 1217.495 C 409.276 1218.403 407.673 1219.324 406.079 1220.259 Z" style="fill: rgb(64, 40, 0); stroke: none;" bx:origin="0 0"/>
|
||||
</g>
|
||||
</g>
|
||||
<rect x="429.367" y="425.979" width="20.003" height="21.735" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-91" transform="matrix(1, 0, 0, 0.999999, -301.377075, -219.498434)"/>
|
||||
<rect x="446.853" y="25.462" width="25.99" height="25.99" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-93"/>
|
||||
<rect x="-135.956" y="605.141" width="39.851" height="39.851" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-94" transform="matrix(0.999999, 0, 0, 1, 846.176756, -394.956024)"/>
|
||||
<rect x="225.779" y="689.836" width="25.99" height="25.99" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-95"/>
|
||||
<rect x="594.013" y="737.142" width="20.792" height="22.525" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-96"/>
|
||||
<rect x="387.235" y="479.397" width="25.99" height="25.99" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-98" transform="matrix(1.000001, 0, 0, 0.999999, 365.274966, 79.295241)"/>
|
||||
<rect x="421.962" y="775.937" width="32.92" height="34.653" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-99"/>
|
||||
<rect x="-66.939" y="-568.978" width="20.867" height="20.792" style="display: inline; opacity: 1; fill: rgb(80, 150, 200); fill-opacity: 1; stroke: none; stroke-width: 34.9; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0; stroke-opacity: 0.996078;" id="path-101" transform="matrix(-1, 0, 0, 0.999997, 31.356928, 984.736306)"/>
|
||||
</g>
|
||||
<path d="M 154.526 230.66 C 148.801 230.66 144.279 232.568 140.962 236.383 C 137.648 240.195 135.992 245.417 135.992 252.046 C 135.992 258.863 137.591 264.13 140.785 267.849 C 143.981 271.567 148.536 273.426 154.453 273.426 C 158.086 273.426 162.232 272.773 166.892 271.468 L 166.892 276.778 C 163.279 278.133 158.825 278.808 153.528 278.808 C 145.853 278.808 139.929 276.482 135.761 271.827 C 131.59 267.167 129.502 260.55 129.502 251.972 C 129.502 246.604 130.507 241.899 132.519 237.862 C 134.526 233.823 137.424 230.71 141.21 228.524 C 145.002 226.339 149.463 225.247 154.593 225.247 C 160.06 225.247 164.835 226.243 168.924 228.238 L 166.356 233.439 C 162.411 231.586 158.469 230.66 154.526 230.66 Z M 193.468 278.808 C 187.692 278.808 183.136 277.051 179.799 273.535 C 176.462 270.021 174.794 265.137 174.794 258.889 C 174.794 252.592 176.342 247.588 179.44 243.883 C 182.542 240.176 186.707 238.323 191.933 238.323 C 196.829 238.323 200.701 239.934 203.552 243.154 C 206.403 246.374 207.828 250.621 207.828 255.895 L 207.828 259.636 L 180.925 259.636 C 181.043 264.224 182.2 267.704 184.398 270.081 C 186.596 272.458 189.69 273.646 193.679 273.646 C 197.885 273.646 202.044 272.763 206.155 271.006 L 206.155 276.279 C 204.063 277.183 202.084 277.832 200.219 278.225 C 198.357 278.615 196.108 278.808 193.468 278.808 M 191.861 243.275 C 188.726 243.275 186.227 244.296 184.362 246.341 C 182.497 248.383 181.397 251.212 181.065 254.826 L 201.489 254.826 C 201.489 251.096 200.657 248.238 198.991 246.256 C 197.327 244.268 194.952 243.275 191.861 243.275 Z M 242.758 267.44 C 242.758 271.078 241.402 273.882 238.695 275.852 C 235.986 277.824 232.184 278.808 227.289 278.808 C 222.11 278.808 218.072 277.99 215.173 276.352 L 215.173 270.866 C 217.05 271.815 219.063 272.563 221.213 273.11 C 223.362 273.653 225.434 273.924 227.43 273.924 C 230.519 273.924 232.895 273.431 234.558 272.447 C 236.221 271.462 237.052 269.959 237.052 267.939 C 237.052 266.419 236.392 265.118 235.076 264.035 C 233.757 262.956 231.185 261.68 227.362 260.209 C 223.725 258.853 221.141 257.673 219.607 256.662 C 218.074 255.652 216.935 254.506 216.189 253.219 C 215.437 251.938 215.064 250.407 215.064 248.621 C 215.064 245.437 216.36 242.927 218.951 241.085 C 221.537 239.245 225.089 238.323 229.607 238.323 C 233.812 238.323 237.923 239.179 241.937 240.892 L 239.832 245.701 C 235.915 244.084 232.362 243.275 229.175 243.275 C 226.373 243.275 224.258 243.715 222.831 244.594 C 221.407 245.475 220.697 246.688 220.697 248.232 C 220.697 249.277 220.963 250.168 221.499 250.902 C 222.035 251.639 222.895 252.342 224.085 253.006 C 225.267 253.672 227.548 254.636 230.926 255.895 C 235.558 257.583 238.685 259.278 240.313 260.986 C 241.942 262.699 242.758 264.849 242.758 267.44 Z M 257.991 278.097 L 252.074 278.097 L 252.074 239.036 L 257.991 239.036 L 257.991 278.097 M 251.574 228.451 C 251.574 227.097 251.907 226.106 252.572 225.477 C 253.237 224.844 254.067 224.528 255.065 224.528 C 256.019 224.528 256.841 224.851 257.529 225.495 C 258.218 226.135 258.563 227.121 258.563 228.451 C 258.563 229.781 258.218 230.773 257.529 231.426 C 256.841 232.079 256.019 232.405 255.065 232.405 C 254.067 232.405 253.237 232.079 252.572 231.426 C 251.907 230.773 251.574 229.781 251.574 228.451 Z M 275.933 239.036 L 275.933 264.375 C 275.933 267.558 276.658 269.935 278.109 271.504 C 279.558 273.073 281.828 273.858 284.918 273.858 C 289.004 273.858 291.991 272.741 293.881 270.507 C 295.769 268.273 296.712 264.625 296.712 259.564 L 296.712 239.036 L 302.63 239.036 L 302.63 278.097 L 297.745 278.097 L 296.893 272.861 L 296.57 272.861 C 295.359 274.782 293.679 276.254 291.529 277.277 C 289.38 278.298 286.926 278.808 284.169 278.808 C 279.417 278.808 275.858 277.682 273.493 275.428 C 271.13 273.169 269.947 269.556 269.947 264.588 L 269.947 239.036 L 275.933 239.036 Z M 364.573 278.097 L 364.573 252.685 C 364.573 249.573 363.909 247.241 362.578 245.682 C 361.248 244.126 359.18 243.347 356.374 243.347 C 352.692 243.347 349.971 244.406 348.211 246.522 C 346.455 248.636 345.577 251.891 345.577 256.286 L 345.577 278.097 L 339.66 278.097 L 339.66 252.685 C 339.66 249.573 338.993 247.241 337.664 245.682 C 336.335 244.126 334.255 243.347 331.429 243.347 C 327.722 243.347 325.008 244.458 323.284 246.681 C 321.56 248.903 320.7 252.546 320.7 257.606 L 320.7 278.097 L 314.781 278.097 L 314.781 239.036 L 319.593 239.036 L 320.554 244.382 L 320.84 244.382 C 321.958 242.479 323.535 240.997 325.566 239.93 C 327.598 238.86 329.872 238.323 332.391 238.323 C 338.497 238.323 342.49 240.533 344.367 244.954 L 344.647 244.954 C 345.815 242.909 347.501 241.294 349.707 240.106 C 351.918 238.918 354.438 238.323 357.269 238.323 C 361.684 238.323 364.991 239.46 367.189 241.731 C 369.387 243.997 370.485 247.625 370.485 252.618 L 370.485 278.097 L 364.573 278.097 Z" style="text-transform: none; fill: rgb(64, 40, 0); isolation: auto; opacity: 1;" bx:origin="0.5 0.5"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 22 KiB |
279
vendor/crowdfunding2/img/logos/svg/duniter.svg
vendored
@ -1,279 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240mm"
|
||||
height="240mm"
|
||||
viewBox="0 0 850.3937 850.3937"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
|
||||
sodipodi:docname="Duniter.svg"
|
||||
inkscape:export-filename="C:\Users\Millicent\gitWorkspace\duntier-ecosytem\G1\logos\logiciels\Duniter.png"
|
||||
inkscape:export-xdpi="27.093334"
|
||||
inkscape:export-ydpi="27.093334">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
id="linearGradient6689"
|
||||
osb:paint="solid">
|
||||
<stop
|
||||
style="stop-color:#40b2ff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6691" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4372"
|
||||
osb:paint="solid">
|
||||
<stop
|
||||
style="stop-color:#dca900;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4374" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4140"
|
||||
osb:paint="gradient">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4142" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop4144" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.32"
|
||||
inkscape:cx="456.92631"
|
||||
inkscape:cy="504.11539"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer4"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
showguides="false">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid6210" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="Background"
|
||||
style="display:inline"
|
||||
transform="translate(0,-201.9685)" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer4"
|
||||
inkscape:label="Dunes"
|
||||
style="display:inline"
|
||||
transform="translate(0,-201.9685)">
|
||||
<path
|
||||
style="display:inline;fill:#41b2ff;fill-opacity:0.99393939;stroke:none"
|
||||
d="m 428.92383,238.48047 c -1.6407,0.001 -3.28434,0.0133 -4.92969,0.0352 C 213.3893,241.31748 44.923886,414.30104 47.697266,624.90625 50.470837,835.51145 223.43348,1004.0009 434.03906,1001.2559 644.64516,998.51129 813.15822,825.5713 810.44141,614.96484 l -0.004,-0.20703 C 807.62877,405.79922 637.29194,238.34765 428.92383,238.48047 Z"
|
||||
id="rect4247"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#5096c8;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 428.92383,238.48047 c -1.6407,0.001 -3.28434,0.0133 -4.92969,0.0352 -52.46973,0.69805 -102.32225,11.9617 -147.56445,31.73633 102.06833,17.60695 269.41958,73.73803 305.92383,252.72852 l 225.29296,143.55664 c 2.05882,-16.8816 3.02037,-34.09624 2.79493,-51.57227 l -0.004,-0.20703 C 807.62877,405.79922 637.29194,238.34765 428.92383,238.48047 Z"
|
||||
id="path6598-1"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#ffd086;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 585.16992,524.91211 C 447.41745,738.84015 285.93093,797.68142 93.347656,801.03711 158.66452,921.84083 287.20038,1003.1698 434.03906,1001.2559 607.56851,998.99446 752.51317,881.18488 796.65234,721.9668 c -2.6864,-6.57764 -6.20106,-13.62037 -10.8164,-21.13477 C 768.68987,677.03878 709.10478,568.47721 585.16992,524.91211 Z"
|
||||
id="path3338"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#270b0b;fill-opacity:0.99393939;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 586.25391,524.11523 c -21.57163,126.33825 -108.2801,230.35644 -87.66993,311.48633 26.06387,102.59778 -79.12567,125.91326 -164.61132,153.74024 31.95064,8.20311 65.502,12.3646 100.0664,11.9141 200.01324,-2.60657 362.05355,-158.7197 375.52149,-354.81645 -16.36318,-4.66228 -32.1351,-11.75072 -42.83789,-23.69336 -32.6877,-36.47436 -116.60579,-76.182 -180.46875,-98.63086 z"
|
||||
id="path3338-8"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#cd8a03;fill-opacity:0.99393939;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 584.99609,531.33008 c -26.42158,62.17296 -14.83089,66.98582 -37.91601,116.64258 -14.17092,30.48206 -17.33296,46.71697 -38.17188,103.35156 L 768.68555,793.625 c 0.9031,-1.76161 1.79166,-3.53131 2.66797,-5.30859 0.11251,-0.2282 0.22386,-0.4571 0.33593,-0.68555 0.74115,-1.5108 1.47173,-3.02889 2.19336,-4.55078 0.15212,-0.32079 0.30383,-0.64161 0.45508,-0.96289 0.81083,-1.72247 1.61278,-3.44918 2.39844,-5.18555 0.81608,-1.80361 1.61563,-3.61525 2.40429,-5.43359 0.10093,-0.23267 0.20031,-0.46631 0.30079,-0.69922 0.70062,-1.62429 1.38978,-3.25484 2.06836,-4.89063 0.0851,-0.20516 0.17108,-0.40989 0.25585,-0.61523 0.75277,-1.82369 1.49557,-3.65256 2.22071,-5.49024 0.74585,-1.89017 1.47506,-3.78866 2.1914,-5.69335 0.0436,-0.11584 0.0874,-0.23177 0.13086,-0.34766 0.64073,-1.70872 1.26799,-3.42437 1.88477,-5.14453 0.099,-0.27607 0.19849,-0.55177 0.29687,-0.82813 1.34147,-3.76877 2.62647,-7.56487 3.85157,-11.38672 0.008,-0.0255 0.0172,-0.0507 0.0254,-0.0762 0.0156,-0.0486 0.0294,-0.0979 0.0449,-0.14648 0.5996,-1.87449 1.18462,-3.75378 1.75586,-5.64063 0.0327,-0.10803 0.065,-0.21614 0.0977,-0.32422 1.1856,-3.92878 2.31202,-7.88466 3.37305,-11.86523 0.007,-0.0247 0.0129,-0.0495 0.0195,-0.0742 0.0125,-0.0468 0.0247,-0.0938 0.0371,-0.14062 0.52168,-1.96173 1.02656,-3.92847 1.51758,-5.90235 0.004,-0.0176 0.009,-0.0351 0.0137,-0.0527 0.003,-0.0124 0.007,-0.0247 0.01,-0.0371 1.01021,-4.06523 1.95547,-8.15656 2.83398,-12.27149 C 737.8798,634.95587 692.83855,571.9745 584.99609,531.33008 Z"
|
||||
id="path3338-8-0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#402801;fill-opacity:0.99393939;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 555.26038,628.99723 -10.44593,16.98129 c -2.50357,15.42044 -19.92944,49.42676 -41.29492,110.74414 -29.11835,83.56757 66.82865,38.28295 73.67969,41.38281 64.6125,29.23493 132.91974,31.41069 179.60937,16.95117 16.45351,-27.56961 29.52066,-57.37807 38.64063,-88.8457 -281.04013,-47.3816 23.76693,-25.38857 -240.18884,-97.21371 z"
|
||||
id="path3338-8-0-6"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccssccc" />
|
||||
<path
|
||||
style="display:inline;fill:#fbbc38;fill-opacity:0.99393939;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 504.68359,865.61328 c -22.81492,71.32292 -112.93496,103.95373 -173.36328,123.0293 32.7455,8.66079 67.19526,13.07632 102.71875,12.61332 97.62636,-1.27228 186.20324,-39.11993 252.87696,-100.33402 -50.96384,-3.16822 -102.74996,-5.35269 -182.23243,-35.3086 z"
|
||||
id="path3338-8-0-2"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#fcc24d;fill-opacity:0.99393939;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 497.01953,776.20508 c -0.24187,19.10857 -15.69269,67.67827 4.86524,95.17578 13.90919,18.6044 105.68907,21.5062 170.4414,42.27734 37.49477,-31.08628 68.92344,-69.20103 92.28125,-112.29297 -88.15778,0.4392 -173.3807,10.34531 -267.58789,-25.16015 z"
|
||||
id="path3338-8-0-2-8"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer8"
|
||||
inkscape:label="Shadow"
|
||||
style="display:inline"
|
||||
sodipodi:insensitive="true"
|
||||
transform="translate(0,-201.9685)" />
|
||||
<g
|
||||
inkscape:label="Vent"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
style="display:inline"
|
||||
transform="translate(0,-201.9685)">
|
||||
<ellipse
|
||||
style="fill:none;fill-opacity:0.99393939"
|
||||
id="path4179"
|
||||
cx="429.84796"
|
||||
cy="645.42908"
|
||||
rx="392.85715"
|
||||
ry="400" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2"
|
||||
width="23.492319"
|
||||
height="25.527225"
|
||||
x="504.26501"
|
||||
y="500.28717" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#ffd086;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2-9"
|
||||
width="22.383955"
|
||||
height="24.418852"
|
||||
x="369.1745"
|
||||
y="415.42877" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2-1"
|
||||
width="30.523569"
|
||||
height="30.523565"
|
||||
x="418.995"
|
||||
y="433.01941" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fbc14c;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-1"
|
||||
width="46.802811"
|
||||
height="46.802807"
|
||||
x="417.33978"
|
||||
y="652.55573" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2-1-7"
|
||||
width="30.523569"
|
||||
height="30.523565"
|
||||
x="422.58551"
|
||||
y="475.89081" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#cc8902;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-0-3-5-5"
|
||||
width="24.418858"
|
||||
height="26.453758"
|
||||
x="472.61835"
|
||||
y="605.45685" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2-1-0-7-8"
|
||||
width="18.314144"
|
||||
height="18.314142"
|
||||
x="520.77234"
|
||||
y="557.90222" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fabb37;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2-1-2-9"
|
||||
width="30.523569"
|
||||
height="30.523565"
|
||||
x="454.78387"
|
||||
y="563.02789" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fbc14c;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-1-6-5"
|
||||
width="38.663193"
|
||||
height="40.69809"
|
||||
x="335.34222"
|
||||
y="720.98743" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#fbc14c;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-1-6-3-2"
|
||||
width="26.453766"
|
||||
height="30.523569"
|
||||
x="371.97028"
|
||||
y="661.9754" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#cc8902;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-0-3-5-4-3-3"
|
||||
width="24.506996"
|
||||
height="24.418852"
|
||||
x="-427.93024"
|
||||
y="610.08527"
|
||||
transform="scale(-1,1)" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#ffd086;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-6-9-2-9-2-7-8-8-5"
|
||||
width="20.349047"
|
||||
height="22.383947"
|
||||
x="480.41095"
|
||||
y="523.46906" />
|
||||
<rect
|
||||
style="display:inline;opacity:1;fill:#cc8902;fill-opacity:1;stroke:none;stroke-width:34.90000153;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.99607843"
|
||||
id="rect6810-0-3-5-4-3-3-9"
|
||||
width="24.506996"
|
||||
height="24.418852"
|
||||
x="-499.49951"
|
||||
y="466.31366"
|
||||
transform="scale(-1,1)" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer5"
|
||||
inkscape:label="Flux"
|
||||
sodipodi:insensitive="true"
|
||||
transform="translate(0,-201.9685)" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer3"
|
||||
inkscape:label="Contour"
|
||||
style="display:inline"
|
||||
transform="translate(0,-201.9685)">
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:0.99393939;stroke:#ffffff;stroke-width:42.09999847;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path6212"
|
||||
ry="440"
|
||||
rx="300"
|
||||
cy="492.36221"
|
||||
cx="340"
|
||||
d=""
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 14 KiB |
164
vendor/crowdfunding2/img/logos/svg/dunitrust.svg
vendored
Before Width: | Height: | Size: 138 KiB |
101
vendor/crowdfunding2/img/logos/svg/junes.svg
vendored
@ -1,101 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="gradient-3" gradientUnits="userSpaceOnUse" x1="250" y1="0" x2="250" y2="500" spreadMethod="pad">
|
||||
<stop offset="0" style="stop-color: rgb(247, 191, 44);"/>
|
||||
<stop offset="1" style="stop-color: rgb(205, 94, 41);"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="gradient-1" gradientUnits="userSpaceOnUse" x1="250" y1="20" x2="250" y2="480" gradientTransform="matrix(1.0031068618357177, 0, 0, 1.0031068774714225, -0.7766979417722695, -1.4913391080554845)">
|
||||
<stop style="stop-color: rgb(255, 253, 90);" offset="0"/>
|
||||
<stop style="stop-color: rgb(227, 140, 43);" offset="1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="gradient-4" gradientUnits="userSpaceOnUse" x1="253.44439697265625" y1="238.4842529296875" x2="253.44439697265625" y2="480">
|
||||
<stop style="stop-color: rgb(247, 192, 40);" offset="0"/>
|
||||
<stop style="stop-color: rgb(227, 140, 43);" offset="1"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="gradient-6" gradientUnits="userSpaceOnUse" cx="255.1620635986328" cy="260.2457580566406" r="170" gradientTransform="matrix(1.162644, 0, 0, 1.162643, -41.657313, -42.562499)">
|
||||
<stop style="stop-color: rgb(248, 237, 51);" offset="0"/>
|
||||
<stop offset="0.6244" style="stop-color: rgb(248, 237, 51);"/>
|
||||
<stop offset="0.7638" style="stop-color: rgb(239, 213, 43);"/>
|
||||
<stop offset="0.8931" style="stop-color: rgb(218, 157, 24);"/>
|
||||
<stop style="stop-color: rgb(191, 80, 0);" offset="1"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="gradient-7" gradientUnits="userSpaceOnUse" x1="-277.8105010986328" y1="561.8806762695312" x2="-277.8105010986328" y2="796.8161010742188" gradientTransform="matrix(0.6693761492701567, -0.07372995093502983, 0.07372975608843645, 0.6693762466934533, 391.9234250134925, 247.7612281045386)">
|
||||
<stop style="stop-color: rgb(255, 190, 0);" offset="0"/>
|
||||
<stop style="stop-color: rgb(214, 120, 32);" offset="1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="gradient-7-2" gradientUnits="userSpaceOnUse" x1="-277.8105010986328" y1="561.8806762695312" x2="-277.8105010986328" y2="796.8161010742188" gradientTransform="matrix(0.3598424288589108, 0.0014199120748252486, -0.0008651188746076439, 0.21927866751948855, -159.19165838772352, 375.4938512765719)">
|
||||
<stop style="stop-color: rgb(255, 190, 0);" offset="0"/>
|
||||
<stop style="stop-color: rgb(214, 120, 32);" offset="1"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="gradient-12" gradientUnits="userSpaceOnUse" cx="-314.4753112792969" cy="611.8270263671875" r="126.30323791503906" gradientTransform="matrix(1.1160329276951277, 0, 0, 1.1160334249562183, 24.30159432705809, -88.79756113141326)">
|
||||
<stop style="stop-color: rgb(255, 237, 49);" offset="0"/>
|
||||
<stop style="stop-color: rgb(255, 237, 49); stop-opacity: 0;" offset="1"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="gradient-16" gradientUnits="userSpaceOnUse" cx="634" cy="196" r="93" gradientTransform="matrix(3.5442367061491935, 3.2814600134408605e-7, -0.0000013125840053763442, 3.6047992501207577, -1109.6003798618112, -416.64352220104587)">
|
||||
<stop style="stop-color: rgb(255, 255, 255);" offset="0"/>
|
||||
<stop style="stop-color: rgb(255, 255, 255); stop-opacity: 0;" offset="1"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="gradient-17" gradientUnits="userSpaceOnUse" cx="634" cy="196" r="93" gradientTransform="matrix(0.7126241704469086, 3.2814600134408605e-7, 0.0000013125840053763442, 0.7248008481917843, 685.6403546076949, 147.83616457703292)">
|
||||
<stop style="stop-color: rgb(255, 255, 255);" offset="0"/>
|
||||
<stop style="stop-color: rgb(255, 255, 255); stop-opacity: 0;" offset="1"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="gradient-20" gradientUnits="userSpaceOnUse" cx="-283.0146484375" cy="510.7113952636719" r="55.76831817626953" gradientTransform="matrix(0.6625576282626338, -0.5531133047923916, 1.2298754256288325, 1.4732364008060554, -723.6123845453899, -398.2264071794646)">
|
||||
<stop style="stop-color: rgb(255, 237, 49);" offset="0"/>
|
||||
<stop style="stop-color: rgb(255, 237, 49); stop-opacity: 0;" offset="1"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="gradient-21" gradientUnits="userSpaceOnUse" x1="-272.5911560058594" y1="544.911376953125" x2="-272.5911560058594" y2="807.1071166992188">
|
||||
<stop style="stop-color: rgb(246, 189, 44);" offset="0"/>
|
||||
<stop style="stop-color: rgb(191, 144, 26);" offset="1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="gradient-22" gradientUnits="userSpaceOnUse" x1="-254.775146484375" y1="499.4190673828125" x2="-254.775146484375" y2="577.36083984375">
|
||||
<stop style="stop-color: rgb(246, 189, 44);" offset="0"/>
|
||||
<stop style="stop-color: rgb(191, 144, 26);" offset="1"/>
|
||||
</linearGradient>
|
||||
<style id="bx-google-fonts">@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic);</style>
|
||||
</defs>
|
||||
<ellipse cx="250" cy="250" rx="250" ry="250" style="fill: url(#gradient-3);"/>
|
||||
<ellipse cx="250" cy="250" rx="230" ry="230" style="fill: url(#gradient-1);"/>
|
||||
<path style="fill: url(#gradient-4);" d="M50.81416,365c41.08554,71.16226 117.01476,115 199.18584,115c138.41109,0 236.24639,-117.13225 230.06604,-241.51574c-80.0411,33.05709 -176.08731,52.67754 -282.62671,52.67754c-61.19342,0 -120.87589,-6.87343 -176.79694,-19.77869c2.96218,31.51932 12.67787,63.31656 30.17177,93.61688z"/>
|
||||
<ellipse cx="250" cy="250" rx="170" ry="170" style="fill: url(#gradient-6); fill-opacity: 1;"/>
|
||||
<g id="one" style="display:none;">
|
||||
<path d="M 268.376 322.769 L 248.596 322.769 L 240.466 282.888 C 240.466 278.255 248.696 275.726 248.896 271.879 C 247.676 273.352 246.163 274.896 244.356 276.509 L 236.166 283.269 L 226.056 270.839 L 219.38 234.602 L 264.08 215.156 L 268.376 250.669 L 268.376 322.769 Z" transform="matrix(1, 0, 0, 1, 0, 0)" style="fill: rgb(240, 208, 45); white-space: pre;"/>
|
||||
<text x="217.916" y="287.769" style="fill: rgb(191, 80, 0); font-family: "Open Sans"; font-size: 101px; font-weight: 800; white-space: pre;">1</text>
|
||||
<text x="212.916" y="283.769" style="fill: rgb(252, 185, 2); font-family: "Open Sans"; font-size: 101px; font-weight: 800; white-space: pre;">1</text>
|
||||
<path d="M 216.982 231.935 L 219.359 235.048 L 242.606 212.924 L 255.433 211.771 L 241.865 211.824 L 216.982 231.935 Z" style="fill: rgb(255, 255, 255);"/>
|
||||
</g>
|
||||
<g id="glibre">
|
||||
<g id="macron" transform="matrix(0.8414844870567323, 0, 0, 0.8414844870567323, 466.02239990234375, -317.1852722167969)">
|
||||
<path class="shadow" d="M -198.07891845703125 530.1440734863281 L -194.27288818359375 545.8901977539062 C -206.13536071777344 561.0767822265625 -219.18111437391306 568.8372878356159 -241.03024291992188 570.7368774414062 C -263.55621337890625 572.6953125 -290.6890869140625 569.7662963867188 -306.7577819824219 547.8799438476562 C -310.1243896484375 530.2078857421875 -311.372802734375 522.7608032226562 -311.372802734375 522.7608032226562 C -311.372802734375 522.7608032226562 -266.69651794433594 527.0515747070312 -252.45257568359375 525.4826049804688 C -240.829833984375 524.202392578125 -204.33926391601562 538.2872009277344 -198.07891845703125 530.1440734863281 Z " style="fill: url(#gradient-22); fill-opacity: 0.49;" transform="matrix(1.0000000000000002, 0, 0, 1.0000000000000002, 0, -23.76752082315636)"/>
|
||||
<path class="depth" d="M -202.59629821777344 516.2670593261719 L -200.2147674560547 522.2083129882812 C -211.14907836914062 536.2066650390625 -227.52011108398438 546.26318359375 -247.61410522460938 548.4764404296875 C -272.4909973144531 551.216552734375 -296.9399719238281 540.476806640625 -311.75140380859375 520.3029174804688 C -313.5248107910156 515.834716796875 -314.11236572265625 514.4194641113281 -314.11236572265625 514.4194641113281 C -314.11236572265625 514.4194641113281 -264.3653564453125 517.041259765625 -251.2359161376953 515.5950927734375 C -240.5225830078125 514.4150390625 -208.3668212890625 523.7730407714844 -202.59629821777344 516.2670593261719 Z " style="fill: rgb(191, 80, 0);" transform="matrix(1, 0, 0, 1, 2.376751661300659, -15.448883620706795)"/>
|
||||
<path class="main" d="M -226.04393005371094 501.504638671875 L -200.2147674560547 522.2083129882812 C -211.14907836914062 536.2066650390625 -227.52011108398438 546.26318359375 -247.61410522460938 548.4764404296875 C -272.4909973144531 551.216552734375 -296.9399719238281 540.476806640625 -311.75140380859375 520.3029174804688 C -297.8028564453125 509.72064208984375 -300.5026550292969 512.0447998046875 -285.0860595703125 500.7257080078125 C -277.26898193359375 511.3730773925781 -264.3653564453125 517.041259765625 -251.2359161376953 515.5950927734375 C -240.5225830078125 514.4150390625 -231.814453125 509.0106201171875 -226.04393005371094 501.504638671875 Z " style="fill: url(#gradient-7-2);" transform="matrix(1, 0, 0, 1, 8.722895472601522e-8, -21.39076670786494)"/>
|
||||
<path class="gold-layer" d="M -226.04393005371094 501.504638671875 L -200.2147674560547 522.2083129882812 C -211.14907836914062 536.2066650390625 -227.52011108398438 546.26318359375 -247.61410522460938 548.4764404296875 C -272.4909973144531 551.216552734375 -291.1310119628906 536.9268798828125 -305.94244384765625 516.7529907226562 C -291.993896484375 506.17071533203125 -300.5026550292969 512.0447998046875 -285.0860595703125 500.7257080078125 C -277.26898193359375 511.3730773925781 -264.3653564453125 517.041259765625 -251.2359161376953 515.5950927734375 C -240.5225830078125 514.4150390625 -231.814453125 509.0106201171875 -226.04393005371094 501.504638671875 Z " style="fill: url(#gradient-20);" transform="matrix(1, 0, 0, 1, 0, -21.390768667594557)"/>
|
||||
<path class="edge" d="M -284.8472900390625 479.96441650390625 C -264.3670959472656 499.9115295410156 -240.0164031982422 494.5815734863281 -226.055419921875 480.1766357421875 C -225.64569091796875 480.5018005371094 -223.4227752685547 482.1520080566406 -222.86207580566406 482.65350341796875 C -241.43698120117188 497.3275451660156 -267.3111572265625 502.5315856933594 -284.8472900390625 479.96441650390625 Z " style="stroke: none; fill: rgb(255, 255, 255);"/>
|
||||
</g>
|
||||
<g id="G" transform="matrix(0.8414844870567323, 0, 0, 0.8414844870567323, 466.02239990234375, -317.1852722167969)">
|
||||
<path class="G shadow" d="M -231.25119018554688 697.4671630859375 L -145.43577575683594 654.5354614257812 L -139.4804229736328 698.4963989257812 L -139.4804229736328 792.3257446289062 L -163.85057067871094 767.95556640625 C -187.0584716796875 791.7545166015625 -219.57203674316406 807.1071166992188 -257.4039001464844 807.1071166992188 C -304.2406921386719 807.1071166992188 -347.5196533203125 782.119873046875 -370.9380187988281 741.55810546875 C -385.0118408203125 717.1815185546875 -393.85595703125 672.889892578125 -397.2654724121094 646.9841918945312 C -405.70189815867235 582.8837272194789 -330.17547607421875 544.911376953125 -257.4039001464844 544.911376953125 C -236.36082458496094 544.911376953125 -151.81651306152344 565.3455200195312 -151.81651306152344 565.3455200195312 C -151.81651306152344 565.3455200195312 -147.85987854003906 584.044921875 -145.71006774902344 609.4464111328125 L -199.70428466796875 638.954345703125 C -212.39840698242188 619.2657470703125 -233.82334899902344 606.8186645507812 -257.4039001464844 606.8186645507812 C -310.6667785644531 606.8186645507812 -343.9560546875 664.4774169921875 -317.32452392578125 710.6044311523438 C -304.9649353027344 732.0121459960938 -282.123291015625 745.1998291015625 -257.4039001464844 745.1998291015625 C -237.23342895507812 745.1998291015625 -217.86883544921875 735.0439453125 -205.59674072265625 722.263916015625 L -231.25119018554688 697.4671630859375 Z " style="fill: url(#gradient-21); fill-opacity: 0.5;" transform="matrix(1.0000000000000002, 0, 0, 1.0000000000000002, 13.072136489359082, 46.346656799316406)"/>
|
||||
<path class="G depth" d="M -231.25119018554688 697.4671630859375 L -145.3538055419922 691.9776611328125 L -139.4804229736328 698.4963989257812 L -139.4804229736328 792.3257446289062 L -163.85057067871094 767.95556640625 C -187.0584716796875 791.7545166015625 -219.57203674316406 807.1071166992188 -257.4039001464844 807.1071166992188 C -304.2406921386719 807.1071166992188 -347.5196533203125 782.119873046875 -370.9380187988281 741.55810546875 C -421.3976135253906 654.1594848632812 -358.32318115234375 544.911376953125 -257.4039001464844 544.911376953125 C -211.04515075683594 544.911376953125 -169.28904724121094 569.6143188476562 -145.71006774902344 609.4464111328125 L -199.70428466796875 638.954345703125 C -212.39840698242188 619.2657470703125 -233.82334899902344 606.8186645507812 -257.4039001464844 606.8186645507812 C -310.6667785644531 606.8186645507812 -343.9560546875 664.4774169921875 -317.32452392578125 710.6044311523438 C -304.9649353027344 732.0121459960938 -282.123291015625 745.1998291015625 -257.4039001464844 745.1998291015625 C -237.23342895507812 745.1998291015625 -217.86883544921875 735.0439453125 -205.59674072265625 722.263916015625 L -231.25119018554688 697.4671630859375 Z " style="fill: rgb(191, 80, 0);" transform="matrix(1, 0, 0, 1, 7.130256088765918, 2.3767521381377605)"/>
|
||||
<path class="G main" d="M -238.61480712890625 691.8650512695312 L -144.78549194335938 691.8650512695312 L -144.78549194335938 785.6943969726562 L -169.1556396484375 761.32421875 C -192.36354064941406 785.1231689453125 -224.87710571289062 800.4757690429688 -262.7089538574219 800.4757690429688 C -309.5457763671875 800.4757690429688 -352.8247375488281 775.488525390625 -376.24310302734375 734.9267578125 C -426.70269775390625 647.5281372070312 -363.62823486328125 538.2800903320312 -262.7089538574219 538.2800903320312 C -216.3502197265625 538.2800903320312 -173.47718811035156 562.7596435546875 -149.898193359375 602.5917358398438 L -204.5625762939453 631.876220703125 C -217.25669860839844 612.1876220703125 -239.12841796875 600.1873168945312 -262.7089538574219 600.1873168945312 C -315.9718322753906 600.1873168945312 -349.2611083984375 657.8460693359375 -322.6296081542969 703.9730834960938 C -310.2699890136719 725.3807983398438 -287.4283752441406 738.5684814453125 -262.7089538574219 738.5684814453125 C -242.5384979248047 738.5684814453125 -225.2324676513672 730.2996215820312 -212.9603729248047 717.5194702148438 Z " style="fill: url(#gradient-7);" transform="matrix(1, 0, 0, 1, 7.130256088765918, 2.3767521381377605)"/>
|
||||
<path class="G gold-layer" d="M -332.6200256347656 704.9721069335938 C -320.1494445800781 726.3154907226562 -343.8333435058594 770.9927978515625 -367.251708984375 730.4309692382812 C -417.7113342285156 643.0324096679688 -362.6292419433594 545.2733154296875 -261.7099304199219 545.2733154296875 C -215.35118103027344 545.2733154296875 -184.96620178222656 561.2610473632812 -161.38720703125 601.0931396484375 L -201.56544494628906 620.88671875 C -214.25958251953125 601.1981201171875 -237.62985229492188 589.1978149414062 -261.21038818359375 589.1978149414062 C -314.4732666015625 589.1978149414062 -367.7434997558594 644.8583984375 -332.6200256347656 704.9721069335938 Z " style="fill: url(#gradient-12); fill-opacity: 1;" transform="matrix(1, 0, 0, 1, 7.130256088765918, 2.3767521381377605)"/>
|
||||
</g>
|
||||
<path id="top" class="edge" d="M 340.3642578125 189.5413055419922 C 338.8526916503906 190.52828979492188 338.171142578125 190.82472229003906 336.48046875 191.69076538085938 C 297.0732421875 108.70779418945312 149.38165283203125 118.53990173339844 135.58648681640625 233.50904846191406 C 140.25990295410156 118.14505004882812 300.6151123046875 99.62284088134766 340.3642578125 189.5413055419922 Z " style="stroke: none; fill: rgb(255, 255, 255); fill-opacity: 1;" transform="matrix(1, 0, 0, 1, 6, 2)"/>
|
||||
<path id="arrow" class="edge" d="M 270.3914489746094 270.0611267089844 L 264.65032958984375 264.2931823730469 L 343.7581481933594 265.0668640136719 L 270.3914489746094 270.0611267089844 Z " style="stroke: none; fill: rgb(255, 255, 255);" transform="matrix(1, 0, 0, 1, 6, 2)"/>
|
||||
<path id="bottom" class="edge" d="M 189.16268920898438 262.59613037109375 C 206.84222412109375 314.4861145019531 264.1899108886719 311.5865783691406 286.28814697265625 286.1527404785156 C 288.9132080078125 289.1226501464844 288.5735168457031 288.65289306640625 291.1745910644531 291.6870422363281 C 271.1377868652344 310.193603515625 203.0752716064453 328.5178527832031 189.16268920898438 262.59613037109375 Z " style="stroke: none; fill: rgb(255, 255, 255); fill-opacity: 0.75;" transform="matrix(1, 0, 0, 1, 6, 2)"/>
|
||||
</g>
|
||||
<path d="M 184.6630096435547 27.768146514892578 C 382.512451171875 -31.577388763427734 462.816650390625 160.8459930419922 462.816650390625 160.8459930419922 C 462.816650390625 160.8459930419922 375.45941162109375 -23.111543655395508 187.429443359375 33.29086875915527 C -23.948290508906098 96.69679810605152 28.414447784423828 313.230224609375 28.414447784423828 313.230224609375 C 28.414447784423828 313.230224609375 -30.59557907082288 92.33560787253288 184.6630096435547 27.768146514892578 Z " style="stroke: none; fill: rgb(255, 255, 255);"/>
|
||||
<path d="M 285.8101806640625 418.1629333496094 C 127.41355759580858 451.46022910637436 86.582763671875 294.8815612792969 86.582763671875 294.8815612792969 C 86.582763671875 294.8815612792969 134.5081024169922 444.0893859863281 284.4516906738281 413.31134033203125 C 444.57799385425426 380.4431481870013 416.16082763671875 213.57582092285156 416.16082763671875 213.57582092285156 C 416.16082763671875 213.57582092285156 452.7923889160156 383.0608215332031 285.8101806640625 418.1629333496094 Z " style="stroke: none; fill: rgb(255, 255, 255);"/>
|
||||
<path id="gloss" style="fill: rgb(255, 255, 255); fill-opacity: 0.2; display:xnone;" d="M19.85961,240.78898c30.71856,3.27125 62.15094,4.96005 93.98754,4.96005c138.47569,0 259.43025,-30.08808 351.04012,-78.08185c-4.28914,-11.02418 -9.50778,-21.9395 -15.70141,-32.66718c-41.08554,-71.16225 -117.01477,-115 -199.18585,-115c-130.69083,0 -225.20607,104.42992 -230.14039,220.78898z"/>
|
||||
<g id="flare" style="display:xnone" transform="matrix(0.22259251773357394, 0.07340797036886217, -0.07340797036886217, 0.22259251773357394, 1.9083288138294847, -11.57778500603024)">
|
||||
<ellipse cx="1134.45861816" cy="300.57922363" rx="439.82751465" ry="11.9576416" style="fill: rgb(255, 255, 255); fill-opacity: 0.75;"/>
|
||||
<ellipse transform="matrix(0, 1, -1, 0, 2157.96625, -1435.69171)" cx="1736.27111816" cy="1023.50762939" rx="439.82751465" ry="8.55297852" style="fill: rgb(255, 255, 255); fill-opacity: 0.75;"/>
|
||||
<ellipse transform="matrix(0.70312, 0.71107, -0.71106, 0.70313, 1342.25601, -573.00401)" cx="475.06231689" cy="761.9977417" rx="120.34143066" ry="6.36773682" style="fill: rgb(255, 255, 255); stroke-width: 2.09442; fill-opacity: 0.75;"/>
|
||||
<ellipse transform="matrix(-0.71107, 0.70312, -0.7031, -0.71108, 1884.5915, 383.55909)" cx="475.06231689" cy="586.44549561" rx="120.34143066" ry="4.9006958" style="fill: rgb(255, 255, 255); stroke-width: 2.09442; fill-opacity: 0.75;"/>
|
||||
<ellipse cx="1137.44372559" cy="289.89743042" rx="329.61401367" ry="306.40793991" style="fill: url(#gradient-16); fill-opacity: 0.75;"/>
|
||||
<ellipse cx="1137.4440918" cy="289.89743042" rx="66.27416992" ry="61.60816956" style="fill: url(#gradient-17); fill-opacity: 0.75;"/>
|
||||
</g>
|
||||
<g transform="matrix(1, 0, 0, 1, 197.240524, 177.326828)">
|
||||
<ellipse cx="54.938" cy="250.524" rx="16.947" ry="15.396" transform="matrix(1, 0, 0, 0.999999, 0, 24.861622)" style="fill: rgb(255, 255, 255);"/>
|
||||
<ellipse cx="52.808" cy="243.195" rx="16.947" ry="15.396" transform="matrix(1, 0, 0, 1.000001, 0, 24.860675)" style="fill: rgb(191, 80, 0);"/>
|
||||
<ellipse cx="53.952" cy="272.244" rx="16.947" ry="15.396" style="fill: rgb(241, 175, 41);"/>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 19 KiB |
237
vendor/crowdfunding2/img/logos/svg/sakia.svg
vendored
Before Width: | Height: | Size: 80 KiB |
67
vendor/crowdfunding2/img/logos/svg/silkaj.svg
vendored
Before Width: | Height: | Size: 8.1 KiB |
187
vendor/crowdfunding2/index.html
vendored
@ -1,187 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>G1Crowdfunding - Outils pour réussir votre financement participatif en monnaie libre</title>
|
||||
|
||||
<style>
|
||||
|
||||
section {
|
||||
|
||||
margin: 2em 1em;
|
||||
padding: 0em 0em 1em;
|
||||
border: 1px solid hsl(0, 0.0%, 50.0%);
|
||||
}
|
||||
|
||||
section > * {
|
||||
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
|
||||
}
|
||||
|
||||
iframe {
|
||||
|
||||
width: calc(100% - 2em);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
section > :first-child {
|
||||
|
||||
background-color: hsl(0, 0.0%, 50.0%);
|
||||
color: white;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1em;
|
||||
padding: 1em;
|
||||
|
||||
}
|
||||
|
||||
img, object, iframe {
|
||||
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.kickstarter,
|
||||
.tipeee {
|
||||
|
||||
max-width: 500px;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<h1>G1Crowdfunding</h1>
|
||||
</header>
|
||||
|
||||
<h2>
|
||||
<span>Des outils pour réussir</span>
|
||||
<span>votre financement participatif </span>
|
||||
<span>en monnaie libre G1</span>
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
G1Crowdfunding est un ensemble de widgets (images et iframes) à intégrer sur votre site web
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Cela vous permet de mieux mettre en avant votre financement participatif en monnaie libre,
|
||||
et ainsi lever plus de G1.
|
||||
</p>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#features">Fonctionnalités</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="#paidge">Barre de progression</a></li>
|
||||
<li><a href="#kickstarter">Kickstarter</a></li>
|
||||
<li><a href="#tipeee">Tipeee</a></li>
|
||||
<li><a href="#names-cloud">Nuage des noms des mécènes</a></li>
|
||||
<li><a href="#quotes">Citations des mécènes</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="generate.php">Générateur</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
<h2 id="features">
|
||||
Fonctionnalités
|
||||
</h2>
|
||||
|
||||
|
||||
<section id="paidge">
|
||||
<h3>
|
||||
Barre de progression (originale)
|
||||
</h3>
|
||||
|
||||
|
||||
<h4>
|
||||
iframe :
|
||||
</h4>
|
||||
|
||||
<p>
|
||||
Très personnalisable : avec ou sans graphique, possibilité de chosir les couleurs, etc.
|
||||
</p>
|
||||
|
||||
<iframe class="autoHeight" src="iframe.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20d%C3%A9veloppeurs%20de%20Duniter&unit=relative&start_date=2020-09-01&end_date=2020-09-30&theme=paidge&display_graph=true"></iframe>
|
||||
|
||||
|
||||
<h4>
|
||||
image PNG :
|
||||
</h4>
|
||||
|
||||
<img src="image.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20d%C3%A9veloppeurs%20de%20Duniter&unit=relative&start_date=2020-09-01&end_date=2020-09-30" alt="les développeurs de Duniter" />
|
||||
|
||||
|
||||
<h4>
|
||||
image SVG :
|
||||
</h4>
|
||||
|
||||
<object type="image/svg+xml" data="svg.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20d%C3%A9veloppeurs%20de%20Duniter&unit=relative&start_date=2020-09-01&end_date=2020-09-30" border="0"></object>
|
||||
</section>
|
||||
|
||||
<section id="kickstarter">
|
||||
<h3>
|
||||
Barre de progression (style Kickstarter)
|
||||
</h3>
|
||||
|
||||
<iframe class="autoHeight kickstarter" src="iframe.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20d%C3%A9veloppeurs%20de%20Duniter&unit=relative&start_date=2020-09-01&end_date=2020-09-30&theme=kickstarter"></iframe>
|
||||
</section>
|
||||
|
||||
|
||||
<section id="tipeee">
|
||||
<h3>
|
||||
Stats d'un soutien régulier (style Tipeee)
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
Calcule la moyenne des dons mensuels sur les 3 derniers mois.
|
||||
</p>
|
||||
|
||||
<iframe class="autoHeight tipeee" src="iframe.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20d%C3%A9veloppeurs%20de%20Duniter&unit=relative&theme=tipeee&display_button=yes"></iframe>
|
||||
</section>
|
||||
|
||||
<section id="names-cloud">
|
||||
<h3>
|
||||
Nuage des noms des mécènes
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
Affiche un nuage des noms des mécènes.
|
||||
</p>
|
||||
|
||||
<iframe class="autoHeight" src="iframe.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20développeurs%20de%20Duniter&unit=relative&start_date=2020-09-01&end_date=2020-09-30&theme=cloud"></iframe>
|
||||
</section>
|
||||
|
||||
<section id="quotes">
|
||||
<h3>
|
||||
Citations des mécènes
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
Affiche les commentaires associés aux plus gros dons de la période choisie.
|
||||
</p>
|
||||
|
||||
<iframe class="autoHeight" src="iframe.php?pubkey=78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8&target=1000&title=les%20développeurs%20de%20Duniter&unit=relative&start_date=2020-09-01&end_date=2020-09-30&theme=quotes"></iframe>
|
||||
</section>
|
||||
|
||||
<h2>Faites la vôtre !</h2>
|
||||
|
||||
<p>
|
||||
Vous aussi vous pouvez générer votre image ou iframe pour l'insérer sur un forum, un blog, un site web, etc.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="generate.php">Accéder au générateur</a>
|
||||
</p>
|
||||
</main>
|
||||
|
||||
<script src="examples/js/autoHeight.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -1,4 +0,0 @@
|
||||
/*!
|
||||
* "Fork me on GitHub" CSS ribbon v0.2.3 | MIT License
|
||||
* https://github.com/simonwhitaker/github-fork-ribbon-css
|
||||
*/.github-fork-ribbon{width:12.1em;height:12.1em;position:absolute;overflow:hidden;top:0;right:0;z-index:9999;pointer-events:none;font-size:13px;text-decoration:none;text-indent:-999999px}.github-fork-ribbon.fixed{position:fixed}.github-fork-ribbon:active,.github-fork-ribbon:hover{background-color:rgba(0,0,0,0)}.github-fork-ribbon:after,.github-fork-ribbon:before{position:absolute;display:block;width:15.38em;height:1.54em;top:3.23em;right:-3.23em;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.github-fork-ribbon:before{content:"";padding:.38em 0;background-color:#a00;background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),to(rgba(0,0,0,.15)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:-moz-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:-ms-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:-o-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.15));-webkit-box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);-moz-box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);pointer-events:auto}.github-fork-ribbon:after{content:attr(data-ribbon);color:#fff;font:700 1em "Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.54em;text-decoration:none;text-shadow:0 -.08em rgba(0,0,0,.5);text-align:center;text-indent:0;padding:.15em 0;margin:.15em 0;border-width:.08em 0;border-style:dotted;border-color:#fff;border-color:rgba(255,255,255,.7)}.github-fork-ribbon.left-bottom,.github-fork-ribbon.left-top{right:auto;left:0}.github-fork-ribbon.left-bottom,.github-fork-ribbon.right-bottom{top:auto;bottom:0}.github-fork-ribbon.left-bottom:after,.github-fork-ribbon.left-bottom:before,.github-fork-ribbon.left-top:after,.github-fork-ribbon.left-top:before{right:auto;left:-3.23em}.github-fork-ribbon.left-bottom:after,.github-fork-ribbon.left-bottom:before,.github-fork-ribbon.right-bottom:after,.github-fork-ribbon.right-bottom:before{top:auto;bottom:3.23em}.github-fork-ribbon.left-top:after,.github-fork-ribbon.left-top:before,.github-fork-ribbon.right-bottom:after,.github-fork-ribbon.right-bottom:before{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)}
|
232
vendor/crowdfunding2/lib/css/w3.css
vendored
@ -1,232 +0,0 @@
|
||||
/* W3.CSS 4.13 June 2019 by Jan Egil and Borge Refsnes */
|
||||
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
|
||||
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
|
||||
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
|
||||
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}summary{display:list-item}
|
||||
audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline}
|
||||
audio:not([controls]){display:none;height:0}[hidden],template{display:none}
|
||||
a{background-color:transparent}a:active,a:hover{outline-width:0}
|
||||
abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
|
||||
b,strong{font-weight:bolder}dfn{font-style:italic}mark{background:#ff0;color:#000}
|
||||
small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
|
||||
sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none}
|
||||
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{box-sizing:content-box;height:0;overflow:visible}
|
||||
button,input,select,textarea,optgroup{font:inherit;margin:0}optgroup{font-weight:bold}
|
||||
button,input{overflow:visible}button,select{text-transform:none}
|
||||
button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}
|
||||
button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}
|
||||
button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}
|
||||
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}
|
||||
legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}
|
||||
[type=checkbox],[type=radio]{padding:0}
|
||||
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
|
||||
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
|
||||
[type=search]::-webkit-search-decoration{-webkit-appearance:none}
|
||||
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
|
||||
/* End extract */
|
||||
html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5}html{overflow-x:hidden}
|
||||
h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}.w3-serif{font-family:serif}
|
||||
h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}.w3-wide{letter-spacing:4px}
|
||||
hr{border:0;border-top:1px solid #eee;margin:20px 0}
|
||||
.w3-image{max-width:100%;height:auto}img{vertical-align:middle}a{color:inherit}
|
||||
.w3-table,.w3-table-all{border-collapse:collapse;border-spacing:0;width:100%;display:table}.w3-table-all{border:1px solid #ccc}
|
||||
.w3-bordered tr,.w3-table-all tr{border-bottom:1px solid #ddd}.w3-striped tbody tr:nth-child(even){background-color:#f1f1f1}
|
||||
.w3-table-all tr:nth-child(odd){background-color:#fff}.w3-table-all tr:nth-child(even){background-color:#f1f1f1}
|
||||
.w3-hoverable tbody tr:hover,.w3-ul.w3-hoverable li:hover{background-color:#ccc}.w3-centered tr th,.w3-centered tr td{text-align:center}
|
||||
.w3-table td,.w3-table th,.w3-table-all td,.w3-table-all th{padding:8px 8px;display:table-cell;text-align:left;vertical-align:top}
|
||||
.w3-table th:first-child,.w3-table td:first-child,.w3-table-all th:first-child,.w3-table-all td:first-child{padding-left:16px}
|
||||
.w3-btn,.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
|
||||
.w3-btn:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
|
||||
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||
.w3-disabled,.w3-btn:disabled,.w3-button:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
|
||||
.w3-btn.w3-disabled:hover,.w3-btn:disabled:hover{box-shadow:none}
|
||||
.w3-badge,.w3-tag{background-color:#000;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center}.w3-badge{border-radius:50%}
|
||||
.w3-ul{list-style-type:none;padding:0;margin:0}.w3-ul li{padding:8px 16px;border-bottom:1px solid #ddd}.w3-ul li:last-child{border-bottom:none}
|
||||
.w3-tooltip,.w3-display-container{position:relative}.w3-tooltip .w3-text{display:none}.w3-tooltip:hover .w3-text{display:inline-block}
|
||||
.w3-ripple:active{opacity:0.5}.w3-ripple{transition:opacity 0s}
|
||||
.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:100%}
|
||||
.w3-select{padding:9px 0;width:100%;border:none;border-bottom:1px solid #ccc}
|
||||
.w3-dropdown-click,.w3-dropdown-hover{position:relative;display:inline-block;cursor:pointer}
|
||||
.w3-dropdown-hover:hover .w3-dropdown-content{display:block}
|
||||
.w3-dropdown-hover:first-child,.w3-dropdown-click:hover{background-color:#ccc;color:#000}
|
||||
.w3-dropdown-hover:hover > .w3-button:first-child,.w3-dropdown-click:hover > .w3-button:first-child{background-color:#ccc;color:#000}
|
||||
.w3-dropdown-content{cursor:auto;color:#000;background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0;z-index:1}
|
||||
.w3-check,.w3-radio{width:24px;height:24px;position:relative;top:6px}
|
||||
.w3-sidebar{height:100%;width:200px;background-color:#fff;position:fixed!important;z-index:1;overflow:auto}
|
||||
.w3-bar-block .w3-dropdown-hover,.w3-bar-block .w3-dropdown-click{width:100%}
|
||||
.w3-bar-block .w3-dropdown-hover .w3-dropdown-content,.w3-bar-block .w3-dropdown-click .w3-dropdown-content{min-width:100%}
|
||||
.w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;padding:8px 16px}
|
||||
.w3-main,#main{transition:margin-left .4s}
|
||||
.w3-modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
|
||||
.w3-modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}
|
||||
.w3-bar{width:100%;overflow:hidden}.w3-center .w3-bar{display:inline-block;width:auto}
|
||||
.w3-bar .w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0}
|
||||
.w3-bar .w3-dropdown-hover,.w3-bar .w3-dropdown-click{position:static;float:left}
|
||||
.w3-bar .w3-button{white-space:normal}
|
||||
.w3-bar-block .w3-bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0}
|
||||
.w3-bar-block.w3-center .w3-bar-item{text-align:center}.w3-block{display:block;width:100%}
|
||||
.w3-responsive{display:block;overflow-x:auto}
|
||||
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
|
||||
.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}
|
||||
.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-threequarter,.w3-quarter{float:left;width:100%}
|
||||
.w3-col.s1{width:8.33333%}.w3-col.s2{width:16.66666%}.w3-col.s3{width:24.99999%}.w3-col.s4{width:33.33333%}
|
||||
.w3-col.s5{width:41.66666%}.w3-col.s6{width:49.99999%}.w3-col.s7{width:58.33333%}.w3-col.s8{width:66.66666%}
|
||||
.w3-col.s9{width:74.99999%}.w3-col.s10{width:83.33333%}.w3-col.s11{width:91.66666%}.w3-col.s12{width:99.99999%}
|
||||
@media (min-width:601px){.w3-col.m1{width:8.33333%}.w3-col.m2{width:16.66666%}.w3-col.m3,.w3-quarter{width:24.99999%}.w3-col.m4,.w3-third{width:33.33333%}
|
||||
.w3-col.m5{width:41.66666%}.w3-col.m6,.w3-half{width:49.99999%}.w3-col.m7{width:58.33333%}.w3-col.m8,.w3-twothird{width:66.66666%}
|
||||
.w3-col.m9,.w3-threequarter{width:74.99999%}.w3-col.m10{width:83.33333%}.w3-col.m11{width:91.66666%}.w3-col.m12{width:99.99999%}}
|
||||
@media (min-width:993px){.w3-col.l1{width:8.33333%}.w3-col.l2{width:16.66666%}.w3-col.l3{width:24.99999%}.w3-col.l4{width:33.33333%}
|
||||
.w3-col.l5{width:41.66666%}.w3-col.l6{width:49.99999%}.w3-col.l7{width:58.33333%}.w3-col.l8{width:66.66666%}
|
||||
.w3-col.l9{width:74.99999%}.w3-col.l10{width:83.33333%}.w3-col.l11{width:91.66666%}.w3-col.l12{width:99.99999%}}
|
||||
.w3-rest{overflow:hidden}.w3-stretch{margin-left:-16px;margin-right:-16px}
|
||||
.w3-content,.w3-auto{margin-left:auto;margin-right:auto}.w3-content{max-width:980px}.w3-auto{max-width:1140px}
|
||||
.w3-cell-row{display:table;width:100%}.w3-cell{display:table-cell}
|
||||
.w3-cell-top{vertical-align:top}.w3-cell-middle{vertical-align:middle}.w3-cell-bottom{vertical-align:bottom}
|
||||
.w3-hide{display:none!important}.w3-show-block,.w3-show{display:block!important}.w3-show-inline-block{display:inline-block!important}
|
||||
@media (max-width:1205px){.w3-auto{max-width:95%}}
|
||||
@media (max-width:600px){.w3-modal-content{margin:0 10px;width:auto!important}.w3-modal{padding-top:30px}
|
||||
.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative}
|
||||
.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}.w3-bar-item.w3-mobile,.w3-dropdown-hover.w3-mobile,.w3-dropdown-click.w3-mobile{text-align:center}
|
||||
.w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}}
|
||||
@media (max-width:768px){.w3-modal-content{width:500px}.w3-modal{padding-top:50px}}
|
||||
@media (min-width:993px){.w3-modal-content{width:900px}.w3-hide-large{display:none!important}.w3-sidebar.w3-collapse{display:block!important}}
|
||||
@media (max-width:992px) and (min-width:601px){.w3-hide-medium{display:none!important}}
|
||||
@media (max-width:992px){.w3-sidebar.w3-collapse{display:none}.w3-main{margin-left:0!important;margin-right:0!important}.w3-auto{max-width:100%}}
|
||||
.w3-top,.w3-bottom{position:fixed;width:100%;z-index:1}.w3-top{top:0}.w3-bottom{bottom:0}
|
||||
.w3-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.5);z-index:2}
|
||||
.w3-display-topleft{position:absolute;left:0;top:0}.w3-display-topright{position:absolute;right:0;top:0}
|
||||
.w3-display-bottomleft{position:absolute;left:0;bottom:0}.w3-display-bottomright{position:absolute;right:0;bottom:0}
|
||||
.w3-display-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)}
|
||||
.w3-display-left{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
|
||||
.w3-display-right{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}
|
||||
.w3-display-topmiddle{position:absolute;left:50%;top:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
|
||||
.w3-display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
|
||||
.w3-display-container:hover .w3-display-hover{display:block}.w3-display-container:hover span.w3-display-hover{display:inline-block}.w3-display-hover{display:none}
|
||||
.w3-display-position{position:absolute}
|
||||
.w3-circle{border-radius:50%}
|
||||
.w3-round-small{border-radius:2px}.w3-round,.w3-round-medium{border-radius:4px}.w3-round-large{border-radius:8px}.w3-round-xlarge{border-radius:16px}.w3-round-xxlarge{border-radius:32px}
|
||||
.w3-row-padding,.w3-row-padding>.w3-half,.w3-row-padding>.w3-third,.w3-row-padding>.w3-twothird,.w3-row-padding>.w3-threequarter,.w3-row-padding>.w3-quarter,.w3-row-padding>.w3-col{padding:0 8px}
|
||||
.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}
|
||||
.w3-code,.w3-codespan{font-family:Consolas,"courier new";font-size:16px}
|
||||
.w3-code{width:auto;background-color:#fff;padding:8px 12px;border-left:4px solid #4CAF50;word-wrap:break-word}
|
||||
.w3-codespan{color:crimson;background-color:#f1f1f1;padding-left:4px;padding-right:4px;font-size:110%}
|
||||
.w3-card,.w3-card-2{box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
|
||||
.w3-card-4,.w3-hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)}
|
||||
.w3-spin{animation:w3-spin 2s infinite linear}@keyframes w3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}
|
||||
.w3-animate-fading{animation:fading 10s infinite}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
|
||||
.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}
|
||||
.w3-animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
|
||||
.w3-animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
|
||||
.w3-animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
|
||||
.w3-animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
|
||||
.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
||||
.w3-animate-input{transition:width 0.4s ease-in-out}.w3-animate-input:focus{width:100%!important}
|
||||
.w3-opacity,.w3-hover-opacity:hover{opacity:0.60}.w3-opacity-off,.w3-hover-opacity-off:hover{opacity:1}
|
||||
.w3-opacity-max{opacity:0.25}.w3-opacity-min{opacity:0.75}
|
||||
.w3-greyscale-max,.w3-grayscale-max,.w3-hover-greyscale:hover,.w3-hover-grayscale:hover{filter:grayscale(100%)}
|
||||
.w3-greyscale,.w3-grayscale{filter:grayscale(75%)}.w3-greyscale-min,.w3-grayscale-min{filter:grayscale(50%)}
|
||||
.w3-sepia{filter:sepia(75%)}.w3-sepia-max,.w3-hover-sepia:hover{filter:sepia(100%)}.w3-sepia-min{filter:sepia(50%)}
|
||||
.w3-tiny{font-size:10px!important}.w3-small{font-size:12px!important}.w3-medium{font-size:15px!important}.w3-large{font-size:18px!important}
|
||||
.w3-xlarge{font-size:24px!important}.w3-xxlarge{font-size:36px!important}.w3-xxxlarge{font-size:48px!important}.w3-jumbo{font-size:64px!important}
|
||||
.w3-left-align{text-align:left!important}.w3-right-align{text-align:right!important}.w3-justify{text-align:justify!important}.w3-center{text-align:center!important}
|
||||
.w3-border-0{border:0!important}.w3-border{border:1px solid #ccc!important}
|
||||
.w3-border-top{border-top:1px solid #ccc!important}.w3-border-bottom{border-bottom:1px solid #ccc!important}
|
||||
.w3-border-left{border-left:1px solid #ccc!important}.w3-border-right{border-right:1px solid #ccc!important}
|
||||
.w3-topbar{border-top:6px solid #ccc!important}.w3-bottombar{border-bottom:6px solid #ccc!important}
|
||||
.w3-leftbar{border-left:6px solid #ccc!important}.w3-rightbar{border-right:6px solid #ccc!important}
|
||||
.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important}
|
||||
.w3-margin{margin:16px!important}.w3-margin-top{margin-top:16px!important}.w3-margin-bottom{margin-bottom:16px!important}
|
||||
.w3-margin-left{margin-left:16px!important}.w3-margin-right{margin-right:16px!important}
|
||||
.w3-padding-small{padding:4px 8px!important}.w3-padding{padding:8px 16px!important}.w3-padding-large{padding:12px 24px!important}
|
||||
.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}.w3-padding-24{padding-top:24px!important;padding-bottom:24px!important}
|
||||
.w3-padding-32{padding-top:32px!important;padding-bottom:32px!important}.w3-padding-48{padding-top:48px!important;padding-bottom:48px!important}
|
||||
.w3-padding-64{padding-top:64px!important;padding-bottom:64px!important}
|
||||
.w3-left{float:left!important}.w3-right{float:right!important}
|
||||
.w3-button:hover{color:#000!important;background-color:#ccc!important}
|
||||
.w3-transparent,.w3-hover-none:hover{background-color:transparent!important}
|
||||
.w3-hover-none:hover{box-shadow:none!important}
|
||||
/* Colors */
|
||||
.w3-amber,.w3-hover-amber:hover{color:#000!important;background-color:#ffc107!important}
|
||||
.w3-aqua,.w3-hover-aqua:hover{color:#000!important;background-color:#00ffff!important}
|
||||
.w3-blue,.w3-hover-blue:hover{color:#fff!important;background-color:#2196F3!important}
|
||||
.w3-light-blue,.w3-hover-light-blue:hover{color:#000!important;background-color:#87CEEB!important}
|
||||
.w3-brown,.w3-hover-brown:hover{color:#fff!important;background-color:#795548!important}
|
||||
.w3-cyan,.w3-hover-cyan:hover{color:#000!important;background-color:#00bcd4!important}
|
||||
.w3-blue-grey,.w3-hover-blue-grey:hover,.w3-blue-gray,.w3-hover-blue-gray:hover{color:#fff!important;background-color:#607d8b!important}
|
||||
.w3-green,.w3-hover-green:hover{color:#fff!important;background-color:#4CAF50!important}
|
||||
.w3-light-green,.w3-hover-light-green:hover{color:#000!important;background-color:#8bc34a!important}
|
||||
.w3-indigo,.w3-hover-indigo:hover{color:#fff!important;background-color:#3f51b5!important}
|
||||
.w3-khaki,.w3-hover-khaki:hover{color:#000!important;background-color:#f0e68c!important}
|
||||
.w3-lime,.w3-hover-lime:hover{color:#000!important;background-color:#cddc39!important}
|
||||
.w3-orange,.w3-hover-orange:hover{color:#000!important;background-color:#ff9800!important}
|
||||
.w3-deep-orange,.w3-hover-deep-orange:hover{color:#fff!important;background-color:#ff5722!important}
|
||||
.w3-pink,.w3-hover-pink:hover{color:#fff!important;background-color:#e91e63!important}
|
||||
.w3-purple,.w3-hover-purple:hover{color:#fff!important;background-color:#9c27b0!important}
|
||||
.w3-deep-purple,.w3-hover-deep-purple:hover{color:#fff!important;background-color:#673ab7!important}
|
||||
.w3-red,.w3-hover-red:hover{color:#fff!important;background-color:#f44336!important}
|
||||
.w3-sand,.w3-hover-sand:hover{color:#000!important;background-color:#fdf5e6!important}
|
||||
.w3-teal,.w3-hover-teal:hover{color:#fff!important;background-color:#009688!important}
|
||||
.w3-yellow,.w3-hover-yellow:hover{color:#000!important;background-color:#ffeb3b!important}
|
||||
.w3-white,.w3-hover-white:hover{color:#000!important;background-color:#fff!important}
|
||||
.w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
|
||||
.w3-grey,.w3-hover-grey:hover,.w3-gray,.w3-hover-gray:hover{color:#000!important;background-color:#9e9e9e!important}
|
||||
.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important}
|
||||
.w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#fff!important;background-color:#616161!important}
|
||||
.w3-pale-red,.w3-hover-pale-red:hover{color:#000!important;background-color:#ffdddd!important}
|
||||
.w3-pale-green,.w3-hover-pale-green:hover{color:#000!important;background-color:#ddffdd!important}
|
||||
.w3-pale-yellow,.w3-hover-pale-yellow:hover{color:#000!important;background-color:#ffffcc!important}
|
||||
.w3-pale-blue,.w3-hover-pale-blue:hover{color:#000!important;background-color:#ddffff!important}
|
||||
.w3-text-amber,.w3-hover-text-amber:hover{color:#ffc107!important}
|
||||
.w3-text-aqua,.w3-hover-text-aqua:hover{color:#00ffff!important}
|
||||
.w3-text-blue,.w3-hover-text-blue:hover{color:#2196F3!important}
|
||||
.w3-text-light-blue,.w3-hover-text-light-blue:hover{color:#87CEEB!important}
|
||||
.w3-text-brown,.w3-hover-text-brown:hover{color:#795548!important}
|
||||
.w3-text-cyan,.w3-hover-text-cyan:hover{color:#00bcd4!important}
|
||||
.w3-text-blue-grey,.w3-hover-text-blue-grey:hover,.w3-text-blue-gray,.w3-hover-text-blue-gray:hover{color:#607d8b!important}
|
||||
.w3-text-green,.w3-hover-text-green:hover{color:#4CAF50!important}
|
||||
.w3-text-light-green,.w3-hover-text-light-green:hover{color:#8bc34a!important}
|
||||
.w3-text-indigo,.w3-hover-text-indigo:hover{color:#3f51b5!important}
|
||||
.w3-text-khaki,.w3-hover-text-khaki:hover{color:#b4aa50!important}
|
||||
.w3-text-lime,.w3-hover-text-lime:hover{color:#cddc39!important}
|
||||
.w3-text-orange,.w3-hover-text-orange:hover{color:#ff9800!important}
|
||||
.w3-text-deep-orange,.w3-hover-text-deep-orange:hover{color:#ff5722!important}
|
||||
.w3-text-pink,.w3-hover-text-pink:hover{color:#e91e63!important}
|
||||
.w3-text-purple,.w3-hover-text-purple:hover{color:#9c27b0!important}
|
||||
.w3-text-deep-purple,.w3-hover-text-deep-purple:hover{color:#673ab7!important}
|
||||
.w3-text-red,.w3-hover-text-red:hover{color:#f44336!important}
|
||||
.w3-text-sand,.w3-hover-text-sand:hover{color:#fdf5e6!important}
|
||||
.w3-text-teal,.w3-hover-text-teal:hover{color:#009688!important}
|
||||
.w3-text-yellow,.w3-hover-text-yellow:hover{color:#d2be0e!important}
|
||||
.w3-text-white,.w3-hover-text-white:hover{color:#fff!important}
|
||||
.w3-text-black,.w3-hover-text-black:hover{color:#000!important}
|
||||
.w3-text-grey,.w3-hover-text-grey:hover,.w3-text-gray,.w3-hover-text-gray:hover{color:#757575!important}
|
||||
.w3-text-light-grey,.w3-hover-text-light-grey:hover,.w3-text-light-gray,.w3-hover-text-light-gray:hover{color:#f1f1f1!important}
|
||||
.w3-text-dark-grey,.w3-hover-text-dark-grey:hover,.w3-text-dark-gray,.w3-hover-text-dark-gray:hover{color:#3a3a3a!important}
|
||||
.w3-border-amber,.w3-hover-border-amber:hover{border-color:#ffc107!important}
|
||||
.w3-border-aqua,.w3-hover-border-aqua:hover{border-color:#00ffff!important}
|
||||
.w3-border-blue,.w3-hover-border-blue:hover{border-color:#2196F3!important}
|
||||
.w3-border-light-blue,.w3-hover-border-light-blue:hover{border-color:#87CEEB!important}
|
||||
.w3-border-brown,.w3-hover-border-brown:hover{border-color:#795548!important}
|
||||
.w3-border-cyan,.w3-hover-border-cyan:hover{border-color:#00bcd4!important}
|
||||
.w3-border-blue-grey,.w3-hover-border-blue-grey:hover,.w3-border-blue-gray,.w3-hover-border-blue-gray:hover{border-color:#607d8b!important}
|
||||
.w3-border-green,.w3-hover-border-green:hover{border-color:#4CAF50!important}
|
||||
.w3-border-light-green,.w3-hover-border-light-green:hover{border-color:#8bc34a!important}
|
||||
.w3-border-indigo,.w3-hover-border-indigo:hover{border-color:#3f51b5!important}
|
||||
.w3-border-khaki,.w3-hover-border-khaki:hover{border-color:#f0e68c!important}
|
||||
.w3-border-lime,.w3-hover-border-lime:hover{border-color:#cddc39!important}
|
||||
.w3-border-orange,.w3-hover-border-orange:hover{border-color:#ff9800!important}
|
||||
.w3-border-deep-orange,.w3-hover-border-deep-orange:hover{border-color:#ff5722!important}
|
||||
.w3-border-pink,.w3-hover-border-pink:hover{border-color:#e91e63!important}
|
||||
.w3-border-purple,.w3-hover-border-purple:hover{border-color:#9c27b0!important}
|
||||
.w3-border-deep-purple,.w3-hover-border-deep-purple:hover{border-color:#673ab7!important}
|
||||
.w3-border-red,.w3-hover-border-red:hover{border-color:#f44336!important}
|
||||
.w3-border-sand,.w3-hover-border-sand:hover{border-color:#fdf5e6!important}
|
||||
.w3-border-teal,.w3-hover-border-teal:hover{border-color:#009688!important}
|
||||
.w3-border-yellow,.w3-hover-border-yellow:hover{border-color:#ffeb3b!important}
|
||||
.w3-border-white,.w3-hover-border-white:hover{border-color:#fff!important}
|
||||
.w3-border-black,.w3-hover-border-black:hover{border-color:#000!important}
|
||||
.w3-border-grey,.w3-hover-border-grey:hover,.w3-border-gray,.w3-hover-border-gray:hover{border-color:#9e9e9e!important}
|
||||
.w3-border-light-grey,.w3-hover-border-light-grey:hover,.w3-border-light-gray,.w3-hover-border-light-gray:hover{border-color:#f1f1f1!important}
|
||||
.w3-border-dark-grey,.w3-hover-border-dark-grey:hover,.w3-border-dark-gray,.w3-hover-border-dark-gray:hover{border-color:#616161!important}
|
||||
.w3-border-pale-red,.w3-hover-border-pale-red:hover{border-color:#ffe7e7!important}.w3-border-pale-green,.w3-hover-border-pale-green:hover{border-color:#e7ffe7!important}
|
||||
.w3-border-pale-yellow,.w3-hover-border-pale-yellow:hover{border-color:#ffffcc!important}.w3-border-pale-blue,.w3-hover-border-pale-blue:hover{border-color:#e7ffff!important}
|
7
vendor/crowdfunding2/lib/js/chart.min.js
vendored
45
vendor/crowdfunding2/lib/js/counter.js
vendored
@ -1,45 +0,0 @@
|
||||
$(document).ready(function(){
|
||||
var selector = $('.count');
|
||||
var replay = 'replay'
|
||||
|
||||
function isScrolledIntoView(el) {
|
||||
var docViewTop = $(window).scrollTop();
|
||||
var docViewBottom = docViewTop + $(window).height();
|
||||
var elTop = el.offset().top;
|
||||
var elBottom = elTop + el.height();
|
||||
return ((elBottom <= docViewBottom) && (elTop >= docViewTop));
|
||||
}
|
||||
|
||||
function animate_numbers(element) {
|
||||
if (isScrolledIntoView(element)) {
|
||||
element.addClass('started').css('visibility','visible')
|
||||
var startnum = element.text();
|
||||
if(element.text() % 1 === 0 && $.isNumeric(element.text())) {
|
||||
var step = function () { element.text(Math.ceil(this.Counter)); }
|
||||
} else if(element.text() % 1 !== 0 && $.isNumeric(element.text())) {
|
||||
var step = function () { element.text(this.Counter.toFixed(2)); }
|
||||
}
|
||||
jQuery({ Counter: 0 }).animate({ Counter: element.text() }, {
|
||||
duration : 2000,
|
||||
complete: function() { element.text($.trim(startnum)).addClass('finished').removeClass('started'); },
|
||||
step: step
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
selector.each(function () {
|
||||
/*$(this).css('visibility','hidden');*/ /* This sometimes causes numbers to not display at all.*/
|
||||
animate_numbers($(this));
|
||||
});
|
||||
|
||||
$(document).on("scroll", function () {
|
||||
selector.not('.finished, .started').each(function () {
|
||||
animate_numbers($(this));
|
||||
});
|
||||
selector.each(function () {
|
||||
if(!isScrolledIntoView($(this)) && $(this).hasClass(replay)) {
|
||||
$(this).removeClass('finished');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
403
vendor/crowdfunding2/lib/js/generate.js
vendored
@ -1,403 +0,0 @@
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
/*[ Smooth Scroll ]
|
||||
===========================================================*/
|
||||
$('#smooth-scroll').on('click', function() {
|
||||
|
||||
var page = $(this).attr('href');
|
||||
|
||||
$('html, body').animate( { scrollTop: $(page).offset().top }, 750 );
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
/*[ Back to top ]
|
||||
===========================================================*/
|
||||
var windowH = $(window).height()*1.2;
|
||||
|
||||
$(window).on('scroll',function(){
|
||||
|
||||
if ($(this).scrollTop() > windowH) {
|
||||
|
||||
$("#back-to-top").css('display','flex');
|
||||
|
||||
} else {
|
||||
|
||||
$("#back-to-top").css('display','none');
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
$('#back-to-top').on("click", function(){
|
||||
|
||||
$('html, body').animate({scrollTop: $('#content').offset().top}, 300);
|
||||
});
|
||||
|
||||
/*[ onLoad/onChange : Update IHM & params ]
|
||||
===========================================================*/
|
||||
var type = 'iframe';
|
||||
|
||||
function resetForm(){
|
||||
|
||||
type= 'iframe';
|
||||
|
||||
url = base_url + 'iframe.php';
|
||||
|
||||
$('#type option[value="iframe"]').prop('selected', true);
|
||||
$('#pubkey').val('');
|
||||
$('#target').val('');
|
||||
$('#title').val('');
|
||||
$('#theme').val('paidge');
|
||||
$('#unit option[value="quantitative"]').prop('selected', true);
|
||||
$('#lang option[value="fr"]').prop('selected', true);
|
||||
$('#node').val('');
|
||||
$('#period option[value="current-monh"]').prop('selected', true);
|
||||
$('#start_date').val('');
|
||||
$('#end_date').val('');
|
||||
$('#p-start_date').addClass("w3-hide");
|
||||
$('#p-end_date').addClass("w3-hide");
|
||||
$('#hide_title').prop( "checked", false );
|
||||
$('#display_pubkey').prop( "checked", false );
|
||||
$('#display_qrcode').prop( "checked", false );
|
||||
$('#display_button').prop( "checked", false );
|
||||
$('#display_graph').prop( "checked", false );
|
||||
$('#logo option[value="no-logo"]').prop('selected', true);
|
||||
$('#p-logo').addClass("w3-hide");
|
||||
$('#p-display_button').removeClass("w3-hide");
|
||||
$('#p-display_graph').removeClass("w3-hide");
|
||||
$('#background_color').val('#ffffff');
|
||||
$('#font_color').val('#212529');
|
||||
$('#progress_color').val('#ffc107');
|
||||
$('#border_color').val('#343a40');
|
||||
$('#preview_label').addClass("w3-hide");
|
||||
$('#result').val('');
|
||||
|
||||
for (var param in params) {
|
||||
|
||||
params[param] = '';
|
||||
}
|
||||
}
|
||||
$(window).on('load',resetForm);
|
||||
|
||||
$('#type').on('change', function() {
|
||||
type = this.value;
|
||||
|
||||
switch (type) {
|
||||
case 'iframe':
|
||||
$('#p-logo').addClass("w3-hide");
|
||||
params['logo'] = '';
|
||||
$('#p-display_button').removeClass("w3-hide");
|
||||
$('#p-display_graph').removeClass("w3-hide");
|
||||
url = base_url + 'iframe.php';
|
||||
break;
|
||||
case 'png':
|
||||
$('#p-logo').removeClass("w3-hide");
|
||||
$('#p-display_button').addClass("w3-hide");
|
||||
$('#p-display_graph').addClass("w3-hide");
|
||||
params['display_button'] = '';
|
||||
params['display_graph'] = '';
|
||||
url = base_url + 'image.php';
|
||||
break;
|
||||
case 'svg':
|
||||
$('#p-logo').removeClass("w3-hide");
|
||||
$('#p-display_button').addClass("w3-hide");
|
||||
$('#p-display_graph').addClass("w3-hide");
|
||||
params['display_button'] = '';
|
||||
params['display_graph'] = '';
|
||||
url = base_url + 'svg.php';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
var theme = 'paidge';
|
||||
|
||||
$('#theme').on('change', function() {
|
||||
|
||||
theme = this.value;
|
||||
|
||||
switch (theme) {
|
||||
|
||||
case 'kickstarter':
|
||||
$('#p-progress_color').addClass("w3-hide");
|
||||
$('#p-logo').addClass("w3-hide");
|
||||
$('#p-display-graph').addClass("w3-hide");
|
||||
|
||||
$('#p-display_button').removeClass("w3-hide");
|
||||
$('#p-display_button').removeClass("w3-hide");
|
||||
$('#p-display_qrcode').addClass("w3-hide");
|
||||
$('#p-display_pubkey').addClass("w3-hide");
|
||||
$('#p-display_graph').addClass("w3-hide");
|
||||
$('#p-hide_title').addClass("w3-hide");
|
||||
$('#p-border_color').addClass("w3-hide");
|
||||
$('#p-type').addClass("w3-hide");
|
||||
break;
|
||||
|
||||
case 'paidge':
|
||||
$('#p-progress_color').removeClass("w3-hide");
|
||||
$('#p-logo').removeClass("w3-hide");
|
||||
$('#p-display_button').addClass("w3-hide");
|
||||
$('#p-display_graph').addClass("w3-hide");
|
||||
$('#p-display_qrcode').removeClass("w3-hide");
|
||||
$('#p-display_pubkey').removeClass("w3-hide");
|
||||
$('#p-hide_title').removeClass("w3-hide");
|
||||
$('#p-border_color').removeClass("w3-hide");
|
||||
$('#p-display_graph').removeClass("w3-hide");
|
||||
$('#p-type').removeClass("w3-hide");
|
||||
params['display_button'] = '';
|
||||
params['display_graph'] = '';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
$('#period').on('change', function() {
|
||||
var period = this.value;
|
||||
|
||||
switch (period) {
|
||||
case 'current-monh':
|
||||
$('#p-start_date').addClass("w3-hide");
|
||||
$('#p-end_date').addClass("w3-hide");
|
||||
params['start_date'] = '';
|
||||
params['end_date'] = '';
|
||||
break;
|
||||
case 'one-date':
|
||||
$('#p-start_date').removeClass("w3-hide");
|
||||
$('#p-end_date').addClass("w3-hide");
|
||||
params['end_date'] = '';
|
||||
break;
|
||||
case 'two-dates':
|
||||
$('#p-start_date').removeClass("w3-hide");
|
||||
$('#p-end_date').removeClass("w3-hide");
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
$('#hide_title').on('change', function() { params['hide_title'] = $('#hide_title').prop('checked') ? true : ''; });
|
||||
|
||||
$('#title').on('change', function() {params['title'] = encodeURIComponent(this.value);});
|
||||
$('#theme').on('change', function() {params['theme'] = encodeURIComponent(this.value);});
|
||||
$('#unit').on('change', function() {params['unit'] = this.value;});
|
||||
$('#lang').on('change', function() {params['lang'] = this.value;});
|
||||
$('#node').on('change', function() {params['node'] = this.value;});
|
||||
$('#start_date').on('change', function() {params['start_date'] = this.value;});
|
||||
$('#end_date').on('change', function() {params['end_date'] = this.value;});
|
||||
|
||||
$('#display_pubkey').on('change', function() {params['display_pubkey'] = $('#display_pubkey').prop('checked') ? true : '';});
|
||||
$('#display_qrcode').on('change', function() {params['display_qrcode'] = $('#display_qrcode').prop('checked') ? true : '';});
|
||||
$('#display_button').on('change', function() {params['display_button'] = $('#display_button').prop('checked') ? true : '';});
|
||||
$('#display_graph').on('change', function() {params['display_graph'] = $('#display_graph').prop('checked') ? true : '';});
|
||||
$('#logo').on('change', function() {params['logo'] = $('#logo').val();});
|
||||
$('#background_color').on('change', function() {params['background_color'] = this.value.substr(1);});
|
||||
$('#font_color').on('change', function() {params['font_color'] = this.value.substr(1);});
|
||||
$('#progress_color').on('change', function() {params['progress_color'] = this.value.substr(1);});
|
||||
$('#border_color').on('change', function() {params['border_color'] = this.value.substr(1);});
|
||||
|
||||
/*[ Generate URL ]
|
||||
===========================================================*/
|
||||
var base_url = document.location.href;
|
||||
base_url = base_url.substr(0,base_url.lastIndexOf('/')+1);
|
||||
var url = base_url+'iframe.php';
|
||||
|
||||
var params = {
|
||||
|
||||
'title' : '',
|
||||
'theme' : '',
|
||||
'unit' : '',
|
||||
'lang' : '',
|
||||
'node' : '',
|
||||
'start_date' : '',
|
||||
'end_date' : '',
|
||||
'hide_title' : '',
|
||||
'display_pubkey' : '',
|
||||
'display_qrcode' : '',
|
||||
'display_button' : '',
|
||||
'display_graph' : '',
|
||||
'logo' : '',
|
||||
'background_color' : '',
|
||||
'font_color' : '',
|
||||
'progress_color' : '',
|
||||
'border_color' : ''
|
||||
};
|
||||
|
||||
function generateFullUrl (pubkey, target) {
|
||||
|
||||
var fullUrl = '';
|
||||
|
||||
fullUrl += url;
|
||||
|
||||
fullUrl += '?pubkey=' + pubkey;
|
||||
|
||||
fullUrl += '&target=' + target;
|
||||
|
||||
for (var param in params) {
|
||||
|
||||
if (params[param] !== '') {
|
||||
|
||||
fullUrl += '&'+param+'='+params[param];
|
||||
}
|
||||
}
|
||||
|
||||
return fullUrl;
|
||||
}
|
||||
|
||||
function generateHTM (fullUrl, integrationType, title) {
|
||||
|
||||
fullUrl = fullUrl.replace('&', '&');
|
||||
|
||||
switch (integrationType) {
|
||||
|
||||
case 'iframe':
|
||||
|
||||
return '<iframe src="'+fullUrl+'" width="100%" height="100%" frameborder="0"></iframe>';
|
||||
|
||||
case 'png':
|
||||
|
||||
return '<img src="'+fullUrl+'" alt="' + title + '" />';
|
||||
|
||||
case 'svg':
|
||||
|
||||
return '<object type="image/svg+xml" data="'+fullUrl+'" border="0"></object>';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function generateBBCode (fullUrl, integrationType, title) {
|
||||
|
||||
switch (integrationType) {
|
||||
|
||||
case 'iframe':
|
||||
|
||||
return '[url=' + fullUrl + ']'+ title + '[/url]';
|
||||
|
||||
case 'png':
|
||||
|
||||
return '[img]' + fullUrl + '[/url]';
|
||||
|
||||
case 'svg':
|
||||
|
||||
return '[img]' + fullUrl + '[/url]';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function generateMarkdown (fullUrl, integrationType, title) {
|
||||
|
||||
switch (integrationType) {
|
||||
|
||||
case 'iframe':
|
||||
|
||||
return '[' + title + '](' + fullUrl + ')';
|
||||
|
||||
case 'png':
|
||||
|
||||
return '\';
|
||||
|
||||
case 'svg':
|
||||
|
||||
return '\';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function generateWikitext (fullUrl, integrationType, title) {
|
||||
|
||||
switch (integrationType) {
|
||||
|
||||
case 'iframe':
|
||||
|
||||
return '[[' + fullUrl + '|' + title + ']]';
|
||||
|
||||
case 'png':
|
||||
|
||||
return '[[' + fullUrl + '|{{' + fullUrl + '}}]]';
|
||||
|
||||
case 'svg':
|
||||
|
||||
return '[[' + fullUrl + '|{{' + fullUrl + '}}]]';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$('#submit').on("click", function() {
|
||||
|
||||
if (document.getElementById("pubkey").checkValidity()
|
||||
&& document.getElementById("target").checkValidity()) {
|
||||
|
||||
var pubkeyVal = $('#pubkey').val();
|
||||
var targetVal = $('#target').val();
|
||||
|
||||
var fullUrl = generateFullUrl(pubkeyVal, targetVal);
|
||||
|
||||
var title = decodeURIComponent(params['title']);
|
||||
|
||||
var htm = generateHTM(fullUrl, type, title);
|
||||
var bbcode = generateBBCode(fullUrl, type, title);
|
||||
var markdown = generateMarkdown(fullUrl, type, title);
|
||||
var wikitext = generateWikitext(fullUrl, type, title);
|
||||
|
||||
$('form').on("submit", function() {
|
||||
|
||||
$('#preview_label').removeClass("w3-hide");
|
||||
$('#preview').css("visibility","hidden");
|
||||
$('#preview').children().remove();
|
||||
|
||||
$('#integration-instructions').removeClass("w3-hide");
|
||||
|
||||
$('#htm').val(htm);
|
||||
$('#bbcode').val(bbcode);
|
||||
$('#markdown').val(markdown);
|
||||
$('#wikitext').val(wikitext);
|
||||
|
||||
$('html, body').animate({scrollTop: $('#display_result').offset().top}, 750);
|
||||
|
||||
|
||||
$('#preview').append(htm);
|
||||
|
||||
if (type == 'iframe') {
|
||||
|
||||
$('iframe').on('load', function() {
|
||||
|
||||
var iframe_height = document.getElementsByTagName('iframe')[0].contentWindow.document.body.scrollHeight;
|
||||
$('iframe').height(iframe_height);
|
||||
|
||||
// Pour relancer l'animation
|
||||
$('#preview').html($('#preview').html());
|
||||
});
|
||||
}
|
||||
|
||||
$('#htm').focus();
|
||||
$('.buttons').removeClass("w3-hide");
|
||||
|
||||
setTimeout(function(){
|
||||
|
||||
$('#preview').css("visibility","visible");
|
||||
$('#integration-instructions').css("visibility","visible");
|
||||
|
||||
}, 1000);
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
/*[ Reset ]
|
||||
===========================================================*/
|
||||
|
||||
$('#reset').on("click", function(){
|
||||
|
||||
$('#result').val('');
|
||||
|
||||
resetForm();
|
||||
|
||||
$('html, body').animate({scrollTop: $('#content').offset().top}, 300);
|
||||
|
||||
$('#buttons').addClass("w3-hide");
|
||||
|
||||
$('#preview').children().remove();
|
||||
});
|
||||
|
||||
})(jQuery);
|
7
vendor/crowdfunding2/lib/js/moment.min.js
vendored
53
vendor/crowdfunding2/lib/locales.php
vendored
@ -1,53 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (isset($_GET['lang'])) {
|
||||
|
||||
if (empty($_GET['lang']))
|
||||
|
||||
$langdetect = true;
|
||||
|
||||
else
|
||||
|
||||
$lang = $_GET['lang'];
|
||||
}
|
||||
|
||||
# Autodetect browser language
|
||||
if(isset($langdetect) and $langdetect) {
|
||||
|
||||
$langd = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
|
||||
|
||||
# Client can modify HTTP headers and modify the file path
|
||||
# So we must verify $langd
|
||||
if (preg_match('#[a-zA-Z_]{2}#i', $langd)) {
|
||||
|
||||
$lang = $langd;
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($lang) and file_exists(getcwd().'/locales/'.$lang.'.tr.php')) {}
|
||||
else $lang = 'fr';
|
||||
require('locales/'.$lang.'.tr.php');
|
||||
|
||||
function bparse($text, $vars) {
|
||||
|
||||
foreach($vars as $var1 => $var2) {
|
||||
|
||||
$text = str_replace('{{'.$var1.'}}', $var2, $text);
|
||||
}
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
function tr($tkey, $vars=array()) {
|
||||
|
||||
global $ttr;
|
||||
|
||||
if (isset($ttr[$tkey])) {
|
||||
|
||||
return bparse($ttr[$tkey], $vars);
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
2020-01-31 10:58:56: empty string!!!2020-01-31 10:59:36: empty string!!!2020-01-31 11:02:34: empty string!!!2020-01-31 11:03:40: empty string!!!2020-01-31 11:04:15: empty string!!!2020-01-31 11:04:22: empty string!!!2020-01-31 11:08:10: empty string!!!2020-01-31 11:08:56: empty string!!!2020-01-31 11:12:19: empty string!!!2020-01-31 11:14:03: empty string!!!2020-01-31 11:14:41: empty string!!!2020-01-31 11:14:46: empty string!!!2020-01-31 11:17:07: empty string!!!2020-01-31 11:17:32: empty string!!!2020-01-31 11:17:39: empty string!!!2020-01-31 11:17:50: empty string!!!2020-01-31 11:18:15: empty string!!!2020-01-31 11:18:30: empty string!!!2020-01-31 11:31:43: empty string!!!2020-01-31 11:33:07: empty string!!!
|
38
vendor/crowdfunding2/lib/phpqrcode/CHANGELOG
vendored
@ -1,38 +0,0 @@
|
||||
* 1.0.0 build 2010031920
|
||||
|
||||
- first public release
|
||||
- help in readme, install
|
||||
- cleanup ans separation of QRtools and QRspec
|
||||
- now TCPDF binding requires minimal changes in TCPDF, having most of job
|
||||
done in QRtools tcpdfBarcodeArray
|
||||
- nicer QRtools::timeBenchmark output
|
||||
- license and copyright notices in files
|
||||
- indent cleanup - from tab to 4spc, keep it that way please :)
|
||||
- sf project, repository, wiki
|
||||
- simple code generator in index.php
|
||||
|
||||
* 1.1.0 build 2010032113
|
||||
|
||||
- added merge tool wich generate merged version of code
|
||||
located in phpqrcode.php
|
||||
- splited qrconst.php from qrlib.php
|
||||
|
||||
* 1.1.1 build 2010032405
|
||||
|
||||
- patch by Rick Seymour allowing saving PNG and displaying it at the same time
|
||||
- added version info in VERSION file
|
||||
- modified merge tool to include version info into generated file
|
||||
- fixed e-mail in almost all head comments
|
||||
|
||||
* 1.1.2 build 2010032722
|
||||
|
||||
- full integration with TCPDF thanks to Nicola Asuni, it's author
|
||||
- fixed bug with alphanumeric encoding detection
|
||||
|
||||
* 1.1.3 build 2010081807
|
||||
|
||||
- short opening tags replaced with standard ones
|
||||
|
||||
* 1.1.4 build 2010100721
|
||||
|
||||
- added missing static keyword QRinput::check (found by Luke Brookhart, Onjax LLC)
|
67
vendor/crowdfunding2/lib/phpqrcode/INSTALL
vendored
@ -1,67 +0,0 @@
|
||||
== REQUIREMENTS ==
|
||||
|
||||
* PHP5
|
||||
* PHP GD2 extension with JPEG and PNG support
|
||||
|
||||
== INSTALLATION ==
|
||||
|
||||
If you want to recreate cache by yourself make sure cache directory is
|
||||
writable and you have permisions to write into it. Also make sure you are
|
||||
able to read files in it if you have cache option enabled
|
||||
|
||||
== CONFIGURATION ==
|
||||
|
||||
Feel free to modify config constants in qrconfig.php file. Read about it in
|
||||
provided comments and project wiki page (links in README file)
|
||||
|
||||
== QUICK START ==
|
||||
|
||||
Notice: probably you should'nt use all of this in same script :)
|
||||
|
||||
<?php
|
||||
|
||||
//include only that one, rest required files will be included from it
|
||||
include "qrlib.php"
|
||||
|
||||
//write code into file, Error corection lecer is lowest, L (one form: L,M,Q,H)
|
||||
//each code square will be 4x4 pixels (4x zoom)
|
||||
//code will have 2 code squares white boundary around
|
||||
|
||||
QRcode::png('PHP QR Code :)', 'test.png', 'L', 4, 2);
|
||||
|
||||
//same as above but outputs file directly into browser (with appr. header etc.)
|
||||
//all other settings are default
|
||||
//WARNING! it should be FIRST and ONLY output generated by script, otherwise
|
||||
//rest of output will land inside PNG binary, breaking it for sure
|
||||
QRcode::png('PHP QR Code :)');
|
||||
|
||||
//show benchmark
|
||||
QRtools::timeBenchmark();
|
||||
|
||||
//rebuild cache
|
||||
QRtools::buildCache();
|
||||
|
||||
//code generated in text mode - as a binary table
|
||||
//then displayed out as HTML using Unicode block building chars :)
|
||||
$tab = $qr->encode('PHP QR Code :)');
|
||||
QRspec::debug($tab, true);
|
||||
|
||||
== TCPDF INTEGRATION ==
|
||||
|
||||
Inside bindings/tcpdf you will find slightly modified 2dbarcodes.php.
|
||||
Instal phpqrcode liblaty inside tcpdf folder, then overwrite (or merge)
|
||||
2dbarcodes.php
|
||||
|
||||
Then use similar as example #50 from TCPDF examples:
|
||||
|
||||
<?php
|
||||
|
||||
$style = array(
|
||||
'border' => true,
|
||||
'padding' => 4,
|
||||
'fgcolor' => array(0,0,0),
|
||||
'bgcolor' => false, //array(255,255,255)
|
||||
);
|
||||
|
||||
//code name: QR, specify error correction level after semicolon (L,M,Q,H)
|
||||
$pdf->write2DBarcode('PHP QR Code :)', 'QR,L', '', '', 30, 30, $style, 'N');
|
165
vendor/crowdfunding2/lib/phpqrcode/LICENSE
vendored
@ -1,165 +0,0 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
61
vendor/crowdfunding2/lib/phpqrcode/README
vendored
@ -1,61 +0,0 @@
|
||||
This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
|
||||
LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.
|
||||
|
||||
== UPDATE ==
|
||||
Added support for eps export
|
||||
Usage : QRcode::eps('arguments');
|
||||
|
||||
Added support for SVG export
|
||||
Usage : QRcode::svg('arguments');
|
||||
|
||||
Added support for color export :
|
||||
example :
|
||||
$back_color = 0xFFFF00;
|
||||
$fore_color = 0xFF00FF;
|
||||
QRcode::png('some othertext 1234', false, 'h', 20, 1, false, $back_color, $fore_color);
|
||||
|
||||
|
||||
Copyright (C) 2012 by Alexandre Assouad
|
||||
|
||||
== LICENSING ==
|
||||
|
||||
Copyright (C) 2010 by Dominik Dzienia
|
||||
|
||||
This library is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the Free
|
||||
Software Foundation; either version 3 of the License, or any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
|
||||
for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with this library; if not, write to the Free Software Foundation, Inc., 51
|
||||
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
== INSTALATION AND USAGE ==
|
||||
|
||||
* INSTALL file
|
||||
* http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
|
||||
|
||||
== CONTACT ==
|
||||
|
||||
Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
|
||||
folowing project pages:
|
||||
|
||||
* http://sourceforge.net/projects/phpqrcode/
|
||||
* http://phpqrcode.sourceforge.net/
|
||||
|
||||
== ACKNOWLEDGMENTS ==
|
||||
|
||||
Based on C libqrencode library (ver. 3.1.1)
|
||||
Copyright (C) 2006-2010 by Kentaro Fukuchi
|
||||
http://megaui.net/fukuchi/works/qrencode/index.en.html
|
||||
|
||||
QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
|
||||
countries.
|
||||
|
||||
Reed-Solomon code encoder is written by Phil Karn, KA9Q.
|
||||
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q
|
||||
|
2
vendor/crowdfunding2/lib/phpqrcode/VERSION
vendored
@ -1,2 +0,0 @@
|
||||
1.1.4
|
||||
2010100721
|
@ -1,2 +0,0 @@
|
||||
xÚ<EFBFBD><EFBFBD>Á
À E9³u<06><>`³"PÅ„CÛ牗T!0$
|
||||
E•É²Q™<EFBFBD>Ém½úhÛ¾9{kI"› 9Ln)Ap¤åÖ¾Ë>ß^‡Õz³mënÅ–;ü´mßn†ú¦Ë
|