Sha256: 06dcb799f641d22825a910e55fafd197635b4b245bb43f2b3c4d6355090210b2

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

function tableHTML(tableName,tableX,tableY) {
  return `<div class='card' id='tbl-${newTableID}' style='top:${tableY}px;left:${tableX}px;'>` +
    "<div class='card-header'>" +
      '<i class="fa fa-arrows" aria-hidden="true"></i>' +
      "<h4 class='card-title table-title' data-toggle='popover' data-trigger='hover' data-content='Edit table name'>" +
        `${tableName}` +
      "</h4>" +
      "<div class='table-nav-buttons'>" +
        "<i class='fa fa-plus-square' data-toggle='popover' data-trigger='hover' data-content='Add column'></i>" +
        "<i class='fa fa-trash' data-toggle='popover' data-trigger='hover' data-content='Destroy table'></i>" +
      "</div>" +
    "</div>" +
    "<div class='card-block'>" +
      "<ul class='list-group'>" +
        "<li class='list-group-item' >" +
          "<span class='tag tag-default float-xs-left type-span'>integer</span>" +
          "<div class='column-title-outer' >" +
            "<span class='column-title' >id</span>" +
          "</div>" +
        "</li>" +
      "</ul>" +
    "</div>" +
  "</div>"
};

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
active-designer-1.1.7 lib/active_designer/public/js/schema/table-html.js
active_designer-0.0.0 lib/active_designer/public/js/schema/table-html.js