index.html 12.6 KB
Newer Older
1 2 3 4 5
<!doctype html>
<html lang="fr">
<head>
  <meta charset="utf-8">
  <title>Toile de confiance de la monnaie libre Ğ1</title>
6
  <meta property="og:url" content="https://duniter.normandie-libre.fr/wotmap/" />
7 8 9
  <meta property="og:type" content="article" />
  <meta property="og:title" content="Wotmap" />
  <meta property="og:description" content="La toile de confiance de la monnaie libre Ğ1" />
10
  <meta property="og:image" content="https://duniter.normandie-libre.fr/wotmap/img/capture.jpg" />
11
  <meta property="og:image:width" content="1225" />
12
  <meta property="og:image:height" content="736" />
13 14 15 16
  <meta name="description" content="La toile de confiance de la monnaie libre Ğ1">
  <meta name="keywords" content="Monnaie libre,duniter,toile de confiance">
  <meta name="author" content="Pierre-Jean CHANCELLIER">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
17 18
  <link rel="icon" href="https://duniter.normandie-libre.fr/wotmap/img/duniter-logo.ico" />
  <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
19 20
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="css/auto-complete.css">
21 22 23
  <link rel="stylesheet" href="css/style.css">
</head>
<body>
24 25 26 27 28 29 30 31 32 33 34 35 36
<div id="loader" class="w3-modal">
	<div class="w3-modal-content w3-round-large w3-card-4 w3-animate-zoom">
		<header class="w3-container w3-teal">
			<h2>Veuillez patienter</h2>
		</header>
		<div class="w3-container" style="padding-bottom:15px;">
			<p>Le calcul de la position des noeuds est en cours...</p>
			<div class="w3-light-grey w3-round">
				<div id="myBar2" class="w3-container w3-green" style="border-radius:4px 0 0 4px;height:24px;width:0%">0%</div>
			</div>
		</div>
	</div>
</div> 
37
<div id="myProgress">
38
	<div style="color:white;">Chargement des avatars</div>
39 40 41
	<div class="w3-light-grey w3-round">
		<div id="myBar" class="w3-container w3-green" style="border-radius:4px 0 0 4px;height:24px;width:0%">0%</div>
	</div>
42
</div>
43 44 45
<div id="modal" class="w3-modal">
	<div class="w3-modal-content w3-round-large w3-card-4 w3-animate-zoom">
		<header class="w3-container w3-teal">
46
			<span onclick="document.getElementById('modal').style.display='none'" class="w3-button w3-display-topright" style="color:white;height:65px;">&times;</span>
47
			<h2 style="width:90%;">Toile de confiance de la monnaie libre Ğ1</h2>
48 49
		</header>
		<div class="w3-container">
50 51 52 53 54
			<p>Voici une représentation visuelle de la toile de confiance de la première crypto-monnaie libre au sens de la <a href="http://trm.creationmonetaire.info/" target="_blank">Théorie Relative de la Monnaie</a>.</p>
			<p>La TRM démontre qu'une monnaie libre, respectant les 4 libertés économiques fondamentales, doit être co-créée par un Dividende Universel calculé selon l'espérance de vie, ce qui prend en compte l'égalité spatio-temporelle entre les individus ainsi que le renouvellement des hommes et des valeurs échangées au cours du temps.</p>
			<p>Vous pouvez échanger dans cette monnaie, la June, tout de suite, même sans en être co-créateur grâce à l'application web <a href="https://normandie-libre.fr/creer-son-compte-monnaie-libre.html" target="_blank">Cesium</a>.</p>
			<p>Les données représentées ici sont mises à jour toutes les 24h (à 3h30).</p>
			<p>N'hésitez pas à me soutenir en monnaie libre :</p>
55
			<p class="w3-center">
56 57 58
				<a href="https://g1.duniter.fr/api/#/v1/payment/4FgeWzpWDQ2Vp38wJa2PfShLLKXyFGRLwAHA44koEhQj?amount=10&amp;comment=wotmap&amp;redirect_url=https%3A%252F%252Fduniter.normandie-libre.fr/wotmap&amp;cancel_url=https%3A%252F%252Fduniter.normandie-libre.fr/wotmap">
				  <img src="img/duniter_button.svg">
				</a>
59 60 61 62
				<br /><br />
				<a id="gitlab" href="https://git.duniter.org/tools/wotmap" target="_blank">
					 <img src="img/gitlab.png" width="20" /> Code source disponible sur le Gitlab Duniter
				</a>
63 64 65 66 67 68 69 70
			</p>
		</div>
	</div>
</div>
<main class="container">
	<div id="menu" class="w3-bar w3-border w3-card-4 w3-light-grey w3-large">
		<div>
			<div class="w3-bar-item w3-border-right"><h5 style="margin:0">Wotmap</h5></div>
71
			<div class="w3-dropdown-hover w3-border-right">
