Skip to main content

Module: template/pdf/table

Variables

default

Const default: "<div class=\"container-fluid\">\n<%- it.entities.forEach((entity) => { %>\n<div class=\"container-fluid\">\n <h2 id=\"<%= entity.dbName %>-<%= entity.name %>\" class=\"title is-3\">\n <%= entity.dbName %>\n <small class=\"text-body-secondary\">(<%= entity.name %>)</small>\n </h2>\n\n <table class=\"table table-striped table-hover\">\n <thead>\n <tr>\n <th>Database Name</th>\n <th>Property Name</th>\n <th>Attribute</th>\n <th>Type</th>\n <th>Nullable</th>\n <th>Charset</th>\n <th>Comment</th>\n </tr>\n </thead>\n <tbody>\n <% entity.columns.forEach((column) => { -%><tr>\n <td><%= column.dbName %></td>\n <td><%= column.name %></td>\n <td><%= column.attributeKey.join(',') %></td>\n <td><%= column.columnTypeWithLength %></td>\n <td><%= column.isNullable ? 'Nullable' : '' %></td>\n <td><%= column.charset %></td>\n <td><%= column.comment %></td>\n </tr>\n <% }) %>\n </tbody>\n </table>\n <div class=\"mx-auto p-4\" style=\"width: 100%;\"></div>\n</div>\n<% }) -%>\n</div>"

Defined in

template/pdf/table.ts:1