Skip to content

Commit

Permalink
v2.06
Browse files Browse the repository at this point in the history
-Added all Bible books
-New theme, mobile friendly
  • Loading branch information
micheldejoode authored Mar 20, 2018
1 parent 4900a07 commit b3099fa
Show file tree
Hide file tree
Showing 3 changed files with 372 additions and 75 deletions.
219 changes: 146 additions & 73 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,73 +1,146 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<title>The Bible, Decentralised.</title>
</head>
<body>
<div class="container">
<div class="row">
<div style="padding-bottom: 50px;" class="col-sm">
<h1>The Bible, decentralised.</h1>
<p id="status"></p>
</div>
</div>

<div class="row">
<div class="col-4">
<h3>Bible Books</h3>
<h6>Old Testament</h6>
<a id="Genesis" class="Books" href="#">Genesis</a><br>
<a id="Exodus" class="Books" href="#">Exodus</a><br>
<a id="Leviticus" class="Books" href="#">Leviticus</a><br>
<a id="Numbers" class="Books" href="#">Numbers</a><br>
<a id="Deuteronomy" class="Books" href="#">Deuteronomy</a><br>
<a id="Joshua" class="Books" href="#">Joshua</a><br>
<a id="Judges" class="Books" href="#">Judges</a><br>
<a id="Ruth" class="Books" href="#">Ruth</a><br>
<a id="1 Samuel" class="Books" href="#">1 Samuel</a><br>
<a id="2 Samuel" class="Books" href="#">2 Samuel</a><br>
<a id="1 Kings" class="Books" href="#">1 Kings</a><br>
<a id="2 Kings" class="Books" href="#">2 Kings</a><br>
<br>
<h6>New Testament</h6>
<a id="Matthew" class="Books" href="#">Matthew</a><br>
<a id="Mark" class="Books" href="#">Mark</a><br>
<a id="Luke" class="Books" href="#">Luke</a><br>
<a id="John" class="Books" href="#">John</a><br>
<a id="Acts" class="Books" href="#">Acts</a><br>
<a id="Romans" class="Books" href="#">Romans</a><br>
<a id="1 Corinthians" class="Books" href="#">1 Corinthians</a><br>
<a id="2 Corinthians" class="Books" href="#">2 Corinthians</a><br>
<a id="Galatians" class="Books" href="#">Galatians</a><br>
<a id="Ephesians" class="Books" href="#">Ephesians</a><br>
<a id="Philippians" class="Books" href="#">Philippians</a><br>
<a id="Colossians" class="Books" href="#">Colossians</a><br>
<a id="1 John" class="Books" href="#">1 John</a><br>
<br>
<p>More books will be added</p>

</div>
<div class="col-8">

<p id="chapters"></p>
<p id="output"></p>
<br><br><br>v2.03 - using ipfs.infura.io gateway or local IPFS node if available - More info: <a target="_blank" href="https://github.com/micheldejoode/The-Bible-Decentralised">Github</a><br><br>
</div>
</div>


</div>

<script src="./js/ipfs-mini.js"></script>

<script src="./js/getData.js"></script>
<script src="./js/BookList.js"></script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>The Bible, Decentralised</title>

<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Our Custom CSS -->
<link rel="stylesheet" href="./js/style2.css">
<!-- Scrollbar Custom CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.min.css">

</head>
<body>



<div class="wrapper">
<!-- Sidebar Holder -->
<nav id="sidebar">
<div class="sidebar-header">
<h3>The Bible, Decentralised</h3>
<h5>King James Version</h5>
</div>


