Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
Should now be self-contained and run locally
Browse files Browse the repository at this point in the history
  • Loading branch information
jernst committed Mar 28, 2018
1 parent 5dc640b commit 1daf2a0
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 32 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "assets/reveal"]
path = assets/reveal
url = https://github.com/hakimel/reveal.js.git
10 changes: 9 additions & 1 deletion Makefile
Expand Up @@ -28,9 +28,17 @@ jekyll:
jekyll build -s jekyll -d $(STAGEDIR)

static:
[ -d "reveal/git" ] || echo "WARNING: revealjs github repo not present at ./reveal"
install -m644 images/logo2/ubos-16x16.ico $(STAGEDIR)/favicon.ico
[ -d "$(STAGEDIR)/files" ] || mkdir "$(STAGEDIR)/files"
[ -d "$(STAGEDIR)/files" ] || mkdir "$(STAGEDIR)/files"
[ -d "$(STAGEDIR)/slides" ] || mkdir "$(STAGEDIR)/slides"
[ -d "$(STAGEDIR)/assets" ] || mkdir "$(STAGEDIR)/assets"
[ -d "$(STAGEDIR)/assets/reveal" ] || mkdir "$(STAGEDIR)/assets/reveal"
install -m644 files/* $(STAGEDIR)/files/
cp -r slides/* $(STAGEDIR)/slides/
cp -r assets/fonts $(STAGEDIR)/assets/
cp -r assets/reveal/{css,js,lib,plugin} $(STAGEDIR)/assets/reveal/
install -m644 images/logo2/ubos-50x50.png $(STAGEDIR)/images/
echo 'RedirectMatch /survey https://www.surveymonkey.com/s/FVNSNYN' > $(STAGEDIR)/.htaccess
echo 'RedirectMatch /staff(.*)$$ https://ubos.net/docs/users/shepherd-staff.html' >> $(STAGEDIR)/.htaccess
mkdir -p $(STAGEDIR)/include
Expand Down
Binary file added assets/fonts/roboto-latin-ext.woff2
Binary file not shown.
Binary file added assets/fonts/roboto-latin.woff2
Binary file not shown.
18 changes: 18 additions & 0 deletions assets/fonts/roboto.css
@@ -0,0 +1,18 @@
/* cached here from Google for off-line presentations */

/* latin-ext */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
1 change: 1 addition & 0 deletions assets/reveal
Submodule reveal added at a2e69a
Expand Up @@ -6,8 +6,8 @@

<title>Let's Self-Host -- LinuxFest Northwest, 2018</title>

<link rel="stylesheet" href="https://revealjs.com/css/reveal.css">
<link rel="stylesheet" href="https://revealjs.com/lib/css/zenburn.css">
<link rel="stylesheet" href="/assets/reveal/css/reveal.css">
<link rel="stylesheet" href="/assets/reveal/lib/css/zenburn.css">

