')
- .append(i.clone())
- .remove()
- .html()
- .replace(/type="password"/i, 'type="text"')
- .replace(/type=password/i, 'type=text')
- );
-
- if (i.attr('id') != '')
- x.attr('id', i.attr('id') + '-polyfill-field');
-
- if (i.attr('name') != '')
- x.attr('name', i.attr('name') + '-polyfill-field');
-
- x.addClass('polyfill-placeholder')
- .val(x.attr('placeholder')).insertAfter(i);
-
- if (i.val() == '')
- i.hide();
- else
- x.hide();
-
- i
- .on('blur', function(event) {
-
- event.preventDefault();
-
- var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
-
- if (i.val() == '') {
-
- i.hide();
- x.show();
-
- }
-
- });
-
- x
- .on('focus', function(event) {
-
- event.preventDefault();
-
- var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']');
-
- x.hide();
-
- i
- .show()
- .focus();
-
- })
- .on('keypress', function(event) {
-
- event.preventDefault();
- x.val('');
-
- });
-
- });
-
- // Events.
- $this
- .on('submit', function() {
-
- $this.find('input[type=text],input[type=password],textarea')
- .each(function(event) {
-
- var i = $(this);
-
- if (i.attr('name').match(/-polyfill-field$/))
- i.attr('name', '');
-
- if (i.val() == i.attr('placeholder')) {
-
- i.removeClass('polyfill-placeholder');
- i.val('');
-
- }
-
- });
-
- })
- .on('reset', function(event) {
-
- event.preventDefault();
-
- $this.find('select')
- .val($('option:first').val());
-
- $this.find('input,textarea')
- .each(function() {
-
- var i = $(this),
- x;
-
- i.removeClass('polyfill-placeholder');
-
- switch (this.type) {
-
- case 'submit':
- case 'reset':
- break;
-
- case 'password':
- i.val(i.attr('defaultValue'));
-
- x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
-
- if (i.val() == '') {
- i.hide();
- x.show();
- }
- else {
- i.show();
- x.hide();
- }
-
- break;
-
- case 'checkbox':
- case 'radio':
- i.attr('checked', i.attr('defaultValue'));
- break;
-
- case 'text':
- case 'textarea':
- i.val(i.attr('defaultValue'));
-
- if (i.val() == '') {
- i.addClass('polyfill-placeholder');
- i.val(i.attr('placeholder'));
- }
-
- break;
-
- default:
- i.val(i.attr('defaultValue'));
- break;
-
- }
- });
-
- });
-
- return $this;
-
- };
-
- /**
- * Moves elements to/from the first positions of their respective parents.
- * @param {jQuery} $elements Elements (or selector) to move.
- * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations.
- */
- $.prioritize = function($elements, condition) {
-
- var key = '__prioritize';
-
- // Expand $elements if it's not already a jQuery object.
- if (typeof $elements != 'jQuery')
- $elements = $($elements);
-
- // Step through elements.
- $elements.each(function() {
-
- var $e = $(this), $p,
- $parent = $e.parent();
-
- // No parent? Bail.
- if ($parent.length == 0)
- return;
-
- // Not moved? Move it.
- if (!$e.data(key)) {
-
- // Condition is false? Bail.
- if (!condition)
- return;
-
- // Get placeholder (which will serve as our point of reference for when this element needs to move back).
- $p = $e.prev();
-
- // Couldn't find anything? Means this element's already at the top, so bail.
- if ($p.length == 0)
- return;
-
- // Move element to top of parent.
- $e.prependTo($parent);
-
- // Mark element as moved.
- $e.data(key, $p);
-
- }
-
- // Moved already?
- else {
-
- // Condition is true? Bail.
- if (condition)
- return;
-
- $p = $e.data(key);
-
- // Move element back to its original location (using our placeholder).
- $e.insertAfter($p);
-
- // Unmark element as moved.
- $e.removeData(key);
-
- }
-
- });
-
- };
-
-})(jQuery);
\ No newline at end of file
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.eot b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.eot
deleted file mode 100644
index cba6c6c..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.eot and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.svg b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.svg
deleted file mode 100644
index b9881a4..0000000
--- a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.svg
+++ /dev/null
@@ -1,3717 +0,0 @@
-
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-brands-400.ttf b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.ttf
deleted file mode 100644
index 8d75ded..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.ttf and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.woff b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.woff
deleted file mode 100644
index 3375bef..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.woff and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.woff2 b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.woff2
deleted file mode 100644
index 402f81c..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-brands-400.woff2 and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.eot b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.eot
deleted file mode 100644
index a4e5989..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.eot and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.svg b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.svg
deleted file mode 100644
index 463af27..0000000
--- a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.svg
+++ /dev/null
@@ -1,801 +0,0 @@
-
-
-
-
-Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021
- By Robert Madole
-Copyright (c) Font Awesome
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.ttf b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.ttf
deleted file mode 100644
index 7157aaf..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.ttf and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.woff b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.woff
deleted file mode 100644
index ad077c6..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.woff and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.woff2 b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.woff2
deleted file mode 100644
index 5632894..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-regular-400.woff2 and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.eot b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.eot
deleted file mode 100644
index e994171..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.eot and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.svg b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.svg
deleted file mode 100644
index 00296e9..0000000
--- a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.svg
+++ /dev/null
@@ -1,5034 +0,0 @@
-
-
-
-
-Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021
- By Robert Madole
-Copyright (c) Font Awesome
-
-
-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solid-900.ttf b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.ttf
deleted file mode 100644
index 25abf38..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.ttf and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.woff b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.woff
deleted file mode 100644
index 23ee663..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.woff and /dev/null differ
diff --git a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.woff2 b/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.woff2
deleted file mode 100644
index 2217164..0000000
Binary files a/racial_covenants_processor/static/html5up-editorial/assets/webfonts/fa-solid-900.woff2 and /dev/null differ
diff --git a/racial_covenants_processor/templates/base.html b/racial_covenants_processor/templates/base.html
deleted file mode 100644
index c40f3fb..0000000
--- a/racial_covenants_processor/templates/base.html
+++ /dev/null
@@ -1,89 +0,0 @@
-{% load static %}
-
-
-
-
-
-
The Deed Machine - By Mapping Prejudice
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {% block content %}{% endblock %}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/footer.html b/racial_covenants_processor/templates/cotton/footer.html
new file mode 100644
index 0000000..3383468
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/footer.html
@@ -0,0 +1,5 @@
+{% load static %}
+
diff --git a/racial_covenants_processor/templates/cotton/header.html b/racial_covenants_processor/templates/cotton/header.html
new file mode 100644
index 0000000..853a226
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/header.html
@@ -0,0 +1,4 @@
+
+
+ by {{ organization }}
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/layouts/base.html b/racial_covenants_processor/templates/cotton/layouts/base.html
new file mode 100644
index 0000000..dfe175e
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/layouts/base.html
@@ -0,0 +1,22 @@
+{% load static %}
+
+
+
+
+
The Deed Machine - By Mapping Prejudice
+
+
+
+
+
+
+
+
+
+
+ {{ slot }}
+
+
+ {% comment %} {% endcomment %}
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/main.html b/racial_covenants_processor/templates/cotton/main.html
new file mode 100644
index 0000000..186e2f0
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/main.html
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/map.html b/racial_covenants_processor/templates/cotton/map.html
new file mode 100644
index 0000000..47bf320
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/map.html
@@ -0,0 +1,778 @@
+{% load static %}
+
+
+
+
+
+ {% if sidebar %}
+
+
+
Covenant data
+
TKTKTK
+
+
+
+
+
+ Selected Parcels ( )
+
+
+
+
+
+ Year Built:
+
+
+
+ Use:
+
+
+
+ Municipality:
+
+
+
+ School District:
+
+
+
+ Plat:
+
+
+
+ Lot/Block:
+
+
+
+
+
+
+
+
+
+
+
+ Year Built:
+
+
+
+ Use:
+
+
+
+ Municipality:
+
+
+
+ School District:
+
+
+
+ Plat:
+
+
+
+ Lot/Block:
+
+
+
+
+
+
+
+ Save covenant
+
+
+
+
+
Event Log
+
+
+
+
+
Feature Id:
+
Feature type:
+
+
+
+
+
+
+
+
+
Feature Id:
+
Feature type:
+
+
+
+
+
+
+
+
+
+ {% endif %}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/nav.html b/racial_covenants_processor/templates/cotton/nav.html
new file mode 100644
index 0000000..6706aab
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/nav.html
@@ -0,0 +1,21 @@
+{% load static %}
+
+
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/search/form.html b/racial_covenants_processor/templates/cotton/search/form.html
new file mode 100644
index 0000000..b8ad7d7
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/search/form.html
@@ -0,0 +1,28 @@
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/search/pagination.html b/racial_covenants_processor/templates/cotton/search/pagination.html
new file mode 100644
index 0000000..de65766
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/search/pagination.html
@@ -0,0 +1,16 @@
+
+
Results: Page {{ page_obj.number|intcomma }} of {{ page_obj.paginator.num_pages|intcomma }}
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/search/result.html b/racial_covenants_processor/templates/cotton/search/result.html
new file mode 100644
index 0000000..9f16268
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/search/result.html
@@ -0,0 +1,8 @@
+
+
+
{{ result.object.thumbnail_preview }}
+
{{ result.object.workflow }}
+
Full record:
+
{{ result.object.record_link }}
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/sidebar.html b/racial_covenants_processor/templates/cotton/sidebar.html
new file mode 100644
index 0000000..b9bdc69
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/sidebar.html
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/workflow/charts.html b/racial_covenants_processor/templates/cotton/workflow/charts.html
new file mode 100644
index 0000000..422cdd0
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/workflow/charts.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/racial_covenants_processor/templates/cotton/workflow/download_link.html b/racial_covenants_processor/templates/cotton/workflow/download_link.html
new file mode 100644
index 0000000..f8996e5
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/workflow/download_link.html
@@ -0,0 +1,7 @@
+{% load humanize %}
+
+
+ {{ export.created }}
+ {{ export.count|intcomma }} {{ export.label }}
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/cotton/workflow/table.html b/racial_covenants_processor/templates/cotton/workflow/table.html
new file mode 100644
index 0000000..adb56b9
--- /dev/null
+++ b/racial_covenants_processor/templates/cotton/workflow/table.html
@@ -0,0 +1,24 @@
+{% load humanize %}
+
+
+
+ Total retired subjects
+ {{subject_count|intcomma}}
+
+
+ Total subjects with covenants
+ {{covenants_count|intcomma}} (+{{covenants_maybe_count|intcomma}} TBD)
+
+
+ Total covenants mapped
+ {{mapped_count|intcomma}}
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/index.html b/racial_covenants_processor/templates/index.html
index b24d930..47a90ba 100644
--- a/racial_covenants_processor/templates/index.html
+++ b/racial_covenants_processor/templates/index.html
@@ -1,8 +1,8 @@
-{% extends 'base.html' %}
-
{% load humanize %}
-{% block content %}
+
+
+
The Deed Machine is a multi-language set of tools that use OCR and crowdsourced transcription to identify racially restrictive covenant language, then map the results.
The Deed Machine was created at Mapping Prejudice at the University of Minnesota Libraries. Current collaborators include Michael Corey, Suleman Diwan, Justin Schell, and the University of Minnesota Libraries IT staff.
@@ -10,5 +10,5 @@
{% for workflow in all_workflows %}
{{ workflow }}
{% endfor %}
-
-{% endblock %}
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/search/search.html b/racial_covenants_processor/templates/search/search.html
index b72ebeb..c60104e 100644
--- a/racial_covenants_processor/templates/search/search.html
+++ b/racial_covenants_processor/templates/search/search.html
@@ -1,10 +1,8 @@
-{% extends 'base.html' %}
{% load humanize %}
-{% block content %}
+
-
- DeedPage search
+
-
-
-
-
+
{% if page_obj.has_previous or page_obj.has_next %}
-
-
Results: Page {{ page_obj.number|intcomma }} of {{ page_obj.paginator.num_pages|intcomma }}
-
-
-
-
+
{% endif %}
{% if page_obj.has_previous or page_obj.has_next %}
-
-
+
{% endif %}
-
-{% endblock %}
\ No newline at end of file
+
\ No newline at end of file
diff --git a/racial_covenants_processor/templates/workflow_summary.html b/racial_covenants_processor/templates/workflow_summary.html
index 95a8384..9ed3afd 100644
--- a/racial_covenants_processor/templates/workflow_summary.html
+++ b/racial_covenants_processor/templates/workflow_summary.html
@@ -1,42 +1,28 @@
-{% extends 'base.html' %}
{% load humanize %}
-
-
-
- {% block content %}
-
-
-
-
- {{workflow.workflow_name}} summary
+
+
+
+ {{workflow.workflow_name}} summary
Last updated: {{last_update}}
+
+
+
+
Workflow current match status
-
-
- Total retired subjects
- {{subject_count|intcomma}}
-
-
- Total subjects with covenants
- {{covenants_count|intcomma}} (+{{covenants_maybe_count|intcomma}} TBD)
-
-
- Total covenants mapped
- {{mapped_count|intcomma}}
-
-
+
+
+
Admin links
@@ -47,49 +33,26 @@ Admin links
Parcels
-
Download in-progress shapefiles
- {% for shp in shp_exports %}
-
{{ shp.created_at }} {{ shp.covenant_count|intcomma }} mapped covenants
- {% endfor %}
-
-
Download in-progress geoJSONs
- {% for json in geojson_exports %}
-
{{ json.created_at }} {{ json.covenant_count|intcomma }} mapped covenants
- {% endfor %}
-
-
Download in-progress CSVs
- {% for csv in csv_exports %}
-
{{ csv.created_at }} {{ csv.covenant_count|intcomma }} mapped covenants
- {% endfor %}
-
-
Download all covenanted docs CSVs
- {% for csv in all_covenanted_docs %}
-
{{ csv.created_at }} {{ csv.doc_count|intcomma }} covenanted docs
- {% endfor %}
-
-
Download discharge CSVs
- {% for csv in all_discharge %}
-
{{ csv.created_at }} {{ csv.doc_count|intcomma }} covenanted docs
- {% endfor %}
-
-
Download unmapped CSVs
- {% for csv in unmapped_exports %}
-
{{ csv.created_at }} {{ csv.covenant_count|intcomma }} unmapped subjects
- {% endfor %}
-
-
Download validation CSVs
- {% for csv in validation_exports %}
-
{{ csv.created_at }} {{ csv.covenant_count|intcomma }} retired Zooniverse subjects
- {% endfor %}
-
-
Download past join reports
- {% for report in join_reports %}
-
{{ report.created_at }} {{ report.covenant_count|intcomma }} covenants
- {% endfor %}
-
-
Download OCR hit reports
- {% for csv in hit_reports %}
-
{{ csv.created_at }} {{ csv.num_hits|intcomma }} OCR hits
- {% endfor %}
-
-{% endblock %}
+ {% for section in export_sections %}
+ {% if section.exports %}
+
+
{{ section.title }}
+ {% for export in section.exports %}
+ {% if forloop.first %}
+
+ {% else %}
+ {% if forloop.counter == 2 %}
+
+ Show more exports
+ {% endif %}
+
+ {% if forloop.last %}
+
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+ {% endfor %}
+
+