summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/assets/css/applets.css21
-rw-r--r--site/content/pages/test/chart.md2
-rw-r--r--site/content/pages/test/citations.md2
-rw-r--r--site/content/pages/test/index.md1
-rw-r--r--site/content/pages/test/map.md2
-rw-r--r--site/content/pages/test/pie_chart.md19
-rw-r--r--site/public/index.html1
-rw-r--r--site/public/test/chart/index.html2
-rw-r--r--site/public/test/citations/index.html2
-rw-r--r--site/public/test/index.html1
-rw-r--r--site/public/test/map/index.html2
-rw-r--r--site/public/test/pie_chart/index.html51
-rw-r--r--site/templates/home.html1
13 files changed, 99 insertions, 8 deletions
diff --git a/site/assets/css/applets.css b/site/assets/css/applets.css
index cbd9f825..02775641 100644
--- a/site/assets/css/applets.css
+++ b/site/assets/css/applets.css
@@ -206,3 +206,24 @@
.analysisContainer .results div img {
max-width: 100%;
}
+
+/* chart */
+
+.piechart .chart {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-around;
+ align-items: flex-start;
+}
+.piechart .chart > div {
+ width: 50%;
+}
+.piechart .chart .c3-chart-arc text {
+ fill: #fff;
+}
+.piechart .chart .c3-chart-arc.c3-target-Academic text {
+ fill: #333;
+}
+.piechart .c3 path, .piechart .c3 line {
+ stroke: rgba(64,64,64,0.3);
+} \ No newline at end of file
diff --git a/site/content/pages/test/chart.md b/site/content/pages/test/chart.md
index e29410a7..34c7d30c 100644
--- a/site/content/pages/test/chart.md
+++ b/site/content/pages/test/chart.md
@@ -15,5 +15,5 @@ authors: Megapixels
### [← Back to test index](/test/)
```
-chart lfw
+chart duke_mtmc
```
diff --git a/site/content/pages/test/citations.md b/site/content/pages/test/citations.md
index 48ab99b1..f5fc9df2 100644
--- a/site/content/pages/test/citations.md
+++ b/site/content/pages/test/citations.md
@@ -15,5 +15,5 @@ authors: Megapixels
### [← Back to test index](/test/)
```
-citations lfw
+citations duke_mtmc
```
diff --git a/site/content/pages/test/index.md b/site/content/pages/test/index.md
index 7d77c3d4..da9db049 100644
--- a/site/content/pages/test/index.md
+++ b/site/content/pages/test/index.md
@@ -20,4 +20,5 @@ authors: Megapixels
- [Face search](/test/face_search/index.html)
- [Name search](/test/name_search/index.html)
- [Chart](/test/chart/index.html)
+- [Pie Chart](/test/pie_chart/index.html)
- [Modal image gallery](/test/gallery/index.html)
diff --git a/site/content/pages/test/map.md b/site/content/pages/test/map.md
index fc5e2847..3490d3df 100644
--- a/site/content/pages/test/map.md
+++ b/site/content/pages/test/map.md
@@ -15,5 +15,5 @@ authors: Megapixels
### [← Back to test index](/test/)
```
-map lfw
+map duke_mtmc
```
diff --git a/site/content/pages/test/pie_chart.md b/site/content/pages/test/pie_chart.md
new file mode 100644
index 00000000..ba4a8c3d
--- /dev/null
+++ b/site/content/pages/test/pie_chart.md
@@ -0,0 +1,19 @@
+------------
+
+status: published
+title: Pie Chart
+desc: Pie Chart Test
+slug: pie-chart-test
+published: 2018-12-04
+updated: 2018-12-04
+authors: Megapixels
+
+------------
+
+# Pie Chart
+
+### [← Back to test index](/test/)
+
+```
+piechart duke_mtmc
+```
diff --git a/site/public/index.html b/site/public/index.html
index 62f78978..11ff7279 100644
--- a/site/public/index.html
+++ b/site/public/index.html
@@ -19,7 +19,6 @@
</a>
<div class='links splash'>
<a href="/datasets/" class='aboutLink'>DATASETS</a>
- <a href="/research/" class='aboutLink'>RESEARCH</a>
<a href="/about/" class='aboutLink'>ABOUT</a>
</div>
</header>
diff --git a/site/public/test/chart/index.html b/site/public/test/chart/index.html
index fd3d690e..93e12b3c 100644
--- a/site/public/test/chart/index.html
+++ b/site/public/test/chart/index.html
@@ -28,7 +28,7 @@
<section><h1>Chart</h1>
<h3><a href="/test/">&larr; Back to test index</a></h3>
-</section><section class='applet_container'><div class='applet' data-payload='{"command": "chart lfw"}'></div></section>
+</section><section class='applet_container'><div class='applet' data-payload='{"command": "chart duke_mtmc"}'></div></section>
</div>
<footer>
diff --git a/site/public/test/citations/index.html b/site/public/test/citations/index.html
index 3dafd81e..70b3fe55 100644
--- a/site/public/test/citations/index.html
+++ b/site/public/test/citations/index.html
@@ -28,7 +28,7 @@
<section><h1>Citations</h1>
<h3><a href="/test/">&larr; Back to test index</a></h3>
-</section><section class='applet_container'><div class='applet' data-payload='{"command": "citations lfw"}'></div></section>
+</section><section class='applet_container'><div class='applet' data-payload='{"command": "citations duke_mtmc"}'></div></section>
</div>
<footer>
diff --git a/site/public/test/index.html b/site/public/test/index.html
index 8a4ec3fb..0fc839d0 100644
--- a/site/public/test/index.html
+++ b/site/public/test/index.html
@@ -36,6 +36,7 @@
<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/chart/index.html">Chart</a></li>
+<li><a href="/test/pie_chart/index.html">Pie Chart</a></li>
<li><a href="/test/gallery/index.html">Modal image gallery</a></li>
</ul>
</section>
diff --git a/site/public/test/map/index.html b/site/public/test/map/index.html
index fd5a186d..4f4e7093 100644
--- a/site/public/test/map/index.html
+++ b/site/public/test/map/index.html
@@ -28,7 +28,7 @@
<section><h1>Map test</h1>
<h3><a href="/test/">&larr; Back to test index</a></h3>
-</section><section class='applet_container'><div class='applet' data-payload='{"command": "map lfw"}'></div></section>
+</section><section class='applet_container'><div class='applet' data-payload='{"command": "map duke_mtmc"}'></div></section>
</div>
<footer>
diff --git a/site/public/test/pie_chart/index.html b/site/public/test/pie_chart/index.html
new file mode 100644
index 00000000..7dd159a3
--- /dev/null
+++ b/site/public/test/pie_chart/index.html
@@ -0,0 +1,51 @@
+<!doctype html>
+<html>
+<head>
+ <title>MegaPixels</title>
+ <meta charset="utf-8" />
+ <meta name="author" content="Megapixels" />
+ <meta name="description" content="Pie Chart Test" />
+ <meta name="referrer" content="no-referrer" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+ <link rel='stylesheet' href='/assets/css/fonts.css' />
+ <link rel='stylesheet' href='/assets/css/tabulator.css' />
+ <link rel='stylesheet' href='/assets/css/css.css' />
+ <link rel='stylesheet' href='/assets/css/leaflet.css' />
+ <link rel='stylesheet' href='/assets/css/applets.css' />
+</head>
+<body>
+ <header>
+ <a class='slogan' href="/">
+ <div class='logo'></div>
+ <div class='site_name'>MegaPixels</div>
+ </a>
+ <div class='links'>
+ <a href="/datasets/">Datasets</a>
+ <a href="/about/">About</a>
+ </div>
+ </header>
+ <div class="content content-">
+
+ <section><h1>Pie Chart</h1>
+<h3><a href="/test/">&larr; Back to test index</a></h3>
+</section><section class='applet_container'><div class='applet' data-payload='{"command": "piechart duke_mtmc"}'></div></section>
+
+ </div>
+ <footer>
+ <div>
+ <a href="/">MegaPixels.cc</a>
+ <a href="/about/disclaimer/">Disclaimer</a>
+ <a href="/about/terms/">Terms of Use</a>
+ <a href="/about/privacy/">Privacy</a>
+ <a href="/about/">About</a>
+ <a href="/about/team/">Team</a>
+ </div>
+ <div>
+ MegaPixels &copy;2017-19 Adam R. Harvey /&nbsp;
+ <a href="https://ahprojects.com">ahprojects.com</a>
+ </div>
+ </footer>
+</body>
+
+<script src="/assets/js/dist/index.js"></script>
+</html> \ No newline at end of file
diff --git a/site/templates/home.html b/site/templates/home.html
index 62f78978..11ff7279 100644
--- a/site/templates/home.html
+++ b/site/templates/home.html
@@ -19,7 +19,6 @@
</a>
<div class='links splash'>
<a href="/datasets/" class='aboutLink'>DATASETS</a>
- <a href="/research/" class='aboutLink'>RESEARCH</a>
<a href="/about/" class='aboutLink'>ABOUT</a>
</div>
</header>