compound.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Insert title here</title>
  6. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  7. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  8. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  9. <style>
  10. table {font-size:15px;font-family:"微软雅黑"}
  11. table tr th{padding:10px; text-align:center;background:#eaeaea;color:#4e4e4e;font-size:15px;font-weight:bold;}
  12. table tr td{padding:5px 10px; text-align:center;}
  13. table tr td input{width:100%;height:30px;line-height:30px;outline:none;border:#ccc 1px solid;background:#fff;}
  14. </style>
  15. <script type="text/javascript">
  16. $(function(){
  17. $("#form1").ajaxForm({
  18. success: function(data) {
  19. if(data=="ok"){
  20. parent.location.reload();
  21. parent.layer.closeAll();
  22. }else{
  23. layer.msg(data);
  24. }
  25. }
  26. })
  27. })
  28. </script>
  29. </head>
  30. <body>
  31. <form name="form1" id="form1" action="${ctx}/myconsole/webinfo/compoundSave" method="post" style="margin:0 auto;display:block;width:90%;">
  32. <table width="100%" border="0">
  33. <tr><th>原标题</th><th>短标题</th><th>排序值</th></tr>
  34. <#list webs as web>
  35. <tr><td><span>${web.title}</span></td><td><input type="hidden" name="sourceKeyID" value="${web.keyid}"><input name="targetTitle" type="text"></td><td><input name="sortID" type="text"></td></tr>
  36. </#list>
  37. </table>
  38. <button type="submit" id="tj" style="background:#66a8e9;height:34px;line-height:34px;text-align:center;padding:0 30px;display:block;margin:15px auto;color:#fff;border:none;outline:none;font-size:14px;">提交</button>
  39. </form>
  40. </body>
  41. </html>