12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>{$row.name}</title>
- {include file="common/meta" /}
- </head>
- <style>
- /* 默认情况下,屏幕上显示 */
- .hide-on-print {
- display: block;
- text-align: right;
- margin-bottom: 20px;
- padding-top: 20px;
- }
- .table-bordered {
- border: 1px solid #ddd;
- }
- .panel-heading {
- padding: 10px 0px;
- }
- .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
- border: 1px solid #ddd;
- }
- /* 打印时隐藏 */
- @media print {
- .hide-on-print {
- display: none;
- }
- }
- </style>
- <body style="width: 760px;margin: 0 auto">
- <div class="hide-on-print">
- <button type="button" onclick="printPage()" class="btn btn-primary dropdown-toggle">打印</button>
- <button type="button" onclick="printPage()" class="btn btn-primary dropdown-toggle">导出PDF</button>
- </div>
- <table class="table table-striped table-bordered table-hover table-nowrap">
- <tr>
- <td>{:__('Name')}</td>
- <td>{$row.name}</td>
- </tr>
- <tr>
- <td>签到二维码</td>
- <td>
- <img width="200px" height="200px" src="{$row.sign_qrcode}">
- </td>
- </tr>
- <tr>
- <td>培训时间</td>
- <td>
- {$row.starttime|date="Y-m-d H:i",###} - {$row.endtime|date="Y-m-d H:i",###}
- </td>
- </tr>
- <tr>
- <td>签到时间</td>
- <td>
- {$row.sign_starttime|date="Y-m-d H:i",###} - {$row.sign_endtime|date="Y-m-d H:i",###}
- </td>
- </tr>
- <tr>
- <td>主讲人</td>
- <td>
- {$row.zhujiangren}
- </td>
- </tr>
- <tr>
- <td>评价二维码</td>
- <td>
- <img width="200px" height="200px" src="{$row.pingjia_qrcode}">
- </td>
- </tr>
- <tr>
- <td>评价人</td>
- <td>
- <span>{$pingjiaren}</span>
- </td>
- </tr>
- </table>
- {include file="common/script" /}
- </body>
- </html>
|