72
				<button class="w3-button">Filtres&nbsp;<i class="fa fa-caret-down"></i></button>
73
				<div class="w3-dropdown-content w3-bar-block w3-card-4 w3-small">
74 75 76 77 78 79 80 81 82 83 84 85
					<div class="w3-bar-item w3-button w3-border-bottom">
						<input id="referentsFilter" type="checkbox">
						<label for="referentsFilter">Membres référents</label>
					</div>
					<div class="w3-bar-item w3-button w3-border-bottom">
						<input id="noreferentsFilter" type="checkbox">
						<label for="noreferentsFilter">Membres non-référents</label>
					</div>
					<div class="w3-border-bottom w3-bar-item">
						<div>Min Degree <span id="min-degree-val">0</span></div>
						<div class="w3-center">0 <input id="min-degree" type="range" min="0" max="0" value="0"> <span id="max-degree-value">0</span></div>
					</div>
86
					<a id="reset-btn-filters" href="#" class="w3-bar-item w3-button w3-border-bottom">Supprimer les filtres</a>
87
				</div>
88
			</div>
89
			<div class="w3-dropdown-hover w3-border-right">
90
				<button class="w3-button">Affichage&nbsp;<i class="fa fa-caret-down"></i></button>
91
				<div id="affichage" class="w3-dropdown-content w3-bar-block w3-card-4 w3-small">
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
					<a id="reset-btn-cam" href="#" class="w3-bar-item w3-button w3-border-bottom">Recentrer la caméra</a>
					<div class="w3-bar-item w3-button w3-border-bottom">
						<input id="displayAvatars" type="checkbox">
						<label for="displayAvatars">Afficher les avatars</label>
					</div>
					<div class="w3-bar-item w3-button w3-border-bottom">
						<input id="displayNames" type="checkbox">
						<label for="displayNames">Afficher les noms</label>
					</div>
					<div class="w3-bar-item w3-button w3-border-bottom">
						<input id="displayEdges" type="checkbox">
						<label for="displayEdges">Afficher les liens</label>
					</div>
					<div class="w3-bar-item w3-button w3-border-bottom">
						<label for="html5colorpicker">Arrière-plan :</label>
107
						<input id="html5colorpicker" onchange="document.body.style.backgroundColor = this.value;" value="#455660" style="width:45%;padding:0;height:18px;" type="color">
108
					</div>
109 110
				</div>
			</div>
111 112 113 114 115 116 117 118 119 120
			<div class="w3-dropdown-hover w3-border-right">
				<button class="w3-button">Communautés&nbsp;<i class="fa fa-caret-down"></i></button>
				<div id="filterCommunities" class="w3-dropdown-content w3-bar-block w3-card-4 w3-small">
					<div id="communities">
						<a id="run-btn" href="#" class="w3-bar-item w3-button w3-border-bottom w3-disabled">
							<i id="spinner" class="fa fa-spinner fa-spin"></i>&nbsp;Afficher les communautés
						</a>
					</div>
				</div>
			</div>
121
			<a id="export" href="#" class="w3-bar-item w3-button w3-border-right">Capture</a>
122 123 124
			<a href="#" class="w3-bar-item w3-button w3-border-right" style="padding: 5px 16px;" onclick="document.getElementById('modal').style.display='block';">
				<i class="fa fa-info-circle" style="font-size:30px;"></i>
			</a>
125 126
			<div class="w3-bar-item w3-green"><i class="fa fa-search"></i></div>
			<input id="search" type="text" name="pseudo" class="w3-input" placeholder="Recherche.." autocomplete="off">
127 128
		</div>
	</div>
129 130 131 132
	<div id="nodeInfos" class="w3-panel w3-round-large w3-card-4 w3-display-right w3-center">
		<span onclick="this.parentElement.style.display='none'" class="w3-button w3-large w3-display-topright">&times;</span>
		<img id="avatar" class="w3-circle" src="" />
		<h2 id="pseudo" class=""></h2>
133
		<div class="w3-opacity"><a id="pubkey" href='#' target='_blank'></a></div>
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
		<table class="w3-table-all w3-hoverable">
			<tr>
			  <th>Référent</th>
			  <td><span id="referent"></span></td>
			</tr>
			<tr>
			  <th>Nbre de voisins directs</th>
			  <td><span id="value" class="w3-badge"></span></td>
			</tr>
			<tr>
			  <th>Degree (nbre total de certifs)</th>
			  <td><span id="degree" class="w3-badge"></span></td>
			</tr>
			<tr>
			  <th>In-Degree (nbre total de certifs reçues)</th>
			  <td><span id="indegree" class="w3-badge"></span></td>
			</tr>
			<tr>
			  <th>Out-Degree (nbre total de certifs données)</th>
			  <td><span id="outdegree" class="w3-badge"></span></td>
			</tr>
