You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

121 lines
4.6 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|力软信息|快速开发平台|Learun敏捷开发框架</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/formselect/lr-formselect.css",
  21. "/Views/LR_Content/plugin/inputsearch/lr-isearch.css",
  22. "/Views/LR_Content/plugin/uploader/lr-uploader.css",
  23. "/Views/LR_Content/plugin/grid/jfgrid.css",
  24. "/Views/LR_Content/plugin/custmerform/lr-formdesigner.css",
  25. "/Views/LR_Content/plugin/date/lr-datepicker.css"
  26. )
  27. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  28. <script src="~/Content/jquery/jquery.md5.min.js"></script>
  29. <script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
  30. <script src="~/Content/laydate/laydate.js"></script>
  31. @*<script src="~/Content/datepicker/WdatePicker.js"></script>*@
  32. <!--[if lt IE 9]>
  33. <script src="~/Content/bootstrap/html5shiv.min.js"></script>
  34. <script src="~/Content/bootstrap/respond.min.js"></script>
  35. <![endif]-->
  36. <script>
  37. 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 "" };
  38. </script>
  39. </head>
  40. <body class="@Learun.Util.Net.Browser @Learun.Util.WebHelper.GetUITheme()">
  41. <div id="lr_form_bg" class="lr-form-bg">
  42. </div>
  43. @RenderBody()
  44. @Html.AppendJsFile(
  45. "/Views/LR_Content/plugin/resize/resize.js",
  46. "/Views/LR_Content/plugin/mousewheel/mousewheel.js",
  47. "/Views/LR_Content/plugin/scroll/scroll.js",
  48. "/Views/LR_Content/script/lr-validator.js",
  49. "/Views/LR_Content/script/lr-form.js",
  50. "/Views/LR_Content/plugin/wizard/wizard.js",
  51. "/Views/LR_Content/plugin/tree/lr-tree.js",
  52. "/Views/LR_Content/plugin/select/lr-select.js",
  53. "/Views/LR_Content/plugin/formselect/lr-formselect.js",
  54. "/Views/LR_Content/plugin/inputsearch/lr-isearch.js",
  55. "/Views/LR_Content/plugin/date/lr-datepicker.js",
  56. "/Views/LR_Content/plugin/uploader/lr-uploader.js",
  57. "/Views/LR_Content/plugin/grid/jfgrid.js",
  58. "/Views/LR_Content/plugin/custmerform/lr-formcomponts.js",
  59. "/Views/LR_Content/plugin/custmerform/lr-formrender.js"
  60. )
  61. <script src="~/Content/ueditor/ueditor.config.js"></script>
  62. <script src="~/Content/ueditor/ueditor.all.min.js"></script>
  63. <script src="~/Content/ueditor/lang/zh-cn/zh-cn.js"></script>
  64. <script>
  65. $.lrToken = $('@Html.AntiForgeryToken()').val();
  66. $(function () {
  67. $('#lr_form_bg').fadeOut();
  68. // 翻译指定标签
  69. $('.lrlg').each(function () {
  70. var $this = $(this);
  71. top.learun.language.get($this.text(), function (text) {
  72. $this.text(text);
  73. });
  74. });
  75. // 翻译表单标题
  76. $('.lr-form-item-title').each(function () {
  77. var $this = $(this);
  78. var $font = $this.find('font');
  79. $font.remove();
  80. top.learun.language.get($this.text(), function (text) {
  81. if ($font.length > 0) {
  82. $this.html(text + '<font face="宋体">*</font>');
  83. }
  84. else {
  85. $this.text(text);
  86. }
  87. });
  88. });
  89. // input placeholder 翻译
  90. $('input[placeholder]').each(function () {
  91. var $this = $(this);
  92. var _text = $this.attr('placeholder');
  93. top.learun.language.get(_text, function (text) {
  94. $this.attr('placeholder', text);
  95. });
  96. });
  97. if (!!window.bootstrap) {
  98. bootstrap(jQuery, top.learun);
  99. }
  100. });
  101. </script>
  102. </body>
  103. </html>