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.
 
 
 
 
 
 

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