WIP
This commit is contained in:
parent
c2da25762d
commit
a59b9e0790
@ -6,7 +6,10 @@
|
|||||||
<div class="col-12 mb-4">
|
<div class="col-12 mb-4">
|
||||||
<div id="wc-canvas" style="width: 800px;height: 800px;"></div>
|
<div id="wc-canvas" style="width: 800px;height: 800px;"></div>
|
||||||
<script>
|
<script>
|
||||||
WordCloud(document.getElementById('wc-canvas'), { list: [[ "{{.Params.Title}}", 100], ['Einführung des Modulkurses', 40], ['Umzug', 40], ['Wettbewerbserfolge', 40], ['Cantorpreis', 40], ['Teilnahme an der ersten Internationalen Junior Science Olympiade', 25]] } );
|
function callback(item, dimension, event) {
|
||||||
|
console.log(item);
|
||||||
|
}
|
||||||
|
WordCloud(document.getElementById('wc-canvas'), { maxRotation: '90', minRotation: '-90', shape: "square", click: callback,list: [[ "{{.Params.Title}}", 100, "https://gcg.de"], ['Einführung des Modulkurses', 40], ['Umzug', 40], ['Wettbewerbserfolge', 40], ['Cantorpreis', 40], ['Teilnahme an der ersten Internationalen Junior Science Olympiade', 25]] } );
|
||||||
</script>
|
</script>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -105,7 +105,7 @@ h6, .h6 {
|
|||||||
background: #ffab08;
|
background: #ffab08;
|
||||||
color: #ffbc3b; }
|
color: #ffbc3b; }
|
||||||
|
|
||||||
.btn-primary:not(:disabled):not(.disabled).active,
|
.btn-primary.active:not(:disabled):not(.disabled),
|
||||||
.btn-primary:not(:disabled):not(.disabled):active,
|
.btn-primary:not(:disabled):not(.disabled):active,
|
||||||
.show > .btn-primary.dropdown-toggle {
|
.show > .btn-primary.dropdown-toggle {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user