-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsideModalTest.html
More file actions
168 lines (155 loc) · 8.5 KB
/
Copy pathsideModalTest.html
File metadata and controls
168 lines (155 loc) · 8.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="css\popup.css">
<link rel="stylesheet" href="css\style.css">
<link rel="stylesheet" href="css\sideModal.css">
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<style type="text/css">
body{
font-size: 20px;
font-family: "Times New Roman", Georgia, Serif;
}
/*
.popup:hover{
background: #D1D1D1;
border-radius: 2px;
}
.chunk{
display:inline-block;
word-wrap: break-word;
word-wrap: normal;
}
.punctuation{
display:inline-block;
}
.verse{
padding-bottom: 15px;
}
.not-button{
padding: 0;
border: none;
background: none;
}
.chapter{
padding-bottom: 10px;
}*/
</style>
</head>
<body>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item dropdown">
<button class="btn dropdown-toggle" type="button" data-toggle="dropdown">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Hamburger_icon.svg/220px-Hamburger_icon.svg.png" width= '15 px'>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="login.html" >Login</a></li>
<li><a href="settings.html">Settings</a></li>
<li><a href="index.html">Main</a></li>
</ul>
</li>
<li class="breadcrumb-item active" aria-current="page"><a href="#" data-toggle="modal" data-target="#sideModalLeftBook">First Nephi</a></li>
<li class="breadcrumb-item active" aria-current="page"><a href="#" data-toggle="modal" data-target="#sideModalLeftChapter">Chapter 1</a></li>
</ol>
</nav>
<div id="platform-canvas-content" role="main">
<div id="BookOfMormon">
<!--Side Modal-->
<!-- Book Left Modal -->
<div class="modal left fade" id="sideModalLeftBook" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Book</h4>
</div>
<div class="modal-body">
<button v-for="book in books" class= "not-button col-sm-6 col-md-6 col-lg-6 text-center" v-on:click="Active_Chapter = book" ><a href="#" data-toggle="modal" data-target="#sideModalLeftChapter">{{ book }}</a>
</button>
</div>
</div><!-- modal-content -->
</div><!-- modal-dialog -->
</div><!-- modal -->
<!--Left Chapter from Book-->
<div class="modal left fade" id="sideModalLeftChapter" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel2">Chapter Select</h4>
</div>
<div class="modal-body">
<div v-for='chapter in BOM[Active_Chapter]' class= "chapter not-button col-sm-6 col-md-6 col-lg-6 text-center"> {{chapter}}</div>
</div>
</div><!-- modal-content -->
</div><!-- modal-dialog -->
</div><!-- modal -->
</div><!--BOM object-->
<div class="container">
<!--Book Title and Introduction-->
<div class="row">
<div class="col-xs-10 col-sm-10 col-md-10" style="text-align: center;">
<h1>The First Book of Nephi</h1>
<p class="subtitle" data-aid="128342696" id="subtitle1">His Reign and Ministry</p>
</div>
<div class="col-xs-2 col-sm-2 col-md-2"></div>
<div class="col-xs-10 col-sm-10 col-md-10" style="text-align: justify;">
<p class="intro" data-aid="128342697" id="intro1">An account of Lehi and his wife Sariah, and his four sons, being called, (beginning at the eldest) Laman, Lemuel, Sam, and Nephi. The Lord warns Lehi to depart out of the land of Jerusalem, because he prophesieth unto the people concerning their iniquity and they seek to destroy his life. He taketh three days' journey into the wilderness with his family. Nephi taketh his brethren and returneth to the land of Jerusalem after the record of the Jews. The account of their sufferings. They take the daughters of Ishmael to wife. They take their families and depart into the wilderness. Their sufferings and afflictions in the wilderness. The course of their travels. They come to the large waters. Nephi's brethren rebel against him. He confoundeth them, and buildeth a ship. They call the name of the place Bountiful. They cross the large waters into the promised land, and so forth. This is according to the account of Nephi; or in other words, I, Nephi, wrote this record.</p>
</div>
<div class="col-xs-2 col-sm-2 col-md-2"></div>
</div>
<!--Chapter and summary-->
<div class="row">
<div class="col-xs-10 col-sm-10 col-md-10 wrap">
<h2 class="title-number" data-aid="128342698" id="title_number1">Chapter 1</h2>
</div>
<div class="col-xs-2 col-sm-2 col-md-2"></div>
</div>
<div class="row">
<div class="col-xs-10 col-sm-10 col-md-10 wrap">
<p id="study_summary1">Nephi begins the record of his people-Lehi sees in vision a pillar of fire and reads from a book of prophecy- He praises God, foretells the coming of the Messiah, and prophesies the destruction of Jerusalem- He is persecuted by the Jews. About 600 <small>B.C.</small></p>
</div>
<div class="col-xs-2 col-sm-2 col-md-2"></div>
</div>
<!--Verses-->
<div class="row">
<div class="col-xs-10 col-sm-10 col-md-10 wrap">
<div onclick="popupVue()" id="chapter" >
<div v-for=" verseItem in verses" class="verse">
<span><b>{{ verseItem }} </b></span>
<span v-for="item in json.chunks">
<span v-if="item.verse == verseItem && item.punctuation==false" class="popup chunk" v-bind:id= "item.natural_position">
{{ item.text }}
</span>
<span v-else-if="item.verse == verseItem && item.punctuation==true" class="punctuation">
{{ item.text }}
</span>
</span>
</div>
</div>
</div>
<div class="col-xs-2 col-sm-2 col-md-2" id="vs19side"></div>
</div>
</div>
<div id='demo'></div>
</div>
<!-- end #content -->
<script src="js/printChapter.js" ></script>
<script src="js/chapters.js" ></script>
</body>
</html>