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'?>
<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>
<description>
A Bible Study App from CrossWire
......@@ -60,7 +60,6 @@
<plugin name="cordova-plugin-whitelist" />
<plugin name="com-darryncampbell-cordova-plugin-intent" />
<plugin name="cordova-plugin-add-swift-support" />
<plugin name="cordova-plugin-crosswire-sword" />
<plugin name="cordova-plugin-splashscreen" />
<plugin name="phonegap-plugin-mobile-accessibility" />
<plugin name="com-sarriaroman-photoviewer" />
......
......@@ -1030,6 +1030,9 @@ color:#1ff;
.about {
background-color: #111;
}
.popupDialog {
background-color: #111;
}
.about .crosswirelogo {
background-color: #bbb;
......
......@@ -1042,6 +1042,10 @@ table.clean tr.roweven {
.about {
background-color: #FFF;
}
.popupDialog {
background-color: #FFF;
}
.fnBodyLabel {
color: #0000FF;
}
......
......@@ -1585,15 +1585,20 @@ console.log('**** looping sources');
});
},
showGospelParallel : function(osisRef) {
eusebian.getEusebianGospelsText(app.getCurrentMod1(), 0, osisRef, function(t) {
t = '<div class="center">' + t;
eusebian.getEusebianGospelsText(app.getCurrentMod1(), 0, osisRef, function(text) {
var t = '<div class="popupDialog">';
t += '<br/>';
t += '<br/>';
t += '<br/>';
t += '<br/>';
t += text;
t += '<br/>';
t += '<br/>';
t += '<br/>';
t += '<br/>';
t += '</div>';
app.popupShow(t);
$('.center').click(function(){
$('#popup').click(function(){
app.popupHide();
});
});
......
......@@ -93,7 +93,7 @@ console.log('activeKey: ' + activeKey);
var lang = activeModule.lang;
var rtol = activeModule.direction && 'RtoL'.toUpperCase() == activeModule.direction.toUpperCase();
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>';
for (var j = 0; j < nums.length; ++j) {
var n = nums[j];
......@@ -108,7 +108,7 @@ console.log('activeKey: ' + activeKey);
if (n.trim().length < 1) return headerNums(++i, callback);
eusebian.eusNum.setKeyText(n.trim(), function() {
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);
});
});
......@@ -124,8 +124,8 @@ console.log('activeKey: ' + activeKey);
if (rtol) {
t += '<bdo dir="rtl">';
}
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="' + ((currentKeyText == activeKey) ? 'currentVerse' : 'verse') + '">';
t += '<span class="versenum"><bdo dir="ltr"><a href="javascript:void(0);">' + vk.verse + '</a></bdo></span>' + v + ' ';
if (rtol) {
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