<link rel="stylesheet" href="structure.css">
<link rel="stylesheet" href="style.css">
Expand All @@ -28,7 +28,7 @@
<table>
<tr>
<td style="vertical-align: middle; padding: 0 5px">Topic: Let's self-host with:</td>
<td style="vertical-align: middle; padding: 0 5px"><img src="ubos-50x50.png" width="50" height="50"></td>
<td style="vertical-align: middle; padding: 0 5px"><img src="/images/ubos-50x50.png" width="50" height="50"></td>
</tr>
</table>
</div>
Expand All @@ -40,13 +40,13 @@ <h2>Installathon With UBOS</h2>
<tr>
<td style="vertical-align: middle">
<a href="https://nextcloud.com/" title="Nextcloud: A safe home for all your data">
<img class="appicon" src="../../stage/images/nextcloud-72x72.png" alt="[Nextcloud]" width="72" height="72">
<img class="appicon" src="/images/nextcloud-72x72.png" alt="[Nextcloud]" width="72" height="72">
</a>
<a href="https://mediawiki.org/" title="Mediawiki: the wiki that Wikipedia runs on">
<img class="appicon" src="../../stage/images/mediawiki-72x72.png" alt="[Mediawiki]" width="72" height="72">
<img class="appicon" src="/images/mediawiki-72x72.png" alt="[Mediawiki]" width="72" height="72">
</a>
<a href="https://wordpress.org/" title="Wordpress: blog tools, publishing platform, and CMS">
<img class="appicon" src="../../stage/images/wordpress-72x72.png" alt="[Wordpress]" width="72" height="72">
<img class="appicon" src="/images/wordpress-72x72.png" alt="[Wordpress]" width="72" height="72">
</a>
</td>
<td style="vertical-align: middle">
Expand All @@ -69,7 +69,7 @@ <h2>Installathon With UBOS</h2>
<section>
<div style="position: absolute; right: 20%; top: -50px">
<a href="https://nextcloud.com/" title="Nextcloud: A safe home for all your data">
<img class="appicon" src="../../stage/images/nextcloud-72x72.png" alt="[Nextcloud]" width="72px" height="72px" style="transform: rotate(10deg)">
<img class="appicon" src="/images/nextcloud-72x72.png" alt="[Nextcloud]" width="72px" height="72px" style="transform: rotate(10deg)">
</a>
</div>
<h2>Goal</h2>
Expand Down Expand Up @@ -123,7 +123,7 @@ <h2>Interlude 3/4:<br>
<section>
<div style="position: absolute; right: 5%; top: -50px">
<a href="https://ubos.net/" title="UBOS: Linux distro for self-hosting and the Indie IoT">
<img class="appicon" src="ubos-200x200.png" alt="[UBOS]" width="200" height="200" style="transform: rotate(10deg)">
<img class="appicon" src="/images/ubos-160x160.png" alt="[UBOS]" width="160" height="160" style="transform: rotate(10deg)">
</a>
</div>
<h2>Interlude 4/4:<br>
Expand Down Expand Up @@ -260,44 +260,44 @@ <h2 style="margin-bottom: .5em">What else can UBOS do for me?</h2>
</ul>
<div style="margin: 1.5em 0">
<a href="https://github.com/uboslinux/ubos-utilapps/" title="Docroot: static file hosting with SSH-based upload">
<img class="appicon" src="../../stage/images/docroot-72x72.png" alt="[Docroot]" width="72" height="72">
<img class="appicon" src="/images/docroot-72x72.png" alt="[Docroot]" width="72" height="72">
</a>
<a href="https://withknown.com/" title="Known: Indieweb publishing platform for everyone">
<img class="appicon" src="../../stage/images/known-72x72.png" alt="[Known]" width="72" height="72">
<img class="appicon" src="/images/known-72x72.png" alt="[Known]" width="72" height="72">
</a>
<a href="https://joinmastodon.org/" title="Mastodon: free, open-source, decentralized microblogging network">
<img class="appicon" src="../../stage/images/mastodon-72x72.png" alt="[Mastodon]" width="72" height="72">
<img class="appicon" src="/images/mastodon-72x72.png" alt="[Mastodon]" width="72" height="72">
</a>
<a href="https://about.mattermost.com/" title="Mattermost: open source, self-hosted Slack-alternative">
<img class="appicon" src="../../stage/images/mattermost-72x72.png" alt="[Mattermost]" width="72" height="72">
<img class="appicon" src="/images/mattermost-72x72.png" alt="[Mattermost]" width="72" height="72">
</a>
<a href="https://mediawiki.org/" title="Mediawiki: the wiki that Wikipedia runs on">
<img class="appicon" src="../../stage/images/mediawiki-72x72.png" alt="[Mediawiki]" width="72" height="72">
<img class="appicon" src="/images/mediawiki-72x72.png" alt="[Mediawiki]" width="72" height="72">
</a>
<a href="https://nextcloud.com/" title="Nextcloud: a safe home for all your data">
<img class="appicon" src="../../stage/images/nextcloud-72x72.png" alt="[Nextcloud]" width="72" height="72">
<img class="appicon" src="/images/nextcloud-72x72.png" alt="[Nextcloud]" width="72" height="72">
</a>
<a href="https://phpbb.com/" title="phpBB: bulletin-board">
<img class="appicon" src="../../stage/images/phpbb-72x72.png" alt="[phpBB]" width="72" height="72">
<img class="appicon" src="/images/phpbb-72x72.png" alt="[phpBB]" width="72" height="72">
</a>
<br>
<a href="https://github.com/ubos-utilapps/" title="Redirect: redirects to another site">
<img class="appicon" src="../../stage/images/redirect-72x72.png" alt="[Redirect]" width="72" height="72">
<img class="appicon" src="/images/redirect-72x72.png" alt="[Redirect]" width="72" height="72">
</a>
<a href="https://github.com/scripting/river5/" title="River5: a river-of-news RSS aggregator">
<img class="appicon" src="../../stage/images/river-72x72.png" alt="[River5]" width="72" height="72">
<img class="appicon" src="/images/river-72x72.png" alt="[River5]" width="72" height="72">
</a>
<a href="https://www.selfoss.aditu.de/" title="Selfoss: multipurpose rss reader, live stream, mashup, aggregation web application">
<img class="appicon" src="../../stage/images/selfoss-72x72.png" alt="[Selfoss]" width="72" height="72">
<img class="appicon" src="/images/selfoss-72x72.png" alt="[Selfoss]" width="72" height="72">
</a>
<a href="https://github.com/shaarli/Shaarli/" title="Shaarli: personal, minimalist, super-fast, bookmarking service">
<img class="appicon" src="../../stage/images/shaarli-72x72.png" alt="[Shaarli]" width="72" height="72">
<img class="appicon" src="/images/shaarli-72x72.png" alt="[Shaarli]" width="72" height="72">
</a>
<a href="https://webtrees.net/" title="Webtrees: full-featured web genealogy app">
<img class="appicon" src="../../stage/images/webtrees-72x72.png" alt="[Webtrees]" width="72" height="72">
<img class="appicon" src="/images/webtrees-72x72.png" alt="[Webtrees]" width="72" height="72">
</a>
<a href="https://wordpress.org/" title="Wordpress: blog tools, publishing platform, and CMS">
<img class="appicon" src="../../stage/images/wordpress-72x72.png" alt="[Wordpress]" width="72" height="72">
<img class="appicon" src="/images/wordpress-72x72.png" alt="[Wordpress]" width="72" height="72">
</a>
...
</div>
Expand All @@ -321,21 +321,21 @@ <h2>Next steps:</h2>
</div>
</div>

<script src="https://revealjs.com/lib/js/head.min.js"></script>
<script src="https://revealjs.com/js/reveal.js"></script>
<script src="/assets/reveal/lib/js/head.min.js"></script>
<script src="/assets/reveal/js/reveal.js"></script>

<script>
Reveal.initialize( {
dependencies: [
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'https://revealjs.com/plugin/notes/notes.js', async: true },
{ src: 'https://revealjs.com/plugin/highlight/highlight.js', async: true, callback: function() {
{ src: '/assets/reveal/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/assets/reveal/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/assets/reveal/plugin/notes/notes.js', async: true },
{ src: '/assets/reveal/plugin/highlight/highlight.js', async: true, callback: function() {
hljs.initHighlightingOnLoad(); }
},
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: '/assets/reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/assets/reveal/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/assets/reveal/plugin/zoom-js/zoom.js', async: true },
],
slideNumber: 'c/t'
} );
Expand Down
@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('/assets/fonts/roboto.css');

body {
background: #222;
Expand Down

0 comments on commit 1daf2a0

Please sign in to comment.