<div id="extra" style="padding-left:20px;">
<h4>Old Testament</h4>
<a id="Genesis" class="Books" href="#">Genesis</a><br>
<a id="Exodus" class="Books" href="#">Exodus</a><br>
<a id="Leviticus" class="Books" href="#">Leviticus</a><br>
<a id="Numbers" class="Books" href="#">Numbers</a><br>
<a id="Deuteronomy" class="Books" href="#">Deuteronomy</a><br>
<a id="Joshua" class="Books" href="#">Joshua</a><br>
<a id="Judges" class="Books" href="#">Judges</a><br>
<a id="Ruth" class="Books" href="#">Ruth</a><br>
<a id="1 Samuel" class="Books" href="#">1 Samuel</a><br>
<a id="2 Samuel" class="Books" href="#">2 Samuel</a><br>
<a id="1 Kings" class="Books" href="#">1 Kings</a><br>
<a id="2 Kings" class="Books" href="#">2 Kings</a><br>
<a id="1 Chronicles" class="Books" href="#">1 Chronicles</a><br>
<a id="2 Chronicles" class="Books" href="#">2 Chronicles</a><br>
<a id="Ezra" class="Books" href="#">Ezra</a><br>
<a id="Nehemia" class="Books" href="#">Nehemia</a><br>
<a id="Esther" class="Books" href="#">Esther</a><br>
<a id="Job" class="Books" href="#">Job</a><br>
<a id="Psalms" class="Books" href="#">Psalms</a><br>
<a id="Proverbs" class="Books" href="#">Proverbs</a><br>
<a id="Ecclesiastes" class="Books" href="#">Ecclesiastes</a><br>
<a id="Song of Songs" class="Books" href="#">Song of Songs</a><br>
<a id="Isaiah" class="Books" href="#">Isaiah</a><br>
<a id="Jeremiah" class="Books" href="#">Jeremiah</a><br>
<a id="Lamentations" class="Books" href="#">Lamentations</a><br>
<a id="Ezekiel" class="Books" href="#">Ezekiel</a><br>
<a id="Daniel" class="Books" href="#">Daniel</a><br>
<a id="Hosea" class="Books" href="#">Hosea</a><br>
<a id="Joel" class="Books" href="#">Joel</a><br>
<a id="Amos" class="Books" href="#">Amos</a><br>
<a id="Obadiah" class="Books" href="#">Obadiah</a><br>
<a id="Jonah" class="Books" href="#">Jonah</a><br>
<a id="Micah" class="Books" href="#">Micah</a><br>
<a id="Nahum" class="Books" href="#">Nahum</a><br>
<a id="Habakkuk" class="Books" href="#">Habakkuk</a><br>
<a id="Zephaniah" class="Books" href="#">Zephania</a><br>
<a id="Haggai" class="Books" href="#">Haggai</a><br>
<a id="Zechariah" class="Books" href="#">Zechariah</a><br>
<a id="Malachi" class="Books" href="#">Malachi</a><br>
<br>
<h4>New Testament</h4>
<a id="Matthew" class="Books" href="#">Matthew</a><br>
<a id="Mark" class="Books" href="#">Mark</a><br>
<a id="Luke" class="Books" href="#">Luke</a><br>
<a id="John" class="Books" href="#">John</a><br>
<a id="Acts" class="Books" href="#">Acts</a><br>
<a id="Romans" class="Books" href="#">Romans</a><br>
<a id="1 Corinthians" class="Books" href="#">1 Corinthians</a><br>
<a id="2 Corinthians" class="Books" href="#">2 Corinthians</a><br>
<a id="Galatians" class="Books" href="#">Galatians</a><br>
<a id="Ephesians" class="Books" href="#">Ephesians</a><br>
<a id="Philippians" class="Books" href="#">Philippians</a><br>
<a id="Colossians" class="Books" href="#">Colossians</a><br>
<a id="1 Thessalonians" class="Books" href="#">1 Thessalonians</a><br>
<a id="2 Thessalonians" class="Books" href="#">2 Thessalonians</a><br>
<a id="1 Timothy" class="Books" href="#">1 Timothy</a><br>
<a id="2 Timothy" class="Books" href="#">2 Timothy</a><br>
<a id="Titus" class="Books" href="#">Titus</a><br>
<a id="Philemon" class="Books" href="#">Philemon</a><br>
<a id="Hebrews" class="Books" href="#">Hebrews</a><br>
<a id="1 Peter" class="Books" href="#">1 Peter</a><br>
<a id="2 Peter" class="Books" href="#">2 Peter</a><br>
<a id="1 John" class="Books" href="#">1 John</a><br>
<a id="2 John" class="Books" href="#">2 John</a><br>
<a id="3 John" class="Books" href="#">3 John</a><br>
<a id="Jude" class="Books" href="#">Jude</a><br>
<a id="Revelations" class="Books" href="#">Revelations</a><br>
<br>
<br>
</div>
</nav>

