diff --git a/openflexure_microscope/api/static/main_v1.js b/openflexure_microscope/api/static/main_v1.js index af4a1899..1d8bb6ff 100644 --- a/openflexure_microscope/api/static/main_v1.js +++ b/openflexure_microscope/api/static/main_v1.js @@ -77,18 +77,16 @@ function updateCaptureList(response) { // Generate inner HTML from capture object html = ` -
-
-
- ${element.filename} -
- - -
- - -
-
+
+
+ ${element.filename} +
+ + +
+ + +
` diff --git a/openflexure_microscope/api/static/style_v1.css b/openflexure_microscope/api/static/style_v1.css index 90cb3fd4..58b9ae38 100644 --- a/openflexure_microscope/api/static/style_v1.css +++ b/openflexure_microscope/api/static/style_v1.css @@ -64,6 +64,14 @@ body { display: table; } +.flexbox { + display: flex; + margin-bottom: 5px; +} +.flexgrow { + flex-grow: 1; +} + /* Data divs */ #captures { @@ -74,6 +82,18 @@ body { .capture { background-color: #d3d3d3; margin-bottom: 5px; + display: flex; +} + +.capture-thumb { + width: 80px; +} + +.capture-actions { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + margin-left: 5px; } .capture img { diff --git a/openflexure_microscope/api/templates/index_v1.html b/openflexure_microscope/api/templates/index_v1.html index f9be076c..59504329 100644 --- a/openflexure_microscope/api/templates/index_v1.html +++ b/openflexure_microscope/api/templates/index_v1.html @@ -25,16 +25,16 @@

Doubleclick to position:
-

-
FOV width:
-
+
+
FOV width:
+
-
-
FOV height:
-
+
+
FOV height:
+
@@ -51,16 +51,16 @@

Velocity:

-
-
x-y:
-
+
+
x-y:
+
-
-
z:
-
+
+
z:
+