Skip to content

Commit

Permalink
Re-build website
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Sep 4, 2023
1 parent b63e2ab commit 02aaf25
Show file tree
Hide file tree
Showing 20 changed files with 181 additions and 490 deletions.
127 changes: 46 additions & 81 deletions data/clinical_trials_clean.csv

Large diffs are not rendered by default.

Binary file modified data/contact.rds
Binary file not shown.
Binary file modified data/data_dt.rds
Binary file not shown.
Binary file modified data/location.rds
Binary file not shown.
Binary file modified data/study_info.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ <h1>About this Website</h1>

<div class="d-article">
<p>This website was built primarily using data from the <a href="https://clinicaltrials.gov/"><em>clinicaltrials.gov</em></a> API to identify studies that included a keyword or condition listing of Aphasia (excluding primary progressive aphasia and other dementias.)</p>
<p>It was last updated on August 28 2023</p>
<p>It was last updated on September 04 2023</p>
<p>To add your study to this website, <a href="https://clinicaltrials.gov/ct2/manage-recs">submit the study</a> to <em>clinicaltrials.gov</em>. This has <a href="https://clinicaltrials.gov/ct2/manage-recs/background">a number of benefits for the research community and general public</a>. While submission to <em>clinicaltrials.gov</em> is required for funded clinical trials in the US, voluntary submission is also permitted for other studies.</p>
<p>If submitting your study to clinicaltrials.gov is not feasible or is overly burdensome, you can add an IRB-approved flyer to the website by <a href="https://github.com/rbcavanaugh/find-aphasia-research/issues">submitting an issue on github.com</a>. Note that you will will need to create a github account. This is free and helps me keep track of submissions.</p>
<p>If you notice an error on the website, please <a href="https://robcavanaugh.com">contact me</a> or <a href="https://github.com/rbcavanaugh/find-aphasia-research/issues">file an issue here</a>.</p>
Expand Down
127 changes: 46 additions & 81 deletions docs/data/clinical_trials_clean.csv

Large diffs are not rendered by default.

Binary file modified docs/data/contact.rds
Binary file not shown.
Binary file modified docs/data/data_dt.rds
Binary file not shown.
Binary file modified docs/data/location.rds
Binary file not shown.
Binary file modified docs/data/study_info.rds
Binary file not shown.
346 changes: 54 additions & 292 deletions docs/list_view.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/recent.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -2283,7 +2283,7 @@
<script src="site_libs/header-attrs-2.24/header-attrs.js"></script>
<script src="site_libs/htmlwidgets-1.6.2/htmlwidgets.js"></script>
<link href="site_libs/datatables-css-0.0.0/datatables-crosstalk.css" rel="stylesheet" />
<script src="site_libs/datatables-binding-0.28/datatables.js"></script>
<script src="site_libs/datatables-binding-0.29/datatables.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="site_libs/dt-core-1.13.4/css/jquery.dataTables.min.css" rel="stylesheet" />
<link href="site_libs/dt-core-1.13.4/css/jquery.dataTables.extra.css" rel="stylesheet" />
Expand Down Expand Up @@ -2373,8 +2373,8 @@ <h1>Online research studies</h1>

</div>
<div class="layout-chunk" data-layout="l-body-outset">
<div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-cc6d4dbeade6a9cbd6f7" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-cc6d4dbeade6a9cbd6f7">{"x":{"filter":"none","vertical":false,"data":[["Indiana University Bloomington","Indiana University Bloomington","University of Nevada Reno","Georgia State University"],["<a href=list_view.html#manual2>Characterizing inner speech in aphasia<\/a>","<a href=list_view.html#manual3>Inner speech as a naming therapy predictor in aphasia<\/a>","<a href=list_view.html#manual4>Measuring and understanding the experience of post-traumatic growth in aphasia<\/a>","<a href=list_view.html#manual5>Reading in Aphasia<\/a>"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>Institution<\/th>\n <th>Name<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"scrollX":true,"pageLength":5,"columnDefs":[],"order":[],"autoWidth":false,"orderClasses":false,"lengthMenu":[5,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
<div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-a8c59da2f0ee68eca73a" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-a8c59da2f0ee68eca73a">{"x":{"filter":"none","vertical":false,"data":[["Indiana University Bloomington","Indiana University Bloomington","University of Nevada Reno","Georgia State University"],["<a href=list_view.html#manual2>Characterizing inner speech in aphasia<\/a>","<a href=list_view.html#manual3>Inner speech as a naming therapy predictor in aphasia<\/a>","<a href=list_view.html#manual4>Measuring and understanding the experience of post-traumatic growth in aphasia<\/a>","<a href=list_view.html#manual5>Reading in Aphasia<\/a>"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>Institution<\/th>\n <th>Name<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"scrollX":true,"pageLength":5,"columnDefs":[],"order":[],"autoWidth":false,"orderClasses":false,"lengthMenu":[5,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
</div>
<div class="sourceCode" id="cb1"><pre class="sourceCode r distill-force-highlighting-css"><code class="sourceCode r"></code></pre></div>
<!--radix_placeholder_article_footer-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// some helper functions: using a global object DTWidget so that it can be used
// in JS() code, e.g. datatable(options = list(foo = JS('code'))); unlike R's
// dynamic scoping, when 'code' is eval()'ed, JavaScript does not know objects
// dynamic scoping, when 'code' is eval'ed, JavaScript does not know objects
// from the "parent frame", e.g. JS('DTWidget') will not work unless it was made
// a global object
var DTWidget = {};
Expand Down
5 changes: 0 additions & 5 deletions docs/site_libs/jquery-1.12.4/jquery.min.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -593,23 +593,27 @@ function preventUnintendedZoomOnScroll(map) {
});
(0, _jquery2["default"])(document).on("mousemove", "*", function (e) {
// Did the mouse really move?
if (lastScreen.x !== null && e.screenX !== lastScreen.x || e.screenY !== lastScreen.y) {
// It really moved. Enable zooming.
if (map.options.scrollWheelZoom) {
if (lastScreen.x !== null && e.screenX !== lastScreen.x || e.screenY !== lastScreen.y) {
// It really moved. Enable zooming.
map.scrollWheelZoom.enable();
lastScreen = {
x: null,
y: null
};
}
}
});
(0, _jquery2["default"])(document).on("mousedown", ".leaflet", function (e) {
// Clicking always enables zooming.
if (map.options.scrollWheelZoom) {
map.scrollWheelZoom.enable();
lastScreen = {
x: null,
y: null
};
}
});
(0, _jquery2["default"])(document).on("mousedown", ".leaflet", function (e) {
// Clicking always enables zooming.
map.scrollWheelZoom.enable();
lastScreen = {
x: null,
y: null
};
});
}

_htmlwidgets2["default"].widget({
Expand Down
10 changes: 5 additions & 5 deletions docs/site_libs/leafletfix-1.0.0/leafletfix.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ img.leaflet-tile {
border-radius: 0;
border: none;
}
.info {
.leaflet .info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.legend {
.leaflet .legend {
line-height: 18px;
color: #555;
}
.legend svg text {
.leaflet .legend svg text {
fill: #555;
}
.legend svg line {
.leaflet .legend svg line {
stroke: #555;
}
.legend i {
.leaflet .legend i {
width: 18px;
height: 18px;
margin-right: 4px;
Expand Down
Loading

0 comments on commit 02aaf25

Please sign in to comment.