Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
avisilber88 authored Nov 9, 2024
1 parent bacb973 commit 7f538b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion picturepassmaker.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
<script src="picturepassmaker.js"></script>
<div id="dvImportSegments" class="fileupload">
<fieldset>
<legend style='font-size: xx-large'>Upload your Synergy, Canvas, or GroupMaker Export</legend>
<legend style='font-size: xx-large'>Upload your Synergy Schedule CSV</legend>
<input type="file" name="File Upload" style = 'font-size:xx-large' id="txtFileUpload" accept=".csv, .xlsx, .xls, XLS" />
</fieldset>
</div>
Expand Down
8 changes: 4 additions & 4 deletions picturepassmaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ link.click();
// document.getElementById("coefficientNumOne").innerHTML = "<input type='text' name='organicCompoundCoefficient' id = 'organicCompoundCoefficient' value='coefficient?'></input>"; //<font color= 'white'>";

var checkSections = function (data) {
document.getElementById('selectionsBox').innerHTML = "<div class = 'picksection' style = 'width:auto'><select id = 'sectionSelect' name = 'sectionSelect' style = 'font-size:large; width:auto; max-width:300px;'> <option value = 'cation1'> cation1 </option> <option value = 'cation2'> cation2 </option><option value = 'cation3'> cation3 </option><option value = 'cation4'> cation4 </option> </select> <button type ='button' id ='submitSection' style='font-size: xx-large'>Submit</button></div>";
document.getElementById('selectionsBox').innerHTML = "<div class = 'picksection' style = 'width:auto'>What Period do you want the passes delivered to?<br><select id = 'sectionSelect' name = 'sectionSelect' style = 'font-size:large; width:auto; max-width:300px;'> <option value = 'cation1'> cation1 </option> <option value = 'cation2'> cation2 </option><option value = 'cation3'> cation3 </option><option value = 'cation4'> cation4 </option> </select> <button type ='button' id ='submitSection' style='font-size: xx-large'>Submit</button></div>";
$('#sectionSelect').empty();

for (var i = 0; i < sectionArray.length; i++) {
Expand Down Expand Up @@ -1026,7 +1026,7 @@ link.click();
};

var checkSemester = function (data) {
document.getElementById('selectionsBox').innerHTML = "<div class = 'picksection' style = 'width:auto'><select id = 'sectionSelect' name = 'sectionSelect' style = 'font-size:large; width:auto; max-width:300px;'> <option value = 'cation1'> cation1 </option> <option value = 'cation2'> cation2 </option><option value = 'cation3'> cation3 </option><option value = 'cation4'> cation4 </option> </select> <button type ='button' id ='submitSection' style='font-size: xx-large'>Submit</button></div>";
document.getElementById('selectionsBox').innerHTML = "<div class = 'picksection' style = 'width:auto'>What Semester do you want?<br><select id = 'sectionSelect' name = 'sectionSelect' style = 'font-size:large; width:auto; max-width:300px;'> <option value = 'cation1'> cation1 </option> <option value = 'cation2'> cation2 </option><option value = 'cation3'> cation3 </option><option value = 'cation4'> cation4 </option> </select> <button type ='button' id ='submitSection' style='font-size: xx-large'>Submit</button></div>";
$('#sectionSelect').empty();

addSectionOption('S1');
Expand Down Expand Up @@ -1097,7 +1097,6 @@ addSectionOption('S2');
}
}


$('#submitAssignment').click(function () {
// alert ("hi");
// if (true){
Expand Down Expand Up @@ -1233,6 +1232,7 @@ addSectionOption('S2');
});

}
document.getElementById('submitAssignment').click();
if (apClassroom){
document.getElementById('submitAssignment').click();
}
Expand All @@ -1254,7 +1254,7 @@ addSectionOption('S2');
let timeName=document.getElementById("timeAnswer").value;

for (var i=0; i < passArray.length; i++){
tableWriter=tableWriter+'\n'+'<tr '+tableStyle+">"+'<td '+tableStyle+">"+"Dear "+passArray[i][0] +" please give this pass to "+passArray[i][1]+ " "+passArray[i][2]+" to take pictures for "+programName+" on " + dateName + " at " + timeName + "."+'</td></tr>';
tableWriter=tableWriter+'\n'+'<tr '+tableStyle+">"+'<td '+tableStyle+">"+"Dear "+passArray[i][0] +" please give this pass to "+passArray[i][1]+ " "+passArray[i][2]+" to take pictures for "+programName+" on " + dateName + " at " + timeName + " in the Auditorium."+ '</td></tr>';
console.warn("Dear "+passArray[i][0] +" please give this pass to "+passArray[i][1]+ " "+passArray[i][2]+" to take pictures on date ");
}
tableWriter=tableWriter+'</table>';
Expand Down

0 comments on commit 7f538b7

Please sign in to comment.