Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

115 строки
4.5 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智慧校园|快速开发平台|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. <link href="~/Content/jquery/plugin/syntaxhighlighter/styles/shCoreDefault.css" rel="stylesheet" />
  14. @Html.AppendCssFile(
  15. "/Views/LR_Content/style/lr-common.css",
  16. "/Views/LR_Content/plugin/scroll/scroll.css",
  17. "/Views/LR_Content/style/lr-iframe-form.css",
  18. "/Views/LR_Content/plugin/wizard/wizard.css",
  19. "/Views/LR_Content/plugin/tree/lr-tree.css",
  20. "/Views/LR_Content/plugin/select/lr-select.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. )
  26. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  27. <script src="~/Content/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
  28. <script src="~/Content/datepicker/WdatePicker.js"></script>
  29. <script src="~/Content/jquery/plugin/syntaxhighlighter/Scripts/shCore.js"></script>
  30. <script src="~/Content/jquery/plugin/syntaxhighlighter/Scripts/shBrushCSharp.js"></script>
  31. <script src="~/Content/jquery/plugin/syntaxhighlighter/Scripts/shBrushJScript.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"></div>
  42. @RenderBody()
  43. @Html.AppendJsFile(
  44. "/Views/LR_Content/plugin/resize/resize.js",
  45. "/Views/LR_Content/plugin/mousewheel/mousewheel.js",
  46. "/Views/LR_Content/plugin/scroll/scroll.js",
  47. "/Views/LR_Content/script/lr-validator.js",
  48. "/Views/LR_Content/script/lr-form.js",
  49. "/Views/LR_Content/plugin/wizard/wizard.js",
  50. "/Views/LR_Content/plugin/tree/lr-tree.js",
  51. "/Views/LR_Content/plugin/select/lr-select.js",
  52. "/Views/LR_Content/plugin/formselect/lr-formselect.js",
  53. "/Views/LR_Content/plugin/inputsearch/lr-isearch.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. // 翻译指定标签
  62. $('.lrlg').each(function () {
  63. var $this = $(this);
  64. top.learun.language.get($this.text(), function (text) {
  65. $this.text(text);
  66. });
  67. });
  68. // 翻译表单标题
  69. $('.lr-form-item-title').each(function () {
  70. var $this = $(this);
  71. var $font = $this.find('font');
  72. $font.remove();
  73. top.learun.language.get($this.text(), function (text) {
  74. if ($font.length > 0) {
  75. $this.html(text + '<font face="宋体">*</font>');
  76. }
  77. else {
  78. $this.text(text);
  79. }
  80. });
  81. });
  82. // input placeholder 翻译
  83. $('input[placeholder]').each(function () {
  84. var $this = $(this);
  85. var _text = $this.attr('placeholder');
  86. top.learun.language.get(_text, function (text) {
  87. $this.attr('placeholder', text);
  88. });
  89. });
  90. if (!!window.bootstrap) {
  91. bootstrap(jQuery, top.learun);
  92. }
  93. $('#lr_form_bg').fadeOut();
  94. });
  95. </script>
  96. </body>
  97. </html>