summaryrefslogtreecommitdiff
path: root/site/public/test
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-13 23:51:23 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-13 23:51:23 +0100
commita712efd526481ad3743c860c1fb142889bb33cf4 (patch)
treeceef8baad0642795ea1f8bbce140002f7af1bd1d /site/public/test
parent208139ce2be2b19170ceb9ea4acb00246bb96e83 (diff)
html
Diffstat (limited to 'site/public/test')
-rw-r--r--site/public/test/index.html16
-rw-r--r--site/public/test/style/index.html9
2 files changed, 11 insertions, 14 deletions
diff --git a/site/public/test/index.html b/site/public/test/index.html
index 41f8eda5..b4d16036 100644
--- a/site/public/test/index.html
+++ b/site/public/test/index.html
@@ -30,14 +30,14 @@
<section><h1>Megapixels UI Tests</h1>
<ul>
-<li><a href="/test/style/index.html">Style Guide</a></li>
-<li><a href="/test/csv/index.html">CSV</a></li>
-<li><a href="/test/datasets/index.html">Dataset list</a></li>
-<li><a href="/test/citations/index.html">Citation list</a></li>
-<li><a href="/test/map/index.html">Citation map</a></li>
-<li><a href="/test/face_search/index.html">Face search</a></li>
-<li><a href="/test/name_search/index.html">Name search</a></li>
-<li><a href="/test/gallery/index.html">Modal image gallery</a></li>
+<li><a href="/test/style">Style Guide</a></li>
+<li><a href="/test/csv">CSV</a></li>
+<li><a href="/test/datasets/">Dataset list</a></li>
+<li><a href="/test/citations/">Citation list</a></li>
+<li><a href="/test/map/">Citation map</a></li>
+<li><a href="/test/face_search/">Face search</a></li>
+<li><a href="/test/name_search/">Name search</a></li>
+<li><a href="/test/gallery/">Modal image gallery</a></li>
</ul>
</section>
diff --git a/site/public/test/style/index.html b/site/public/test/style/index.html
index f25f1daf..2a41b8b1 100644
--- a/site/public/test/style/index.html
+++ b/site/public/test/style/index.html
@@ -30,7 +30,7 @@
<section><h1>Style Examples</h1>
<h3><a href="/test/">&larr; Back to test index</a></h3>
-</section><section class='fullwidth'><div class='image'><img src='https://nyc3.digitaloceanspaces.com/megapixels/v1/site/test/assets/test.jpg' alt='Style Guide Test'><div class='caption'>Style Guide Test</div></div></section><section><div class='meta'><div><div class='gray'>Date</div><div>17-Jan-2019</div></div><div><div class='gray'>Numbers</div><div>17</div></div><div><div class='gray'>Identities</div><div>12,139</div></div><div><div class='gray'>But also</div><div>This is a test of the stylesheet</div></div></div></section><section><h1>Header 1</h1>
+</section><section class='wide'><div class='image'><img src='https://nyc3.digitaloceanspaces.com/megapixels/v1/site/test/assets/test.jpg' alt='Style Guide Test'><div class='caption'>Style Guide Test</div></div></section><section><div class='meta'><div><div class='gray'>Date</div><div>17-Jan-2019</div></div><div><div class='gray'>Numbers</div><div>17</div></div><div><div class='gray'>Identities</div><div>12,139</div></div><div><div class='gray'>But also</div><div>This is a test of the stylesheet</div></div></div></section><section><h1>Header 1</h1>
<h2>Header 2</h2>
<h3>Header 3</h3>
<h4>Header 4</h4>
@@ -53,17 +53,14 @@
<div class='image'><img src='https://nyc3.digitaloceanspaces.com/megapixels/v1/site/test/assets/man.jpg' alt='Person 2'><div class='caption'>Person 2</div></div>
<div class='image'><img src='https://nyc3.digitaloceanspaces.com/megapixels/v1/site/test/assets/man.jpg' alt='Person 3. Let me tell you about Person 3. This person has a very long description with text which wraps like crazy'><div class='caption'>Person 3. Let me tell you about Person 3. This person has a very long description with text which wraps like crazy</div></div></section><section><blockquote><p>est, qui dolorem ipsum, quia dolor sit amet consectetur adipisci[ng] velit, sed quia non-numquam [do] eius modi tempora inci[di]dunt, ut labore et dolore magnam aliquam quaerat voluptatem.</p>
</blockquote>
-</section><section class='fullwidth'><div class='image'><img src='https://nyc3.digitaloceanspaces.com/megapixels/v1/site/test/assets/wide-test.jpg' alt='This image is extremely wide and the text beneath it will wrap but thats fine because it can also contain <a href="https://example.com/">hyperlinks</a>! Yes, you read that right&mdash;hyperlinks! Lorem ipsum dolor sit amet ad volotesque sic hoc ad nauseam'><div class='caption'>This image is extremely wide and the text beneath it will wrap but that's fine because it can also contain <a href="https://example.com/">hyperlinks</a>! Yes, you read that right&mdash;hyperlinks! Lorem ipsum dolor sit amet ad volotesque sic hoc ad nauseam</div></div></section><section><p>Inline <code>code</code> has <code>back-ticks around</code> it.</p>
+</section><section class='wide'><div class='image'><img src='https://nyc3.digitaloceanspaces.com/megapixels/v1/site/test/assets/wide-test.jpg' alt='This image is extremely wide and the text beneath it will wrap but thats fine because it can also contain <a href="https://example.com/">hyperlinks</a>! Yes, you read that right&mdash;hyperlinks! Lorem ipsum dolor sit amet ad volotesque sic hoc ad nauseam'><div class='caption'>This image is extremely wide and the text beneath it will wrap but that's fine because it can also contain <a href="https://example.com/">hyperlinks</a>! Yes, you read that right&mdash;hyperlinks! Lorem ipsum dolor sit amet ad volotesque sic hoc ad nauseam</div></div></section><section><p>Inline <code>code</code> has <code>back-ticks around</code> it.</p>
</section><section><pre><code class="lang-javascript">var s = &quot;JavaScript syntax highlighting&quot;;
alert(s);
</code></pre>
</section><section><pre><code class="lang-python">s = &quot;Python syntax highlighting&quot;
print(s)
</code></pre>
-</section><section><pre><code class="lang-code">Generic code block. Note that code blocks that are not so marked will not appear.
-But let&#39;s throw in a &lt;b&gt;tag&lt;/b&gt;.
-</code></pre>
-</section><section><p>Horizontal rule</p>
+</section><section class='applet_container'><div class='applet' data-payload='{"command": "No language indicated, so no syntax highlighting. ", "fields": ["But let's throw in a <b>tag</b>."]}'></div></section><section><p>Horizontal rule</p>
<hr>
<p>Citations below here</p>
<div class="footnotes">