69e3858e19fbec1927606376e58410d57af8d342.svn-base 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>覆冰监测--图标提示修改</title>
  7. <script type="text/javascript" src="/nwyj/scripts/business/em/icing/jquery-1.8.3.min.js"></script>
  8. <script type='text/javascript' src='/nwyj/scripts/cockpit/search/search_util.js'></script>
  9. <style type="text/css">
  10. #title_input{ width: 500px; height: 40px; margin: 70px 40px 0; line-height: 40px; font-size: 17px;}
  11. .btn_box{ margin: 30px auto 0; width: 200px; height: 44px;}
  12. .ut_btn{background-color: #f4f7f8;
  13. border: 1px solid #d3dbde; height: 45px; line-height: 27px;
  14. border-radius: 3px 3px 3px 3px; margin-top: -1px; margin-right: 20px;
  15. color: #000000; width: 80px; display: inline-block; cursor: pointer; text-align: center;}
  16. .ut_btn:hover{ background-color:#3c95c8; border: 1px solid #3c95c8; color: #ffffff;}
  17. </style>
  18. <script type="text/javascript">
  19. var su = new SearchUtil();
  20. var mid = null;
  21. $(function(){
  22. su = new SearchUtil();
  23. mid = su.resolveUrl().mid;
  24. });
  25. $(function(){
  26. $(".cancel_btn").on("click",function(){
  27. top.Dialog.close();
  28. });
  29. $(".ok_btn").on("click",function(){
  30. var ts = $.trim($("#title_input").val());
  31. window.parent.window.updateTitleByLine(mid, ts);
  32. top.Dialog.close();
  33. });
  34. });
  35. </script>
  36. </head>
  37. <body>
  38. <input type="text" id="title_input" />
  39. <div class="btn_box"><button class="ut_btn ok_btn">确定</button><button class="ut_btn cancel_btn">取消</button></div>
  40. </body>
  41. </html>