w2v-server.pl: colorize contrasting soms
diff --git a/w2v-server.pl b/w2v-server.pl
index 2df0a53..56e0180 100644
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -359,12 +359,18 @@
margin-bottom: 12px;
}
-#sominfo {
+#sominfo1, #sominfo {
font-size: 8pt;
color: #222222;
margin-top: 0px;
}
+#somcolor1, #somcolor2, #somcolor3 {
+ display: inline-block;
+ height: 10px;
+ width: 10px;
+}
+
#third {
border: 1px solid #333;
}
@@ -610,6 +616,7 @@
% if($show_som) {
<div id="som2">
</div>
+ <div id="sominfo1"><span id="somcolor1"> </span> <span id="somword1"> </span> <span id="somcolor2"> </span> <span id="somword2"> </span> <span id="somcolor3"> </span></div>
<div id="sominfo">SOM iteration <span id="iterations">0</span></div>
% }
</div>