Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

120 linhas
4.9 KiB

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="renderer" content="webkit">
  9. <link rel="icon" href="~/favicon.ico">
  10. <title>@ViewBag.Title</title>
  11. <link href="~/Content/font/css/font-awesome.min.css" rel="stylesheet" />
  12. <link href="~/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
  13. @Html.AppendCssFile(
  14. "/Views/LR_Content/style/lr-common.css",
  15. "/Views/LR_Content/plugin/scroll/scroll.css",
  16. "/Views/LR_Content/style/lr-iframe-form.css",
  17. "/Views/LR_Content/plugin/wizard/wizard.css",
  18. "/Views/LR_Content/plugin/tree/lr-tree.css",
  19. "/Views/LR_Content/plugin/select/lr-select.css",
  20. "/Views/LR_Content/plugin/timeline/lr-timeline.css",
  21. "/Views/LR_Content/plugin/formselect/lr-formselect.css",
  22. "/Views/LR_Content/plugin/inputsearch/lr-isearch.css",
  23. "/Views/LR_Content/plugin/grid/jfgrid.css",
  24. "/Views/LR_Content/plugin/custmerform/lr-formdesigner.css",
  25. "/Views/LR_Content/plugin/workflownew/lr-workflow-ui.css",
  26. "/Views/LR_Content/plugin/date/lr-datepicker.css",
  27. "/Views/LR_Content/plugin/uploader/lr-uploader.css"
  28. )
  29. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  30. <script src="~/Content/jquery/jquery.md5.min.js"></script>
  31. <script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
  32. <script src="~/Content/jquery/plugin/jqprint/jQuery.print.js"></script>
  33. <script src="~/Content/laydate/laydate.js"></script>
  34. <script src="~/Content/datepicker/WdatePicker.js"></script>
  35. <!--[if lt IE 9]>
  36. <script src="~/Content/bootstrap/html5shiv.min.js"></script>
  37. <script src="~/Content/bootstrap/respond.min.js"></script>
  38. <![endif]-->
  39. <script>
  40. function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
  41. </script>
  42. </head>
  43. <body class="@Learun.Util.Net.Browser @Learun.Util.WebHelper.GetUITheme()">
  44. <div id="lr_form_bg" class="lr-form-bg">
  45. </div>
  46. @RenderBody()
  47. @Html.AppendJsFile(
  48. "/Views/LR_Content/plugin/resize/resize.js",
  49. "/Views/LR_Content/plugin/mousewheel/mousewheel.js",
  50. "/Views/LR_Content/plugin/scroll/scroll.js",
  51. "/Views/LR_Content/script/lr-validator.js",
  52. "/Views/LR_Content/script/lr-form.js",
  53. "/Views/LR_Content/plugin/wizard/wizard.js",
  54. "/Views/LR_Content/plugin/tree/lr-tree.js",
  55. "/Views/LR_Content/plugin/select/lr-select.js",
  56. "/Views/LR_Content/plugin/timeline/lr-timeline.js",
  57. "/Views/LR_Content/plugin/timeline/lr-timelineEsc.js",
  58. "/Views/LR_Content/plugin/formselect/lr-formselect.js",
  59. "/Views/LR_Content/plugin/inputsearch/lr-isearch.js",
  60. "/Views/LR_Content/plugin/custmerform/lr-formcomponts.js",
  61. "/Views/LR_Content/plugin/custmerform/lr-formrender.js",
  62. "/Views/LR_Content/plugin/workflownew/lr-workflow-ui.js",
  63. "/Views/LR_Content/plugin/date/lr-datepicker.js",
  64. "/Views/LR_Content/plugin/uploader/lr-uploader.js",
  65. "/Views/LR_Content/plugin/grid/jfgrid.js"
  66. )
  67. <script src="~/Content/ueditor/ueditor.config.js"></script>
  68. <script src="~/Content/ueditor/ueditor.all.min.js"></script>
  69. <script src="~/Content/ueditor/lang/zh-cn/zh-cn.js"></script>
  70. <script>
  71. $.lrToken = $('@Html.AntiForgeryToken()').val();
  72. $(function () {
  73. $('#lr_form_bg').fadeOut();
  74. $('#form').lrscroll();
  75. // 翻译指定标签
  76. $('.lrlg').each(function () {
  77. var $this = $(this);
  78. top.learun.language.get($this.text(), function (text) {
  79. $this.text(text);
  80. });
  81. });
  82. // 翻译表单标题
  83. $('.lr-form-item-title').each(function () {
  84. var $this = $(this);
  85. var $font = $this.find('font');
  86. $font.remove();
  87. top.learun.language.get($this.text(), function (text) {
  88. if ($font.length > 0) {
  89. $this.html(text + '<font face="宋体">*</font>');
  90. }
  91. else {
  92. $this.text(text);
  93. }
  94. });
  95. });
  96. // input placeholder 翻译
  97. $('input[placeholder]').each(function () {
  98. var $this = $(this);
  99. var _text = $this.attr('placeholder');
  100. top.learun.language.get(_text, function (text) {
  101. $this.attr('placeholder', text);
  102. });
  103. });
  104. if (!!window.bootstrap) {
  105. bootstrap(jQuery, top.learun);
  106. }
  107. });
  108. </script>
  109. </body>
  110. </html>