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.
 
 
 
 
 
 

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