Commit 1deadb13 authored by Josh's avatar Josh
Browse files

formatting

parent 6f7d1ed9
......@@ -69,17 +69,17 @@ class DBViewer extends HTMLElement {
// CREATE IMAGE CONTROLLERS
// Image controller for original image
this._originalImageController = new ImageController( "original-image", 600, 600, "static/activeMedia/GeoEye.jpg" );
this._originalImageController = new ImageController( "original-image", 400, 400, "static/activeMedia/GeoEye.jpg" );
this._originalImageController.id = "originalImage";
this._originalImageController.style.gridArea = "original";
// Image controller for sliced, unprocessed image
this._slicedImageController = new ImageController( "slice-image", 500, 500, "static/activeMedia/old/Slice.jpg" );
this._slicedImageController = new ImageController( "slice-image", 400, 400, "static/activeMedia/old/Slice.jpg" );
this._slicedImageController.id = "sliceImage";
this._slicedImageController.style.gridArea = "slice";
// Image controller for processed image
this._processedImageController = new ImageController( "processed-image", 500, 500, "static/activeMedia/old/MeanShift.jpg" );
this._processedImageController = new ImageController( "processed-image", 400, 400, "static/activeMedia/old/MeanShift.jpg" );
this._processedImageController.id = "processedSlice";
this._processedImageController.style.gridArea = "processed";
......@@ -119,12 +119,12 @@ class DBViewer extends HTMLElement {
dbViewerCont.style.display = "grid";
dbViewerCont.style.gridTemplateRows = "100px 50px 500px 1fr";
dbViewerCont.style.gridTemplateColumns = "600px 50px 500px 1fr";
dbViewerCont.style.gridTemplateAreas = `"toolbar toolbar toolbar toolbar"
". . . . "
"original . slice . "
"original . processed . "`;
dbViewerCont.style.gridTemplateRows = "100px 50px 400px 1fr";
dbViewerCont.style.gridTemplateColumns = "400px 1fr 400px 1fr 400px";
dbViewerCont.style.gridTemplateAreas = `"toolbar toolbar toolbar toolbar toolbar "
". . . . . "
"original . slice . processed"
"original . slcie . processed"`;
}
}
......
......@@ -7,6 +7,7 @@
padding: 0;
margin: 0;
font-family: arial;
box-sizing: border-box;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment