2023-09-03 03:53:13 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Scripture Viewer</title>
|
|
|
|
<link rel="stylesheet" href="./bulma.min.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section class="hero is-primary">
|
|
|
|
<div class="hero-body">
|
|
|
|
<p class="title">
|
|
|
|
Scripture Viewer
|
|
|
|
</p>
|
|
|
|
<p class="subtitle">
|
|
|
|
Read The Bible in browser
|
2023-11-11 15:20:14 +00:00
|
|
|
<br>
|
|
|
|
<a class="button" href="./printable">Printable</a>
|
2023-09-03 03:53:13 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<article class="tile is-child notification is-primary">
|
|
|
|
<p class="title">Scriptures</p>
|
|
|
|
<p class="subtitle">List Of Scriptures</p>
|
|
|
|
<div class="content" id="scriptures">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
<script defer>
|
|
|
|
const scriptures=document.getElementById('scriptures');
|
|
|
|
fetch('./api/v1/GetBibles').then(e=>e.json()).then(e=>{
|
|
|
|
e.forEach(element => {
|
|
|
|
var b = document.createElement('a');
|
|
|
|
b.href = `./bible?bible=${encodeURIComponent(element)}`;
|
|
|
|
b.innerText = element;
|
|
|
|
|
|
|
|
|
|
|
|
scriptures.appendChild(b);
|
|
|
|
scriptures.appendChild(document.createElement('br'))
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|