39a09b8d2177c54bcb20c5bc7f564905c53ec860.svn-base 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!-- 模态框(Modal) -->
  2. <div class="modal small fade" id="maze_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  3. <div class="modal-dialog">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  7. <h3 id="maze_modal_title">提示信息</h3>
  8. </div>
  9. <div class="modal-body" id="maze_modal_body">
  10. <p class="error-text"><i class="fa fa-warning modal-icon"></i>Are you sure you want to delete the user?<br>This cannot be undone.</p>
  11. </div>
  12. <div class="modal-footer">
  13. <button class="btn btn-default" id="maze_modal_no" data-dismiss="modal" aria-hidden="true">取消</button>
  14. <button class="btn btn-danger" id="maze_modal_yes" data-dismiss="modal">确定</button>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <!--[if (gte IE 9)|!(IE)]><!-->
  20. <script type="text/javascript" src="../lib/jquery/jquery.min.js"></script>
  21. <script type="text/javascript" src="../lib/jquery/store.js"></script>
  22. <script type="text/javascript" src="../lib/bootstrap/js/bootstrap.min.js"></script>
  23. <!--<![endif]-->
  24. <!-- 加载百度编辑器 -->
  25. <script type="text/javascript" src="../lib/editor/ueditor.config.js"></script>
  26. <script type="text/javascript" src="../lib/editor/ueditor.all.min.js"></script>
  27. <!-- 加载上传组件 -->
  28. <script type="text/javascript" src="../lib/upload/js/jquery.uploadify.min.js"></script>
  29. <script type="text/javascript" src="../lib/upload/js/upload.js"></script>
  30. <!-- 加载另外一个上传组件 这个更好一些,不过暂时先用uploadify吧-->
  31. <!--
  32. <script type="text/javascript" src="../lib/upload/plupload.full.min.js"></script>
  33. <script type="text/javascript" src="../lib/upload/service/upload.js"></script>
  34. -->
  35. <!-- 加载时间控件,用了这么多,还是my97好用... -->
  36. <script type="text/javascript" src="../lib/date/WdatePicker.js"></script>
  37. <!-- 加载valid -->
  38. <script type="text/javascript" src="../lib/valid/jquery.validationEngine.min.js"></script>
  39. <script type="text/javascript" src="../lib/main.js"></script>
  40. <script type="text/javascript">
  41. $("[rel=tooltip]").tooltip();
  42. $(function() {
  43. $('.demo-cancel-click').click(function(){return false;});
  44. });
  45. $(function() {
  46. var match = document.cookie.match(new RegExp('color=([^;]+)'));
  47. if(match) var color = match[1];
  48. if(color) {
  49. $('body').removeClass(function (index, css) {
  50. return (css.match (/\btheme-\S+/g) || []).join(' ')
  51. })
  52. $('body').addClass('theme-' + color);
  53. }
  54. $('[data-popover="true"]').popover({html: true});
  55. });
  56. $(function() {
  57. var uls = $('.sidebar-nav > ul > *').clone();
  58. uls.addClass('visible-xs');
  59. $('#main-menu').append(uls.clone());
  60. });
  61. </script>