inbox.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <link href="__CDN__/assets/css/user/inbox.css?v={$Think.config.site.version|htmlentities}" rel="stylesheet">
  2. <div class="common-bg">
  3. <div class="common-font">
  4. My Inbox
  5. </div>
  6. </div>
  7. <div id="content-container" class="container">
  8. <div class="row">
  9. <div class="col-md-3">
  10. {include file="common/sidenav" /}
  11. </div>
  12. <div class="col-md-9">
  13. <div class="panel panel-default">
  14. <div class="panel-body">
  15. <h2 class="page-header">
  16. My Inbox
  17. </h2>
  18. <nav aria-label="breadcrumb">
  19. <ol class="breadcrumb">
  20. <li class="breadcrumb-item active" aria-current="page">Inbox</li>
  21. <li class="breadcrumb-item">
  22. <a href="{:url('user/unread')}">Unread</a>
  23. </li>
  24. </ol>
  25. </nav>
  26. <!-- 邮箱列表页 -->
  27. <div class="table-responsive">
  28. <table class="table inbox-table">
  29. <thead style="background: #FAFAFA;" class="thead">
  30. <tr>
  31. <th>Sender</th>
  32. <th>Content</th>
  33. <th>Creation time</th>
  34. <th>Status</th>
  35. <th>Operate</th>
  36. </tr>
  37. </thead>
  38. <tbody class="tbody">
  39. {foreach name="list" item="vo"}
  40. <tr>
  41. <td><a href="#">{$vo.user.nickname}</a></td>
  42. <td>{$vo.content}</td>
  43. <td>{$vo.createtime}</td>
  44. <td>{$vo.status}</td>
  45. <td>
  46. {if condition="$vo.status == 'Unread'"}
  47. <a href="javascript:;" data-id="{$vo.id}" id="read-button">READ</a>
  48. {/if}
  49. </td>
  50. </tr>
  51. {/foreach}
  52. </tbody>
  53. </table>
  54. </div>
  55. <!--@formatter:off-->
  56. <!-- S 分页栏 -->
  57. <div class="pager">
  58. {$list->render()}
  59. </div>
  60. <!-- E 分页栏 -->
  61. <!--@formatter:on-->
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>