undo qso changes, will address those later

pull/3066/head
Patrick Burns 2024-04-07 14:16:55 -05:00
rodzic 6d7d5fb459
commit bfb39c0b1d
2 zmienionych plików z 2 dodań i 49 usunięć

Wyświetl plik

@ -422,7 +422,7 @@
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
<br>
<div style="display: inline-block;"><p class="editButton"><a class="btn btn-primary" href="javascript:qso_edit(<?php echo $row->COL_PRIMARY_KEY; ?>)"><i class="fas fa-edit"></i> <?php echo lang('qso_btn_edit_qso'); ?></a></p></div>
<div style="display: inline-block;"><p class="editButton"><a class="btn btn-primary" href="<?php echo site_url('qso/edit'); ?>/<?php echo $row->COL_PRIMARY_KEY; ?>" href="javascript:;"><i class="fas fa-edit"></i> <?php echo lang('qso_btn_edit_qso'); ?></a></p></div>
<div style="display: inline-block;"><form method="POST" action="<?php echo site_url('search'); ?>"><input type="hidden" value="<?php echo strtoupper($row->COL_CALL); ?>" name="callsign"><button class="btn btn-primary" type="submit"><i class="fas fa-eye"></i> <?php echo lang('general_more_qso'); ?></button></form></div>
<?php } ?>
@ -764,4 +764,4 @@ var callsign = "<?php echo $row->COL_CALL; ?>";
<div hidden id ='callsign'><?php echo $row->COL_CALL; ?></div>
<div hidden id ='qsoid'><?php echo $row->COL_PRIMARY_KEY; ?></div>
<?php } } ?>
<?php } } ?>

Wyświetl plik

@ -1,47 +0,0 @@
// describe("Post QSO Input Form", () => {
// beforeEach(() => {
// cy.login();
// });
// it("Submits a QSO", () => {
// cy.visit("index.php/qso?manual=1");
// cy.get('select[name="mode"]').select("USB");
// cy.get('select[name="band"]').select("20m");
// cy.get('#qso_input input[name="callsign"]').first().type("KS3CKC");
// // Submit the QSO
// cy.get("#qso_input").submit();
// // Check if the QSO was added to the log
// cy.visit("index.php/dashboard");
// cy.get("table > tbody > tr:first").within(() => {
// cy.get("td").eq(2).should("contain", "KS3CKC");
// cy.get("td").eq(3).should("contain", "USB");
// cy.get("td").eq(6).should("contain", "20m");
// });
// });
// it("Delete a QSO", () => {
// cy.visit("index.php/dashboard");
// // Click the link in the first row of the table to open the modal
// cy.get("table > tbody > tr:first").within(() => {
// cy.get("a").first().click();
// });
// // Click the "Edit QSO" button
// cy.get("a").contains("Edit QSO").should("be.visible").click();
// // Click the delete button
// cy.get("a")
// .contains("Delete QSO")
// .scrollIntoView()
// .should("be.visible")
// .click();
// // Click the confirm delete button
// cy.get("button").contains("OK").should("be.visible").click();
// });
// });