25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

128 lines
5.1 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" />
  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. <meta name="viewport" content="width=device-width, initial-scale=1" />
  10. <link rel="icon" href="~/favicon.ico">
  11. <title>@ViewBag.Title|力软信息|快速开发平台|Learun敏捷开发框架</title>
  12. <link href="~/Content/pace/pace-theme-minimal.css" rel="stylesheet" />
  13. <link href="~/Content/font/css/font-awesome.min.css" rel="stylesheet" />
  14. <link href="~/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
  15. <script src="~/Content/pace/pace.min.js"></script>
  16. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  17. <script src="~/Content/bootstrap/bootstrap.min.js"></script>
  18. <script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
  19. <script src="~/Content/vue/vue.js"></script>
  20. <script src="~/Content/vue/vue-resource.js"></script>
  21. @Html.AppendCssFile(
  22. "/Views/LR_Content/style/lr-common.css",
  23. "/Views/LR_Content/plugin/scroll/scroll.css",
  24. "/Views/LR_Content/style/lr-iframe-index.css",
  25. "/Views/LR_Content/plugin/layout/lr-layout.css",
  26. "/Views/LR_Content/plugin/tree/lr-tree.css",
  27. "/Views/LR_Content/plugin/select/lr-select.css",
  28. "/Views/LR_Content/plugin/timeline/lr-timeline.css",
  29. "/Views/LR_Content/plugin/formselect/lr-formselect.css",
  30. "/Views/LR_Content/plugin/custmerquery/lr-custmerquery.css",
  31. "/Views/LR_Content/plugin/date/lr-datepicker.css",
  32. "/Views/LR_Content/plugin/grid/jfgrid.css"
  33. )
  34. <script src="~/Content/laydate/laydate.js"></script>
  35. @*<script src="~/Content/datepicker/WdatePicker.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. $.lrToken = $('@Html.AntiForgeryToken()').val();
  42. 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 "" };
  43. </script>
  44. @Html.SetCurrentUrl()
  45. </head>
  46. <body class="@Learun.Util.Net.Browser @Learun.Util.WebHelper.GetUITheme()">
  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/plugin/layout/lr-layout.js",
  53. "/Views/LR_Content/plugin/tree/lr-tree.js",
  54. "/Views/LR_Content/plugin/select/lr-select.js",
  55. "/Views/LR_Content/plugin/timeline/lr-timeline.js",
  56. "/Views/LR_Content/plugin/timeline/lr-timelineEsc.js",
  57. "/Views/LR_Content/plugin/formselect/lr-formselect.js",
  58. "/Views/LR_Content/plugin/custmerquery/lr-custmerquery.js",
  59. "/Views/LR_Content/plugin/date/lr-datepicker.js",
  60. "/Views/LR_Content/script/lr-validator.js",
  61. "/Views/LR_Content/script/lr-authorize.js",
  62. "/Views/LR_Content/script/lr-excel.js",
  63. "/Views/LR_Content/script/lr-form.js",
  64. "/Views/LR_Content/plugin/grid/jfgrid.js"
  65. )
  66. <script>
  67. $(function () {
  68. $('#lr_layout').lrLayout();
  69. // 翻译指定标签
  70. $('.lrlg').each(function () {
  71. var $this = $(this);
  72. top.learun.language.get($this.text(), function (text) {
  73. $this.text(text);
  74. });
  75. });
  76. // 翻译表单标题
  77. $('.lr-form-item-title').each(function () {
  78. var $this = $(this);
  79. var $font = $this.find('font');
  80. $font.remove();
  81. top.learun.language.get($this.text(), function (text) {
  82. if ($font.length > 0) {
  83. $this.html(text + '<font face="宋体">*</font>');
  84. }
  85. else {
  86. $this.text(text);
  87. }
  88. });
  89. });
  90. // input placeholder 翻译
  91. $('input[placeholder]').each(function () {
  92. var $this = $(this);
  93. var _text = $this.attr('placeholder');
  94. top.learun.language.get(_text, function (text) {
  95. $this.attr('placeholder', text);
  96. });
  97. });
  98. top.learun.httpAsync('GET', top.$.rootUrl + '/LR_SystemModule/Module/GetAuthorizeButtonColumnList', { url: lrCurrentUrl }, function (data) {
  99. lrModuleButtonList = data.btns;
  100. lrModuleColumnList = data.cols;
  101. lrModule = data.module;
  102. window.lrModuleForms = data.forms;
  103. if (!!window.bootstrap) {
  104. bootstrap(jQuery, top.learun);
  105. }
  106. });
  107. });
  108. </script>
  109. </body>
  110. </html>