diff --git a/src/firefly/html/test/images/fail-plot-expected.jpg b/src/firefly/html/test/images/fail-plot-expected.jpg new file mode 100644 index 0000000000..9b41cfa7f7 Binary files /dev/null and b/src/firefly/html/test/images/fail-plot-expected.jpg differ diff --git a/src/firefly/html/test/index.html b/src/firefly/html/test/index.html index 0c2cc450e2..324aaf9e13 100644 --- a/src/firefly/html/test/index.html +++ b/src/firefly/html/test/index.html @@ -105,6 +105,7 @@

To add a test to an existing page

+ indent-3 :source need to adjust for 3 indentation + indent-4 :source need to adjust for 4 indentation + indent-5 :source need to adjust for 5 indentation + expected-list :turn on normal list styling, use with ul element (firefly turns it off) diff --git a/src/firefly/html/test/styles.css b/src/firefly/html/test/styles.css index 457586ed5d..f947eb9080 100644 --- a/src/firefly/html/test/styles.css +++ b/src/firefly/html/test/styles.css @@ -54,6 +54,10 @@ padding: 0 5px; } +ul.expected-list li{ + list-style-type: circle; +} + .source-code.indent-2 {margin-left: -4ch;} .source-code.indent-2 {margin-left: -8ch;} .source-code.indent-3 {margin-left: -12ch;} @@ -84,6 +88,10 @@ .tst-iframe-container iframe { border: 0; width: 100%; + resize : both; + display: flex; + background-color: rgba(0,0,0, .04); + margin-bottom: 5px; } #tpl-container { @@ -98,6 +106,7 @@ display: inline-flex; overflow-x: auto; overflow-y: hidden; + flex-grow: 1; } .tpl-item-box { diff --git a/src/firefly/html/test/template.html b/src/firefly/html/test/template.html index e9d07be077..aab3719d5d 100644 --- a/src/firefly/html/test/template.html +++ b/src/firefly/html/test/template.html @@ -5,7 +5,7 @@ ~ License information at https://github.com/Caltech-IPAC/firefly/blob/master/License.txt --> - + Firefly API Test @@ -37,7 +37,6 @@ document.getElementById('tpl-container').appendChild(document.importNode(t, true)); document.getElementById("tpl-source-code-container").style.display = 'none'; - resizeIframe(); }; function showSource(flg) { @@ -70,7 +69,7 @@ - +