<!-- Page Content Holder -->
<div id="content">
<button type="button" id="sidebarCollapse" class="btn btn-info navbar-btn">
<i class="glyphicon glyphicon-menu-hamburger"></i>

</button>
<p id="chapters" style="a {color:#337ab7;}"></p>
<p id="output"></p>
<br><br><br>v2.06 - using ipfs.infura.io gateway or local IPFS node if available - More info: <a target="_blank" href="https://github.com/micheldejoode/The-Bible-Decentralised">Github</a><br><br>
</div>
</div>





<!-- jQuery CDN -->
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<!-- Bootstrap Js CDN -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- jQuery Custom Scroller CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.concat.min.js"></script>

<script type="text/javascript">
$(document).ready(function () {
$("#sidebar").mCustomScrollbar({
theme: "minimal"
});

$('#sidebarCollapse').on('click', function () {
$('#sidebar, #content').toggleClass('active');
$('.collapse.in').toggleClass('in');
$('a[aria-expanded=true]').attr('aria-expanded', 'false');
});
});
</script>
<script src="./js/ipfs-mini.js"></script>

<script src="./js/getData.js"></script>
<script src="./js/BookList.js"></script>
</body>
</html>
47 changes: 45 additions & 2 deletions js/BookList.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,33 @@ var list = {
"2 Samuel":"QmQbXxvJPM494MdveSLCbfzVVaaLMZmsGi89eVKXqqaEFz",
"1 Kings":"QmXBTLqg8HADnBkz32uGe81isYHuaR6BDK2jB2fABe6fhg",
"2 Kings":"QmeeXx8qfjxUmLvSQYDUafGE6X4mdi2dW2QcYctFYwC9XG",
"1 Chronicles":"QmR5A98A7YLguVvJcjwCQJTG2XS1DmExt9iDZUpimXXcDs",
"2 Chronicles":"QmcakgLpaDsVdRsgAyiF6Y9Fxtb9gjz3e3PmzDj6ZvBGtQ",
"Ezra":"QmWG8KxH8kQpK4VUQf5eBEq6sBhpT6Ad6br6toWdJUNmCu",
"Nehemia":"Qmcqta8P8B49cvx5RMuSJvJZcKNabyDbLkDySyr3f2c4wQ",
"Esther":"QmRFcPRduQPBiLzKAgQZZwM3paaKWVHdxHPwTx26KU8wPr",
"Job":"QmPnSPquC5jfiWQXSUKnVeZn72csLqWhronWb5nk7p68nH",
"Psalms":"QmXLFC7YNJTfDH9LNKeVDo9QnqPb2HSsNSZZVTXuR7ZqCv",
"Proverbs":"QmQoPGcr7618hfmZk2KhTeTmoXSdn1YyLDEXezAE2pdNSp",
"Ecclesiastes":"QmeP58iKY23GfG78tXuFCXbZTY2ErZSyGpw6VGcqvVjDPb",
"Song of Songs":"QmZqwpxCjb5AJS2bgcWDqYHR7TD9weSmksky3k8UyKtNkE",
"Isaiah":"Qmdx5Az27fyqsSTrFhape7dng38bswUroYPznPpnwLtcnZ",
"Jeremiah":"QmZYxgq2tYdR689yRhPjuLJuZszwANx8Bwnw62KoyFpN7N",
"Lamentations":"QmbVfTjsXbCuRcsso8ZBEYbStsoD2YPPL9sw3sPyF3GrxK",
"Ezekiel":"QmYBMgiz32mcZuo8RduPg5Wo6sNkJtGaJaU5ngRPReYDTf",
"Daniel":"QmfSwW4qg7dbGQoUdzVUMELPDj9xMBiSRrW2z1UMCBoof8",
"Hosea":"QmbiEyopyGD2mZ62vgUBTpCKicytNYBbReACu6ZYth9nBM",
"Joel":"QmUntsTZZaNgrSpenD81mnC1yPenQNer3TEfcSd719rPSL",
"Amos":"QmVR6LNvxXbiSt3qBgqRgXhiXtY1XzHKqKfFKKYeue47zY",
"Obadiah":"QmW5hv5Nc7nhCvLdVdEG9f8yFuZyqY4Y32GcEzTK3rcXHW",
"Jonah":"QmaWUpiWvnEapfw5TMUsVXWoGG7FzQVUHRW9BuUupWFWU1",
"Micah":"QmVViKPL1HMgbuCqporz1ryfqhEauvL2gcjbrr19wD1BxL",
"Nahum":"QmZLEzB2VUEvQA2k68svodyxfEX7ZRHRqFUUFhyY9XxvXv",
"Habakkuk":"QmPiWx4jAUP1BRP12Bjk76aSa3cUhymMBUQbkSdofeSrhV",
"Zephaniah":"QmQhxGqusgQ1rWf9nFxRHi5nCjNz4UrxQRcyvRh4a5qAC4",
"Haggai":"QmRrpSZUBuxyXZWd7i5omhB2cyeVEWi7sthn4WAGoJWEfN",
"Zechariah":"Qmas6mAGBmejgPutspGGyjuXFqgmuLpXURDYu95kWUPZcg",
"Malachi":"QmRYgng4EH8GWhNkSvEZK2CT98uSF31nPdqbM3mWqX6iC4",
Matthew:"QmW56MEx7QhGzfA9QkSdQw64kNPygs3x4hpLxtcwp6EpvU",
Mark:"QmXnHCA3gmPvMdSArnR9iCxMFjhwejeB1iQi3k5aom1ijr",
Luke:"QmZNSJt6uJkvdGQEVDH8K62qoMgTwurDaBFJRJ1KtJ7PoT",
Expand All @@ -23,5 +50,21 @@ var list = {
Ephesians:"Qmf79fuLnnYkcyxke5vwm8bnwH2f1Un3PHdLrNTYWxWs7x",
Philippians:"QmR6wWKfrhgePdfQvZCroP3kvkaV5ZCX89aZFTPsXFm4kw",
Colossians:"QmSXU8Px8msMzCBu8djstQwJ31hdnZPb6Wkmg3urs5Xg1p",
"1 John":"QmPWM2CJ9RS7BBs9ccqX4K11xGnoSk5nKM5GNmQ3kVW1AM"
};
"1 Thessalonians":"QmbyjNUX4ihZzzpfSGYwL2nMNchDL3usGm27boobyj1ZpX",
"2 Thessalonians":"QmVFuktpA3wkLrrH3ZL5XTvVJZSZQMMKsADXyUvp8yKtJb",
"1 Timothy":"QmaCRGniou4VX4VjmF56xs1g36KN1sFb3LrWUYbxqjEGV5",
"2 Timothy":"QmddxY2PwXgk6nCS3jFF7Vw9EjXrD63NMq7QTw58m29YWV",
Titus:"QmYFyxGmYu5sseZMtEL67qCatgMhAZhA9G7f41uviqB5pW",
Philemon:"QmTZE26n9HTXun6nHa3Erok4bPrRPUyU1QZdd7HSXk6bbp",
Hebrews:"Qmd6GZE4n4ViHqiZL6p1L9U4auRt9CtwTDy5swfzJWx8SQ",
"1 Peter":"QmXaJXUWzv6FF29w3aUBPMdEYhv3oZUzQmct1rfhjG9BRX",
"2 Peter":"QmdZztKdKy5i44PWSwoutnKKwXYm8kNZeCLUt2PrbrE3Vm",
"1 John":"QmPWM2CJ9RS7BBs9ccqX4K11xGnoSk5nKM5GNmQ3kVW1AM",
"2 John":"QmfLu7oMj1DQMocLwqFkCBM2N4aF5JJv1eExxfZrpEAn9W",
"3 John":"QmbvzsTBfXxKERy8gZMutH7P4aGii5vT5Qz53DF92XE1WR",
Jude:"QmNeKQ9sL3WnbtvxkSdL5DjNwoHTgsiUHpRzSdCj3DoxAr",
Revelations:"QmWNyHqJXTzeGbPNCspZ51jwvCnJVhp2R3CsTb8syVVCzQ"
};



Loading

0 comments on commit b3099fa

Please sign in to comment.