Skip to content

Commit

Permalink
Deployed 659c39b with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wragge committed Jul 18, 2024
1 parent f4fb9c3 commit 30bad8b
Show file tree
Hide file tree
Showing 10 changed files with 12,114 additions and 277 deletions.
Binary file added assets/images/social/glam-tools/datasette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions contributors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11716,15 +11716,15 @@ <h2 id="code-and-content">Code and content<a class="headerlink" href="#code-and-
<ul>
<li><a href="https://github.com/doylek1">Kim Doyle</a></li>
<li><a href="https://people.eng.unimelb.edu.au/mharrop/">Mitchell Harrop</a></li>
<li><a href="https://github.com/jnothman">Joel Nothman</a></li>
<li><a href="https://github.com/JakeBickUKGWA">Jake Bickford</a></li>
<li><a href="https://github.com/michaelniemann">Michael Niemann</a></li>
<li><a href="https://github.com/wragge">Tim Sherratt</a></li>
<li><a href="https://github.com/AshleyLTW">Ashley Wong</a></li>
<li><a href="https://github.com/harrykeightley">Harry Keightley</a></li>
<li><a href="https://github.com/jnothman">Joel Nothman</a></li>
<li><a href="https://github.com/anjackson">Andy Jackson</a></li>
<li><a href="https://github.com/AshleyLTW">Ashley Wong</a></li>
<li><a href="https://github.com/benfoley">Ben Foley</a></li>
<li><a href="https://github.com/wragge">Tim Sherratt</a></li>
<li><a href="https://github.com/JakeBickUKGWA">Jake Bickford</a></li>
<li><a href="https://github.com/k-woitas">k-woitas</a></li>
<li><a href="https://github.com/harrykeightley">Harry Keightley</a></li>
</ul>

<!-- Was this page helpful? -->
Expand Down
11,795 changes: 11,795 additions & 0 deletions glam-tools/datasette/index.html

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions scripts/datasette-script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
let clear = document.getElementById('clear-all');
clear.addEventListener('click', function() {
document.getElementById("datasette-url").innerHTML = "";
document.getElementById("github-url").value = "";
document.getElementById("about-url").value = "";
document.getElementById("fts-cols").value = "";
document.getElementById("drop-cols").value = "";
});

let button = document.getElementById('create-url');
button.addEventListener('click', function() {
let gh_url = document.getElementById("github-url").value;
let fts_cols = document.getElementById("fts-cols").value;
let drop_cols = document.getElementById("drop-cols").value;
let about_url = document.getElementById("about-url").value;
let url_div = document.getElementById("datasette-url")
url_div.innerHTML = "";
if (gh_url) {
let url = "https://glam-workbench.net/datasette-lite/?csv=" + encodeURIComponent(gh_url) + "&install=datasette-homepage-table";
if (fts_cols) {
url += "&fts=" + encodeURIComponent(fts_cols);
}
if (drop_cols) {
url += "&drop=" + encodeURIComponent(drop_cols);
}
if (about_url) {
url += "&about=" + encodeURIComponent(about_url);
}
let link = document.createElement("a");
link.textContent = url;
link.href = url;
link.target = "_blank";
url_div.innerHTML = "Click or copy this url: "
url_div.appendChild(link);
};

});
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit 30bad8b

Please sign in to comment.