update.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <{include file='../public/admin_header.html'}>
  2. <{include file='../public/admin_navi.html'}>
  3. <!-- Right side column. Contains the navbar and content of the page -->
  4. <aside class="right-side">
  5. <!-- Content Header (Page header) -->
  6. <section class="content-header">
  7. <h1>
  8. 修改邮件模板
  9. <small>Control panel</small>
  10. </h1>
  11. <ol class="breadcrumb">
  12. <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  13. <li class="active">Blank page</li>
  14. </ol>
  15. </section>
  16. <!-- Main content -->
  17. <section class="content">
  18. <div class="span9">
  19. <{if $info}>
  20. <div class="alert alert-danger alert-dismissable"><{$info}></div>
  21. <{/if}>
  22. <div id='main' class="form-actions">
  23. <form method="post" action="" >
  24. <input type="hidden" name="id" value="<{$id}>" />
  25. <table class="table table-bordered" style="margin-top:15px;">
  26. <tr>
  27. <td>模板标题</td>
  28. <td>
  29. <input type="text" name="msg_title" class="form-control" style="width:450px;" value="<{$one_info.msg_title}>" />
  30. </td>
  31. </tr>
  32. <!--<tr>-->
  33. <!--<td>模板内容</td>-->
  34. <!--<td>-->
  35. <!--<div>-->
  36. <!--<textarea name="msg_content" id="msg_content" style="height: 255px; width: 30%; "><{$one_info.msg_content}></textarea>-->
  37. <!--</div>-->
  38. <!--</td>-->
  39. <!--</tr>-->
  40. <tr>
  41. <td>模板内容</td>
  42. <td>
  43. <div class='box-body pad'>
  44. <textarea id="msg_content" name="msg_content" rows="80" cols="80">
  45. <{$one_info.msg_content}>
  46. </textarea>
  47. </div>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td>状态</td>
  52. <td>
  53. <input type="radio" name="status" value="1" <{if $one_info.status==1}>checked<{/if}> >&nbsp;开启
  54. <input type="radio" name="status" value="2" <{if $one_info.status==2}>checked<{/if}> >&nbsp;禁用
  55. </td>
  56. </tr>
  57. <tr>
  58. <td>&nbsp;</td>
  59. <td >
  60. <input type="submit" value="提交" class="btn btn-info" style="width:120px;" />
  61. </td>
  62. </tr>
  63. </table>
  64. </form>
  65. </div>
  66. </div>
  67. </section><!-- /.content -->
  68. </aside><!-- /.right-side -->
  69. </div><!-- ./wrapper -->
  70. <!-- CK Editor -->
  71. <script src="static/AdminLTE/js/plugins/ckeditor/ckeditor.js" type="text/javascript"></script>
  72. <script type="text/javascript">
  73. $(function() {
  74. // Replace the <textarea id="msg_content"> with a CKEditor
  75. // instance, using default configuration.
  76. CKEDITOR.replace( 'msg_content', { allowedContent: true});
  77. CKEDITOR.replace('msg_content');
  78. //bootstrap WYSIHTML5 - text editor
  79. $(".textarea").wysihtml5();
  80. });
  81. </script>
  82. <style>
  83. select{height:30px;}
  84. .form-actions li{list-style:none;width:25px;float:left;padding-bottom:8px;padding-right:5px;}
  85. </style>
  86. <script>
  87. $('#treeview4').addClass('active');
  88. $(".email_template_left").addClass('active');
  89. </script>
  90. </body>
  91. </html>