Commit f88c0b14 authored by Troy A. Griffitts's avatar Troy A. Griffitts

updated styles relating to Gospel parallells

parent 5a572574
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="org.crosswire.bishop" version="1.3.5" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <widget id="org.crosswire.bishop" version="1.4.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<name>Bishop</name> <name>Bishop</name>
<description> <description>
A Bible Study App from CrossWire A Bible Study App from CrossWire
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
<plugin name="cordova-plugin-whitelist" /> <plugin name="cordova-plugin-whitelist" />
<plugin name="com-darryncampbell-cordova-plugin-intent" /> <plugin name="com-darryncampbell-cordova-plugin-intent" />
<plugin name="cordova-plugin-add-swift-support" /> <plugin name="cordova-plugin-add-swift-support" />
<plugin name="cordova-plugin-crosswire-sword" />
<plugin name="cordova-plugin-splashscreen" /> <plugin name="cordova-plugin-splashscreen" />
<plugin name="phonegap-plugin-mobile-accessibility" /> <plugin name="phonegap-plugin-mobile-accessibility" />
<plugin name="com-sarriaroman-photoviewer" /> <plugin name="com-sarriaroman-photoviewer" />
......
...@@ -1030,6 +1030,9 @@ color:#1ff; ...@@ -1030,6 +1030,9 @@ color:#1ff;
.about { .about {
background-color: #111; background-color: #111;
} }
.popupDialog {
background-color: #111;
}
.about .crosswirelogo { .about .crosswirelogo {
background-color: #bbb; background-color: #bbb;
......
...@@ -1042,6 +1042,10 @@ table.clean tr.roweven { ...@@ -1042,6 +1042,10 @@ table.clean tr.roweven {
.about { .about {
background-color: #FFF; background-color: #FFF;
} }
.popupDialog {
background-color: #FFF;
}
.fnBodyLabel { .fnBodyLabel {
color: #0000FF; color: #0000FF;
} }
......
...@@ -1585,15 +1585,20 @@ console.log('**** looping sources'); ...@@ -1585,15 +1585,20 @@ console.log('**** looping sources');
}); });
}, },
showGospelParallel : function(osisRef) { showGospelParallel : function(osisRef) {
eusebian.getEusebianGospelsText(app.getCurrentMod1(), 0, osisRef, function(t) { eusebian.getEusebianGospelsText(app.getCurrentMod1(), 0, osisRef, function(text) {
t = '<div class="center">' + t; var t = '<div class="popupDialog">';
t += '<br/>';
t += '<br/>';
t += '<br/>';
t += '<br/>';
t += text;
t += '<br/>'; t += '<br/>';
t += '<br/>'; t += '<br/>';
t += '<br/>'; t += '<br/>';
t += '<br/>'; t += '<br/>';
t += '</div>'; t += '</div>';
app.popupShow(t); app.popupShow(t);
$('.center').click(function(){ $('#popup').click(function(){
app.popupHide(); app.popupHide();
}); });
}); });
......
...@@ -93,7 +93,7 @@ console.log('activeKey: ' + activeKey); ...@@ -93,7 +93,7 @@ console.log('activeKey: ' + activeKey);
var lang = activeModule.lang; var lang = activeModule.lang;
var rtol = activeModule.direction && 'RtoL'.toUpperCase() == activeModule.direction.toUpperCase(); var rtol = activeModule.direction && 'RtoL'.toUpperCase() == activeModule.direction.toUpperCase();
var t = ''; var t = '';
t += '<table style="margin:100px 10px 10px 10px; border-collapse:collapse;" class="'+ lang + '">'; t += '<table style="width:100%;" class="clean '+ lang + '">';
t += '<thead><tr>'; t += '<thead><tr>';
for (var j = 0; j < nums.length; ++j) { for (var j = 0; j < nums.length; ++j) {
var n = nums[j]; var n = nums[j];
...@@ -108,7 +108,7 @@ console.log('activeKey: ' + activeKey); ...@@ -108,7 +108,7 @@ console.log('activeKey: ' + activeKey);
if (n.trim().length < 1) return headerNums(++i, callback); if (n.trim().length < 1) return headerNums(++i, callback);
eusebian.eusNum.setKeyText(n.trim(), function() { eusebian.eusNum.setKeyText(n.trim(), function() {
eusebian.eusNum.getRenderText(function(detailsText) { eusebian.eusNum.getRenderText(function(detailsText) {
t += '<th>' + $(detailsText).attr('osisRef') + '</th>'; t += '<th style="width:'+(100/nums.length)+'%">' + $(detailsText).attr('osisRef') + '</th>';
return headerNums(++i, callback); return headerNums(++i, callback);
}); });
}); });
...@@ -124,8 +124,8 @@ console.log('activeKey: ' + activeKey); ...@@ -124,8 +124,8 @@ console.log('activeKey: ' + activeKey);
if (rtol) { if (rtol) {
t += '<bdo dir="rtl">'; t += '<bdo dir="rtl">';
} }
t += '<span class="' + ((currentKeyText == activeKey) ? 'currentverse' : 'verse') + '">'; t += '<span class="' + ((currentKeyText == activeKey) ? 'currentVerse' : 'verse') + '">';
t += '<span class="verseNum"><bdo dir="ltr"><a href="passagestudy.jsp?key=' + activeModule.getKeyText()+'#cv">' + vk.verse + '</a></bdo></span>' + v; t += '<span class="versenum"><bdo dir="ltr"><a href="javascript:void(0);">' + vk.verse + '</a></bdo></span>' + v + ' ';
if (rtol) { if (rtol) {
t += '</bdo>'; t += '</bdo>';
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment