Skip to content

Commit 08cbbe2

Browse files
committed
feat: Add links to S&S alpha editor
1 parent 14a041c commit 08cbbe2

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

psalmtone.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
<div style="float:right;margin-left:8px" class="btn-group hide-cordova" role="group">
132132
<a class='btn btn-xs btn-primary' href='#' id='lnkPdfDirect'>PDF</a>
133133
<a class='btn btn-xs btn-default' href='#' id='lnkPdf'>Further PDF options</a>
134+
<a class='btn btn-xs btn-info' href='#' id='lnkPdfAlpha'>S&S Editor</a>
134135
</div>
135136
</div>
136137
<table class="bordered"><tr class="bordered"><td><label for="selTones">Tone: </label><select id="selTones"></select><select id="selEnd"></select><input type="checkbox" id="cbSolemn" name="solemn"/><label for="cbSolemn">Solemn Tone</label>

psalmtone.html.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,13 @@ $(function() {
883883
}
884884
$('#pdfForm').attr('action','https://www.sourceandsummit.com/editor/legacy/#' + encodeURI(result)).submit();
885885
});
886+
$('#lnkPdfAlpha').click(function(e){
887+
var result=getGabc();
888+
if(e && typeof(e.preventDefault)=="function"){
889+
e.preventDefault();
890+
}
891+
$('#pdfForm').attr('action','https://www.sourceandsummit.com/editor/alpha/#' + encodeURI(result)).submit();
892+
});
886893
$('#lnkPdfDirect').click(function(e){
887894
var gabcs=[gabcReplace(getGabc())];
888895
if(e && typeof(e.preventDefault)=="function"){

readings.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
<div style="float:right;margin-left:8px" class="btn-group hide-cordova" role="group">
120120
<a class='btn btn-xs btn-primary' href='#' id='lnkPdfDirect'>PDF</a>
121121
<a class='btn btn-xs btn-default' href='#' id='lnkPdf'>Further PDF options</a>
122+
<a class='btn btn-xs btn-info' href='#' id='lnkPdfAlpha'>S&S Editor</a>
122123
</div>
123124
</div>
124125
<table class="bordered"><tr class="bordered"><td><label for="selTones">Tone: </label><select id="selTones"></select><input type="checkbox" id="cbSolemn" name="solemn"/><label for="cbSolemn">Solemn Tone</label>

readings.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,13 @@ $(function() {
696696
}
697697
$('#pdfForm').attr('action','https://www.sourceandsummit.com/editor/legacy/#' + encodeURI(result)).submit();
698698
});
699+
$('#lnkPdfAlpha').click(function(e){
700+
var result=getGabc();
701+
if(e && typeof(e.preventDefault)=="function"){
702+
e.preventDefault();
703+
}
704+
$('#pdfForm').attr('action','https://www.sourceandsummit.com/editor/alpha/#' + encodeURI(result)).submit();
705+
});
699706
$('#lnkPdfDirect').click(function(e){
700707
var gabcs=[getGabc()];
701708
if(e && typeof(e.preventDefault)=="function"){

transcriber.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
<div style="float:right;margin-left:8px" class="btn-group hide-cordova" role="group">
114114
<a class='btn btn-xs btn-primary' href='#' id='lnkPdfDirect'>PDF</a>
115115
<a class='btn btn-xs btn-default' href='#' id='lnkPdf'>Further PDF options</a>
116+
<a class='btn btn-xs btn-info' href='#' id='lnkPdfAlpha'>S&S Editor</a>
116117
</div>
117118
</div>
118119
<div style="width:100%;text-align:center;padding-bottom:4pt"><a href="#" id="lnkToggleMode">Show integrated GABC</a></div>

transcriber.html.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,13 @@ $(function() {
667667
}
668668
$('#pdfForm').attr('action','https://www.sourceandsummit.com/editor/legacy/#' + encodeURI(result)).submit();
669669
});
670+
$('#lnkPdfAlpha').click(function(e){
671+
var result=getGabc();
672+
if(e && typeof(e.preventDefault)=="function"){
673+
e.preventDefault();
674+
}
675+
$('#pdfForm').attr('action','https://www.sourceandsummit.com/editor/alpha/#' + encodeURI(result)).submit();
676+
});
670677
$('#lnkPdfDirect').click(function(e){
671678
var gabcs=[getGabc()];
672679
if(e && typeof(e.preventDefault)=="function"){

0 commit comments

Comments
 (0)