Skip to content

Commit

Permalink
initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
aferditamuriqi committed Mar 6, 2019
1 parent b457e39 commit dc06892
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
Binary file added docs/en/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
155 changes: 155 additions & 0 deletions docs/en/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<!DOCTYPE html>
<html lang="en">
<head>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-134670474-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-134670474-1');
</script>

<title>Wildlife and Forest Crime: A field guide for frontline officers</title>
<meta charset="utf-8">
<link rel="manifest" href="manifest.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<link rel="stylesheet" href="https://aferditamuriqi.github.io/viewer/r2-reader.css" />
<script> var exports = {}; </script>
<script src="https://aferditamuriqi.github.io/viewer/r2-reader.js"></script>
<script src="https://aferditamuriqi.github.io/viewer/fetch.js"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://aferditamuriqi.github.io/viewer/material.css" />
<style>
#nav-mobile-left li a i {
color: #000000 !important;
}
.btn {
background-color: #90a4ae !important;
}
.settings-view > .settings-menu .settings-options > .reading-style > button.active {
background-color: #90a4ae !important;
}
.unodc-icon {
line-height: 48px;
margin: 17px 20px 0 0;
width: 36px;
content: url("icon.png");
}
</style>
</head>
<body>
<div class="content" id="root">
<header id="headerMenu">
<div class="navbar-fixed">
<nav class="navbar blue-grey lighten-2">
<div class="nav-wrapper"><span class="brand-logo hide-on-med-and-down "></span>
<ul id="nav-mobile-right" class="right">
<li><a data-target="notes-input" class="dropdown-trigger "><i class="material-icons ">speaker_notes</i></a></li>
<li><a class="saveBookmark" id="saveBookmark"><i class="material-icons ">bookmark</i></a></li>
<li><a data-target="user-settings" class="dropdown-trigger "><i class="material-icons ">settings</i></a></li>
</ul>
<ul id="nav-mobile-left" class="left">
<li><a href="#!" data-target="sidenav-left" class="sidenav-trigger left"><i class="material-icons show-on-large">menu</i></a></li>
</ul>
</div>
</nav>
</div>
<ul id="sidenav-left" class="sidenav blue-grey lighten-3">
<li><a href="#" class="logo-container ">Field Guide 3<img class="left unodc-icon" /><i class="material-icons right editAnnotations">unfold_more</i></a></li>
<li class="no-padding ">
<ul class="collapsible collapsible-accordion">
<li class="bold"><a class="collapsible-header ">Table of Contents<i class="material-icons chevron ">chevron_left</i></a>
<div class="contents-view collapsible-body active" style="background-color : #ffffff">
</div>
</li>
<li class="bold "><a class="collapsible-header ">Bookmarks <i class="material-icons chevron ">chevron_left</i></a>
<div class="bookmarks-view collapsible-body active" style="background-color : #ffffff">
</div>
</li>
<li class="bold "><a class="collapsible-header ">Notes<i class="material-icons chevron ">chevron_left</i></a>
<div class="notes-view collapsible-body active" style="background-color : #ffffff">
</div>
</li>
<li class="bold"><a class="collapsible-header ">Landmarks<i class="material-icons chevron ">chevron_left</i></a>
<div class="landmarks-view collapsible-body active" style="background-color : #ffffff">
</div>
</li>
<li class="bold"><a class="collapsible-header ">Page List<i class="material-icons chevron ">chevron_left</i></a>
<div class="pageList-view collapsible-body active" style="background-color : #ffffff">
</div>
</li>
</ul>
</li>
</ul>
<div id="user-settings" class="dropdown-content settings-view notifications">
</div>
<div id="notes-input" class="dropdown-content noteInputView notifications" >
<ul class="note-menu" role="menu">
<li>
<textarea style="height: 100px; width: 100%; resize: none;border-color: lightgray;" name="text" wrap="soft" class="note-input" name="note-input" placeholder="type your note here"></textarea><br>
<button id="saveNote" class="saveNote btn right">
<span>save note</span>
</button>
</li>
</ul>
</div>
</header>
<div id="R2Reader-Container" style="width: 100%; height: 100%;">
</div>
<footer id="footerMenu">
<div class="controls">
<ul class="links bottom active blue-grey lighten-3" style="height: auto !important;">
<li>
<a rel="prev" class="disabled" role="button" aria-labelledby="previous-label" style="color: initial;">
<i class="material-icons black-text">keyboard_arrow_left</i>
<span class="chapter-control" id="previous-label" style="position: relative; bottom: 5px;">Previous Chapter</span>
</a>
</li>
<li aria-label="chapters" style="position: relative; bottom: 5px;">Chapters</li>
<li>
<a rel="next" class="disabled" role="button" aria-labelledby="next-label" style="color: initial;">
<span class="chapter-control" id="next-label" style="position: relative; bottom: 5px;">Next Chapter</span>
<i class="material-icons black-text">keyboard_arrow_right</i>
</a>
</li>
</ul>
</div>
</footer>
</div>
<script>
var url = new URL("manifest.json", window.location.href);
var upLink = {url: new URL("https://fieldguides.github.io/guide03"), label: "Back", ariaLabel: "Go back"};
var serviceWorkerUrl = new URL("https://aferditamuriqi.github.io/viewer/sw.js", window.location.href);
R2Reader.load({
url: url,
customHeader: true,
customFooter: true,
eventTarget: null,
serviceWorkerUrl: serviceWorkerUrl,
upLinkUrl: upLink,
});
</script>
<script src="https://aferditamuriqi.github.io/viewer/materialize.min.js"></script>
<script src="https://aferditamuriqi.github.io/viewer/material.js"></script>
<noscript>
<style>
noscript {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}

.warning {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 1.5rem;
font-weight: bold;
}
</style>
<p class="warning">To use this viewer, please enable JavaScript.</p>
</noscript>
</body>
</html>
21 changes: 21 additions & 0 deletions docs/en/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"short_name": "Guide 7",
"name": "Smuggling of Fraudulent Medicines: A field guide for frontline officers",
"icons": [
{
"src": "https://fieldguides.github.io/guide07/icons/app-icon-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "https://fieldguides.github.io/guide07/icons/app-icon-512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "https://fieldguides.github.io/guide07/en/index.html",
"background_color": "#81C784",
"display": "standalone",
"theme_color": "#81C784",
"publication": "manifest.json"
}

0 comments on commit dc06892

Please sign in to comment.