Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f20e0b8b

Přidáno uživatelem Ondřej Anděl před více než 3 roky(ů)

Fix: merge-fix (all buttons in one td)

Zobrazit rozdíly:

application/model/DB.php
665 665
            $this->stmt = $this->pdo->prepare($query);
666 666
            $this->stmt->bindParam(':lemma_id', $lemma["id"], PDO::PARAM_INT);
667 667
            $this->stmt->execute();
668
        } TODO: fix lemma*/ 
668
        } TODO: fix lemma*/
669 669
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Tabulka dd_tag |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
670 670

  
671 671
        /*if (array_key_exists("tag", $_POST) && $_POST['tag'] != "") {
application/view/searchContent.php
614 614
                        result += "<td class=\"action-td\">" +
615 615
                            "<button class=\"btn mr-1\" title=\"Upravit\"  data-toggle=\"modal\" data-target=\"#edit-modal\" data-pseudo-id='" + id + "' data-title=\"Upravit záznam\"><i class=\"fa fa-pencil\"></i></button>" + //TODO ADMIN change , regular send report
616 616
                            "<button class=\"btn\" title=\"Detail\"  data-toggle=\"modal\" data-target=\"#detail-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-search\"></i></button>" +
617
                            "<button class=\"btn ml-1\" title=\"Odstranit\"  data-toggle=\"modal\" data-target=\"#remove-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-trash\"></i></button>" + //TODO ADMIN change , regular send report
617 618
                            "</td>";
618
                        result += "<td class=\"action-td\">" +
619
                            "<button class=\"btn\" title=\"Odstranit\"  data-toggle=\"modal\" data-target=\"#remove-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-trash\"></i></button>" +
620
                            "</td>"; //added button for removing entry
621 619
                        result += "</tr>";
622 620
                    });
623 621
                    document.getElementById("search-table").innerHTML = result;
application/view/style.css
64 64
  overflow: auto;
65 65
}
66 66

  
67
.app-content .content .search-results .action-td{
68
  width: 10%;
67
.app-content .content .search-results .action-td {
68
  width: 15%;
69 69
}
70 70

  
71 71
input, select {

Také k dispozici: Unified diff