update.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <filter><script src="../../lib/common.js"></script><script src="../../lib/jquery/jquery.min.js"></script></filter>
  5. <script class="include" system="" path="inc/" file="head">include()</script>
  6. </head>
  7. <body class="fixed-left">
  8. <!-- Begin page -->
  9. <div id="wrapper">
  10. <script class="include" system="" path="inc/" file="nav">include()</script>
  11. <script class="include" system="" path="inc/" file="menu">include()</script>
  12. <!-- ============================================================== -->
  13. <!-- Start right Content here -->
  14. <!-- ============================================================== -->
  15. <div class="content-page">
  16. <!-- Start content -->
  17. <div class="content">
  18. <style>
  19. .container_update #update_button button
  20. {
  21. margin-right: 5px;
  22. }
  23. .container_update #update_button
  24. {
  25. margin-top:20px;
  26. }
  27. .container_update .form-control
  28. {
  29. width: 50%;
  30. }
  31. .simditor img
  32. {
  33. width:100%;
  34. }
  35. .layui-tab-title {
  36. height: 100%;
  37. white-space: inherit;
  38. }
  39. </style>
  40. <div class="topbar">
  41. <div class="banner dever-layout" style="display:none;">
  42. <a target="_blank"><img src="#"></a>
  43. <span>项目名称</span>
  44. </div>
  45. </div>
  46. <div class="container container_update" id="content_1" style="display:none;"></div>
  47. <div class="container container_update" id="content_2">
  48. <!-- Page-Title -->
  49. <div class="row">
  50. <div class="col-sm-12">
  51. <ul class="nav navbar-nav navbar-left data-auth-top">
  52. <li class="dropdown">
  53. <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
  54. <span>project</span>
  55. </a>
  56. <ul class="dropdown-menu">
  57. <li><a href="javascript:;">Users</a></li>
  58. </ul>
  59. </li>
  60. </ul>
  61. <h4 class="pull-left page-title" id="list-name">General elements</h4>
  62. <ol class="breadcrumb pull-right">
  63. <li><a href="#dever_modal" data-toggle="modal" onclick="showMsg('数据结构', $(this), '#struct')" id="list-project">Home</a></li>
  64. <li class="active" id="list-desc">General elements</li>
  65. </ol>
  66. </div>
  67. </div>
  68. <form method="post" target="f1" class="form1" role="form" autocomplete="off">
  69. <input type="hidden" name="function" id="function" value="msg"/>
  70. <input type="hidden" name="url" id="url" />
  71. <input type="hidden" name="project" id="project" />
  72. <input type="hidden" name="table" id="table" />
  73. <input type="hidden" name="menu_id" id="menu_id" />
  74. <input type="hidden" name="update_where_id" id="update_where_id"/>
  75. <input type="hidden" name="copy_num" id="copy_num" value="0"/>
  76. <iframe id="f1" name="f1" style="display:none;"></iframe>
  77. <div class="row">
  78. <div class="col-sm-12">
  79. <div class="panel panel-border panel-primary">
  80. <div class="panel-heading">
  81. <h3 class="panel-title dever_desc" id="desc">更新数据</h3>
  82. <ul class="nav nav-tabs">
  83. <li class="active" style="display:none;"><a href="#data-1" data-toggle="tab">更新数据</a></li>
  84. <li><a href="javascript:;" class="dever_update_add">增加一条</a></li>
  85. <li><a href="javascript:;" class="dever_save" style="display:none;">您有保存到草稿箱的数据</a></li>
  86. </ul>
  87. </div>
  88. <div class="panel-body" id="myTabContent">
  89. <div class="tab-pane active in" id="data-1">
  90. <input type="hidden" name="update_where_id" id="update_where_id"/>
  91. <input type="hidden" name="copy_num" id="copy_num" value="0"/>
  92. <div id="content">
  93. <div class="form-group">
  94. <label class="col-md-2 control-label">Text</label>
  95. <div class="col-md-10">
  96. <input type="text" class="form-control" value="Some text value...">
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. <div class="list-toolbar" id="update_button">
  102. <button type="button" class="btn btn-primary save-data"><i class="fa fa-save"></i> 提交保存</button>
  103. <a href="#dever_modal" data-toggles="modal" class="btn btn-danger" onclick="msg({status:1,msg:'yes'})">放弃保存</a>
  104. </div>
  105. </div> <!-- panel-body -->
  106. </div> <!-- panel -->
  107. </div> <!-- col -->
  108. </div> <!-- End row -->
  109. </form>
  110. <div id="valid"></div>
  111. <div id="struct" style="display:none;"></div>
  112. <link rel="stylesheet" href="../script/lib/layui/admin/modules/plugin/formselects/formselects.css" media="all" />
  113. <style>
  114. .layui-input,.xm-select-parent
  115. {
  116. width: 50%;
  117. }
  118. </style>
  119. <script src="../script/lib/layui/admin/modules/plugin/formselects/formselects.js" type="text/javascript" charset="utf-8"></script>
  120. <script type="text/javascript" src="../script/lib/pic/holder.js"></script>
  121. <script>
  122. $(document).ready(function()
  123. {
  124. if (typeof(window.formSelects) != "undefined") {
  125. window.formSelects.render();
  126. }
  127. init();
  128. });
  129. </script>
  130. </div> <!-- container -->
  131. </div> <!-- content -->
  132. <script class="include" system="" path="inc/" file="foot">include()</script>
  133. </div>
  134. <!-- ============================================================== -->
  135. <!-- End Right content here -->
  136. <!-- ============================================================== -->
  137. <script class="include" system="" path="inc/" file="script">include()</script>
  138. </body>
  139. </html>