155 156 157 158
			<tr id="communityInfo">
			  <th>Communauté</th>
			  <td><span id="communityNumber" class="w3-badge"></span></td>
			</tr>
159 160 161 162
		</table>
	</div>
	<div id="graph-container"></div>
</main>
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
<!-- START SIGMA IMPORTS -->
<script src="js/sigmajs/sigma.core.js"></script>
<script src="js/sigmajs/conrad.js"></script>
<script src="js/sigmajs/utils/sigma.utils.js"></script>
<script src="js/sigmajs/utils/sigma.polyfills.js"></script>
<script src="js/sigmajs/sigma.settings.js"></script>
<script src="js/sigmajs/classes/sigma.classes.dispatcher.js"></script>
<script src="js/sigmajs/classes/sigma.classes.configurable.js"></script>
<script src="js/sigmajs/classes/sigma.classes.graph.js"></script>
<script src="js/sigmajs/classes/sigma.classes.camera.js"></script>
<script src="js/sigmajs/classes/sigma.classes.quad.js"></script>
<script src="js/sigmajs/classes/sigma.classes.edgequad.js"></script>
<script src="js/sigmajs/captors/sigma.captors.mouse.js"></script>
<script src="js/sigmajs/captors/sigma.captors.touch.js"></script>
<script src="js/sigmajs/renderers/sigma.renderers.canvas.js"></script>
<script src="js/sigmajs/renderers/sigma.renderers.webgl.js"></script>
<script src="js/sigmajs/renderers/sigma.renderers.svg.js"></script>
<script src="js/sigmajs/renderers/sigma.renderers.def.js"></script>
<script src="js/sigmajs/renderers/webgl/sigma.webgl.nodes.def.js"></script>
<script src="js/sigmajs/renderers/webgl/sigma.webgl.nodes.fast.js"></script>
<script src="js/sigmajs/renderers/webgl/sigma.webgl.edges.def.js"></script>
<script src="js/sigmajs/renderers/webgl/sigma.webgl.edges.fast.js"></script>
<script src="js/sigmajs/renderers/webgl/sigma.webgl.edges.arrow.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.labels.def.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.hovers.def.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.nodes.def.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edges.def.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edges.curve.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edges.arrow.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edges.curvedArrow.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edgehovers.def.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edgehovers.curve.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edgehovers.arrow.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.edgehovers.curvedArrow.js"></script>
<script src="js/sigmajs/renderers/canvas/sigma.canvas.extremities.def.js"></script>
<script src="js/sigmajs/renderers/svg/sigma.svg.utils.js"></script>
<script src="js/sigmajs/renderers/svg/sigma.svg.nodes.def.js"></script>
<script src="js/sigmajs/renderers/svg/sigma.svg.edges.def.js"></script>
<script src="js/sigmajs/renderers/svg/sigma.svg.edges.curve.js"></script>
<script src="js/sigmajs/renderers/svg/sigma.svg.labels.def.js"></script>
<script src="js/sigmajs/renderers/svg/sigma.svg.hovers.def.js"></script>
<script src="js/sigmajs/middlewares/sigma.middlewares.rescale.js"></script>
<script src="js/sigmajs/middlewares/sigma.middlewares.copy.js"></script>
<script src="js/sigmajs/misc/sigma.misc.animation.js"></script>
<script src="js/sigmajs/misc/sigma.misc.bindEvents.js"></script>
<script src="js/sigmajs/misc/sigma.misc.bindDOMEvents.js"></script>
<script src="js/sigmajs/misc/sigma.misc.drawHovers.js"></script>
<!-- END SIGMA IMPORTS -->
211 212
<!-- Affichage personnalisé des noeuds -->
<script src="js/custom/sigma.renderers.img.js"></script>
213
<!-- Gestion du force layout -->
214 215 216
<script src="js/sigmajs/plugins/sigma.plugins.animate/sigma.plugins.animate.js"></script>
<script src="js/sigmajs/plugins/sigma.layout.forceLink/worker.js"></script>
<script src="js/sigmajs/plugins/sigma.layout.forceLink/supervisor.js"></script>
217 218 219 220 221 222 223 224
<script src="js/sigmajs/plugins/sigma.parsers.json/sigma.parsers.json.js"></script>
<!-- Filters -->
<script src="js/sigmajs/plugins/sigma.plugins.filter/sigma.plugins.filter.js"></script>
<!-- Export -->
<script src="js/sigmajs/plugins/sigma.exporters.svg/sigma.exporters.svg.js"></script>
<!-- Custom functions -->
<script src="js/custom/sigma.filter.functions.js"></script>
<script src="js/custom/custom.js"></script>
225 226
<!-- Autocomplétion -->
<script src="js/dist/auto-complete.min.js"></script>
227 228 229
<!-- Lancement du graph -->
<script src="js/graph.js"></script>
<script src="js/main.js"></script>
230 231
</body>
</html>