From df978f2f9e4a109503c411c8267daf0b4638dbd1 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Sat, 7 May 2016 02:29:21 +0100 Subject: [PATCH] Better labelling --- static/index.html | 2 +- static/main.css | 3 ++- static/main.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/index.html b/static/index.html index c63cb20..68ac6a2 100644 --- a/static/index.html +++ b/static/index.html @@ -3,7 +3,7 @@ - Title + abp diff --git a/static/main.css b/static/main.css index 204f7f4..f1124cb 100644 --- a/static/main.css +++ b/static/main.css @@ -1,6 +1,7 @@ html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-family: "courier new"; } #infoholder { - background: black; color:white; padding: 5px; margin:0px; position: absolute; top:5px; left:5px; font-family:"courier new"; text-align: center; font-size:10pt; width:200px; height:15px; + background: black; color:white; padding: 5px; margin:0px; position: absolute; top:5px; left:5px; font-family:"courier new"; text-align: center; font-size:10pt; + height:15px; border-radius:3px; } diff --git a/static/main.js b/static/main.js index b3642f6..7334506 100644 --- a/static/main.js +++ b/static/main.js @@ -52,7 +52,7 @@ function makeScene(){ var vertex = new THREE.Vector3(i-5, j-5, 0); nodeGeometry.vertices.push(vertex); nodeGeometry.colors.push(new THREE.Color(0.5, 0.5, 0.5)); - nodeGeometry.labels.push(i + " " + j + " "); + nodeGeometry.labels.push("Click to add a qubit at (" + i + ", " + j + ")"); } }