:::

8-5-4 優化操作流程

您沒有觀看影片的權限

您沒有觀看影片的權限

請先登入,登入後,確認您的權限後,即可觀看影片。

  1. 修改 templates\op_tad_signup_actions_index.tpl 活動列表畫面,簡化之
  2. 將「匯出HTML」也移至 templates\op_tad_signup_actions_show.tpl
  3. 並將相同性質的按鈕組合在一起,如:影片中匯出HTML按鈕的連結有誤,請將 ?id=<{$action.id}> 改為 ?id=<{$id}>
    <div class="bar">
        <a href="javascript:del_action('<{$id}>')" class="btn btn-danger"><i class="fa fa-times" aria-hidden="true"></i> 刪除活動</a>
        <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_actions_edit&id=<{$id}>" class="btn btn-warning"><i class="fa fa-pencil" aria-hidden="true"></i> 編輯活動</a>
        <a href="<{$xoops_url}>/modules/tad_signup/html.php?id=<{$id}>" class="btn btn-primary"><i class="fa fa-html5" aria-hidden="true"></i> 匯出 HTML</a>
    
        <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_data_pdf_setup&id=<{$id}>" class="btn btn-info"><i class="fa fa-save" aria-hidden="true"></i> 產生簽到表</a>
    
        <div class="btn-group" role="group" aria-label="Basic example">
            <a href="#" class="btn btn-secondary"><i class="fa fa-file-text-o" aria-hidden="true"></i> 匯出報名名單:</a>
            <a href="<{$xoops_url}>/modules/tad_signup/csv.php?id=<{$id}>&type=signup" class="btn btn-primary"><i class="fa fa-file-text-o" aria-hidden="true"></i> CSV</a>
            <a href="<{$xoops_url}>/modules/tad_signup/excel.php?id=<{$id}>&type=signup" class="btn btn-success"><i class="fa fa-file-excel-o" aria-hidden="true"></i> Excel</a>
            <a href="<{$xoops_url}>/modules/tad_signup/pdf.php?id=<{$id}>" class="btn btn-danger"><i class="fa fa-file-pdf-o" aria-hidden="true"></i> PDF</a>
        </div>
    </div>

     

  4. 表格標題一律加上 nowrap 屬性,避免換行
  5. 功能表部份也可以加上 nowrap 屬性,避免換行,如:
    <table class="table table-bordered">
        <thead>
            <tr class="bg-info white">
                <th class="c" nowrap>活動名稱</th>
                <th class="c" nowrap>活動日期</th>
                <th class="c" nowrap>報名截止日</th>
                <th class="c" nowrap>已報名人數</th>
                <th class="c" nowrap>功能</th>
            </tr>
        </thead>
        <!--略-->
    </table>

     

link to https://github.com/tadlearn/tad_signup/commit/7f8c96c559a0381811793fdc1c9c9116689762c4 \


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D48%26tbdsn%3D1786

書籍目錄

展開 | 闔起

線上使用者

127人線上 (6人在瀏覽線上書籍)

會員: 0

訪客: 127

更多…